Your vertex array doesn’t match the diagram - for example, the array starts at index 0, so your array’s point 0 at [-1, 0, 0] corresponds to the point labeled 1 in the diagram. It looks like the face definitions use the diagram’s index numbers, but then end up referring to the points from the array which are at different locations.
1 Like
Got it to render to correctly. Thanks! BTW, your 3D render code is documented really well. Thank you.
1 Like
I tried the 3D cubes on my Meowbit, and it works great! It gets around 30 fps.
2 Likes