This is an improved version of an old cart of mine.
Added : better face sorting, perspective projection, lighting and a teapot model.
You're free to suggest improvements. In particular, due to the way I render triangles, there are occasional holes between faces.
If you speak French and wish to learn about how was is made, here is a document with some explanations. Even if you don't speak French, I've included links to helpful English resources about 3D rendering.
Controls:
- Left/Right: rotate Y
- Up/Down: rotate X
- C/X: rotate Z
- S/F: change FOV
- E/D: move object in z direction
- Tab: hide help text
- P: more options:
- Change displayed object: donut/teapot
- Toggle multi-colored faces/dynamic lighting
- Toggle automatic spin
[Please log in to post a comment]