Basic questions
Ok, I am just starting with opengl...On the site, I can''t figure out how to use opengl to make a sphere. I heard something about using glut to do this, but I don''t know how to use glut. Also, I think I heard that glut can be used to make a cube easily, instead of using the way where you have to type in the coordinates for each face.
Thanks for the help!
February 16, 2002 05:46 PM
I believe you''re looking for the glu* commands, which are a part of GLU, not GLUT
. There are commands in GLU for making cubes, spheres and some more shapes. I don''t have a link here, but look for functions starting with glu... Hope it helps!

Cross platform window creation and input abstraction, among other things.


February 16, 2002 05:59 PM
Read about these functions in MSDN:
gluNewQuadric()
gluDeleteQuadric()
gluSphere()
gluNewQuadric()
gluDeleteQuadric()
gluSphere()
February 17, 2002 01:30 AM
or you could just use the aux library , but most of ya will proberbly say the aux library sucks eh?
try this auxSolidSphere(1.0f);
then maybe look at the aux header file...... it has all sorts of functions for predefined shapes.
try this auxSolidSphere(1.0f);
then maybe look at the aux header file...... it has all sorts of functions for predefined shapes.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement