gluSphere

Started by
2 comments, last by LongJohn 21 years, 3 months ago
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 !
Advertisement
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 ?

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


or


  // translate it by [x, y, z]// draw it// translate it by [-x, -y, -z]  
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
thx,this is what i was looking for.

This topic is closed to new replies.

Advertisement