gluSphere
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 !
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 ?
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]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement