Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

how to do a sphere with display list


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Androme   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 April 2000 - 10:25 PM

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 ?

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS