New games every week!
Failed Attempt Blog
10th December 2018
I spent most of yesterday struggling to get the Pixelart2STL tool to have a lovely 3D WebGL representation of the model, so that I can then upgrade the tool to allow for monochrome extruded models like the original .exe does.



-=-=-

The attempt was mostly a failure.
I say mostly, but one little stumbling block tripped me up, and everything fell apart from there.

Today I'll likely reattempt what I did, and see if I can manage it a little better.
I have, at the very least, formed what I *think* is a good 3D-Model representation of the pixelart. I can filter through the arrays and draw the pixelart directly to the screen myself,

The wireframe image above is me manually rotating all the co-ords, and drawing the pixelart lines using standard 2D canvas instructions.
.. As you can guess, this is rather slow!!
The better option is to turn it all into a WebGL thing, but the stumbling block is that, without the standard 2D canvas, I don't appear to be able to to extract the original pixelart's image data.

Today I'll be looking into, either making use of the WebGL canvas to do that, or alternatively hiding a 2D canvas somewhere on the screen to do that bit separately.

From there, I need to find the quickest way to get it to render hundreds/thousands of cubes..

Hopefully today goes a little better than yesterday did!!

Meanwhile


For yesterday's "Emergency Content", then, I posted a quick 3DS Theme.


Pogo The Fridge now unexpectedly has a theme!

3DS_PogoTheFridge_Theme (.zip) or grab it from ThemePlaza
Views 51, Upvotes 2  
Daily Blog
New games every week!
Site credits : Jayenkai, one crazy fool who has far too much time on his hands.
(c) Jayenkai 2023 and onwards, RSS feed

Blog - Failed Attempt - AGameAWeek