Jump to content
  • Advertisement


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


how to do a sphere with display list

This topic is 6819 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 use the code below : FR=glGenLists(1); glNewList(FR,GL_COMPILE); gluSphere(quadratic,1.3f,32,32); glEndList(); i added this in glinit : quadratic=gluNewQuadric(); gluQuadricNormals(quadratic, GLU_SMOOTH); gluQuadricTexture(quadratic, GL_TRUE); and i declared this : GLuint FR; GLUquadricObj *quadratic; all is okay if i draw the sphere directly in drawglscene; but it hangs if i do this in display list. what can i do ?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!