Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

how to do a sphere with display list

4: Adsense

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   

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 ?




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.