I'm thinking about making a vector graphics 3d game for the PICO-8 so I coded up a little demo. The 11 lines refers to the _DRAW() function for the pedants out there. :)
This is probably terrible in some way as I don't know much about 3d rendering, I just worked out the equations from a little background knowledge and some trig. Seems to work ok as long as you don't pass through the viewing plane (possibly the wrong term for what I'm thinking of).
This is pretty cool. I took a lot of 3D graphics classes in college, and can probably help you understand 3D stuff if you want a small introduction. Typically it's handled with matrices multiplied together. Rotation is fairly complicated, but matrix multiplication the best way if you want to be able to apply the same transformation to multiple objects, or have hierarchical transformations (like an arm that rotates with a elbow with another point of rotation)
[Please log in to post a comment]