View Full Version : is this possible?
05-15-2002, 06:18 AM
i want to draw quadratic objects using compiled vertex arrays. everything i have seen thus far uses a function glDrawElement() which draws gl_points,gl_line,gl_triange,etc. how can i draw quadrtic objects , i.e. spheres, so that it is fast and efficient? thanks for the help Incus.
05-15-2002, 07:49 AM
You can try putting the quadratic into a display list, although I am not sure if this will help.
If you want to use vertex arrays, you'll have to generate the vertex and face information yourself, perhaps look at the glu source from mesa.
05-15-2002, 08:01 PM
That's because there aren't any quadric primitives in OpenGL. Everything is made up of points, lines and triangles. That's all the GLU quadric routines do....
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.