PDA

View Full Version : available primitives



curmudgeon42
12-05-2003, 06:41 PM
i am taking an intro to OpenGL class which uses openGL, GLU, and GLUT. i know that GLUT and GLU provide several primitives, such as glutSolidSphere, and gluDisk (or something like that). however, i have been unable to find a list of all of the primitives available in these libraries. i need more primitives than what we've covered in class in order to do my final project. is there a difinitive list out there? are there libraries available that add more primitives?

thanks,

justin

mikael_aronsson
12-05-2003, 11:13 PM
What kind of primitives do you need ?

The glut and glu docs contain a complete list of all the primitives they support, what more do you need ?
http://linas.org/gle/ might be of interest.

Mikael

nexusone
12-06-2003, 03:45 AM
Look at the main page of this webside under documenation, they have PDF files both

GLU PDF here: http://www.opengl.org/resources/libraries/glx.html

GLUT PDF here: http://www.opengl.org/resources/libraries/glut.html


Originally posted by curmudgeon42:
i am taking an intro to OpenGL class which uses openGL, GLU, and GLUT. i know that GLUT and GLU provide several primitives, such as glutSolidSphere, and gluDisk (or something like that). however, i have been unable to find a list of all of the primitives available in these libraries. i need more primitives than what we've covered in class in order to do my final project. is there a difinitive list out there? are there libraries available that add more primitives?

thanks,

justin



[This message has been edited by nexusone (edited 12-06-2003).]

curmudgeon42
12-06-2003, 07:25 AM
so GLU provides a disk, a sphere, and a cylinder. GLUT provides a cube, a sphere, a torus, a teapot, and a couple others that i'm forgetting right now. and that's it? i can accept that.

i was hoping for things like half of a sphere (i.e. a dome), a tube (which i see that GLE does), and like cones, pyramids, frustums, etc.

but if i can't get em, i guess i'll live and make em myself :-)

thanks,

justin