View Full Version : OpenGL Cubes

02-02-2001, 10:26 AM
how do i create a simple cube using opengl...i noticed there is no function for a cube...do i use discs? i tried using a cylinder and boy that does not work...help here...thanks

02-02-2001, 11:35 AM
I assume you are using gluDisk for the disk? If you're using glut, you could use glutSolidCube. Or just build the vertices yourself and don't use the glu/glut stuff for it. A cube isn't that hard.

02-02-2001, 02:41 PM
You can always just create 6 squares in the form of a cube. I think that is the best way to make a cube.