Stars 002
Wed, Aug 16, 2017I doubt I will post every day, but this is a summary of the progress (commit dfe0df2) made so far:
It turns out rendering two objects is a lot harder than rendering one. You have to switch to a different context (vertex buffer) each time you draw a shape.
I also converted the while-loop design of the game to an async pony behaviour that repeatedly calls itself. This lets the garbage collector run in between renderings and the game run on multiple cores.
Blender
Lastly, I went from zero knowledge of blender to the following, taught by the talented daughter of the family I’m staying with!
My goal is to parse the .obj
file that blender can export and then render it within
Stars
. Hopefully, this will allow for complicated characters and animations.
The most immediate step, however, is to render and shade a cube. Fingers crossed for tomorrow!