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!
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!
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