Many Triangles

Check this out. This is a screenshot of my MEDA302 coursework.

It is a program that allows you to create a 3D object given a profile. The coursework part one required the display of a 3D object on a screen, however it also specified that we weren’t alowed to use a 3D API like OpenGL. The drawing had to be done using 2D tools i.e. drawing lots of triangles in the right places. I used SDL_gfx.

For the screenshot below I really cranked up the rendering and drew the rotated shape with 60 segments giving 960 polygons!


Comments