View Full Version : OpenGL Cubes
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, 12:35 PM
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, 03: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.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.