Allocation and release of GLUquadricObj!

Are the gluNewQuadric and gluDeleteQuadric rendering-context-dependent? Should them be called only after wglMakeCurrent(*, *)?

Moreover, can one GLUquadricObj be used to render many different objects,such as
gluSphere(ob, …);
gluCylinder(ob, …); //‘ob’ is the same


[This message has been edited by jxruan (edited 08-29-2001).]

Hi !

You can allocate one and use it for all rendering as long as you don’t change the attributes.

As far as I know you can allocate it at any time, it’s just a structure that keeps some information about the current attributes.


[This message has been edited by mikael_aronsson (edited 08-30-2001).]