Wednesday, November 3, 2010

Different shapes using OpenGL

I also wrote code for drawing some 3D shapes in OpenGL. I didn't know about lighting then so didn't give normal attribute to the vertices of these shapes. I rendered them in wire frame else they won't be visible.
I wrote code for cylinder, sphere, ellipse, cube, cuboid, paraboloid, cone, cylinder, pyramid, etc. shapes.
This is a picture of Helix I rendered. Writing code for it was a little difficult than others.
Thanx to KP(Kunal Patel) for helping me out in drawing many of these shapes.


Post a Comment

Subscribe to Post Comments [Atom]

<< Home