Archived

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

gluSphere

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

Recommended Posts

a simple question about gluSphere:am i right that the sphere is always drawn around (0,0,0) unless i use translatef ? but how can i the position them in a scene rotating with gltranslatef (if i want more than one..) ? i´m sure its easy but i can´t see it !

Share on other sites
nobody ? no sphere without translatef ?
no way to draw more than one sphere and still have an axis to draw around ?
or may i draw another sphere in an other way ?

Share on other sites

  glPushMatrix();// translate it// draw itglPopMatrix();

or

  // translate it by [x, y, z]// draw it// translate it by [-x, -y, -z]

Share on other sites
thx,this is what i was looking for.