Report as inappropriate.
This scenario has two render modes: A "quick render" mode, which has no Z-buffering, and a "real render" mode, which includes Z-buffering and potentially shaders, but is quite slow.
The "quick render" mode is based on BuilderBoy's code in his rasterizer. I will be working out Z-buffering sometime in the very distant future :P
The "real render" mode is far from complete. Right now it merely assigns color based on distance from camera.
-Use the mouse to rotate
-Use W,S,Q,E to rotate the CAMERA (note: it is possible while in quick render mode to accidentally rotate the camera in such a way that it cannot see the cube.)
-Use Arrow Keys to move the camera on the XY plane
The controls for the "real" mode are quite difficult, so I apologize for that.
Thanks again to BuilderBoy for his point projection code(It would have taken me months to figure out where mine had failed!)
8298 views / 624 in the last 7 days
7 votes | 0 in the last 7 days
This scenario is a member of: 3D