Simple P4 Demo

This is meant to show you what a simple version of the program should look like - it's not meant for you to look at my code (you should do better!).

Each square's triangles are subtly different colors (so you can see how the cube is triangulated).

Notice how the painter's algorithm messes up sometimes (since this is not splitting triangles - it simply uses the average of the triangle's Z coordinates).


WireFrame
No Sort