C481 B581 Computer Graphics
Dana Vrajitoru

Complex Geometrical Objects in OpenGL

Quadric Objects in GLU Quadric Primitives
void gluSphere( GLUquadricObj *quadobj, GLdouble radius, GLint slices, GLint stacks );
void gluCylinder( GLUquadricObj *quadobj, GLdouble baseRadius, GLdouble topRadius, GLdouble height, GLint slices, GLint stacks );
void gluDisk( GLUquadricObj *quadobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops );
void gluPartialDisk( GLUquadricObj *quadobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops, GLdouble startAngle, GLdouble sweepAngle );

A cylinder and a disk.

Complex Objects in GLUT
glutSolidSphere(radius, slices,  stacks);
glutWireSphere(...);
The objects can be Cube, Cone, Torus, Dodecahedron, Octahedron, Tetrahedron, Icosahedron, Teapot,
Documentation for each of them can be found at
http://www.openGL.org/

The teapot and a dodecaedron