Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

drstrangeluv

OpenGL Efficiency of Quadric Functions in OpenGL

This topic is 6750 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering how efficient are the quadric functions built into OpenGL (gluSphere, gluCylinder, etc.) and should I be using them to draw primitives for a game?

Share this post


Link to post
Share on other sites
Advertisement
I think that they are good for tutorials or simple applications. But for games would I prefere creating your own objects with the glVertex or a similar commmand.
-This gives you control over every vertex of your world and that can be usefull for animation, texture mapping, texture animation and special effects.
-You can then create quite simple code to save and load the position,color and texture coördinaat of every vertex in or from a file.
-You are not forced to use the standart forms and you can create every form you can imagine.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!