OpenGL Screencast 6 - Drawing in 3D part 1 - GLUT objects
published onIn this screencast, I discuss drawing in 3D using GLUT objects. I also show how to add a menu in GLUT.
Functions used include: glutCreateMenu(), glutAddMenuEntry(), glutAttachMenu(), glRasterPos3d(), glutWireSphere(), glutSolidSphere(), glutWireCube(), glutSolidCube(), glutWireCone(), glutSolidCone(), glutWireTorus(), glutSolidTorus(), glutWireIcosahedron(), glutSolidIcosahedron(), glutWireOctahedron(), glutSolidOctahedron(), glutWireTetrahedron(), glutSolidTetrahedron(), glutWireDodecahedron(), glutSolidDodecahedron(), glutWireTeapot(), glutSolidTeapot()
The code is available to download on Github
Download the screencast, 20.7 MB .mov
Watch the Screencast
Code
Try modifying objSlices and objStacks to see how the objects change!
Questions? E-mail me: this domain AT gmail DOT com