Advertisement

quadratics in pre-compiled lists?

Started by April 24, 2003 12:19 PM
1 comment, last by BEEF2200 21 years, 10 months ago
I know that pre-comiling a certain object makes your program run a lot faster but can anyone tell me how to pre-compile a quadratic (ex. sphere/cylinder)???? TTFN BEEF
just like any other DL. just star DL, draw quadratic and end DL.

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
Advertisement
You will need to make different display lists for each of the quadric objects...

listID = glGenList(1);

glNewList(listID, GL_COMPILE);
gluSphere(....);
glEndList();

This topic is closed to new replies.

Advertisement