You'll want to push and pop a matrix stack to do rotation. You can find
demo code for glPushMatrix linked here:
BTW, most OpenGL tutorials, such as the red book or NeHe will cover
Drishti Integra wrote:
> i am a newbee to pyopengl.
> would be very kind if any one can guide me for the following:
> i am trying to rotate a few objects using glRotate(). but this seems
> to rotate the whole coordinates system as well as any lightings i have
> used. is there a way to rotate only objects and not the coordinate
> system and lights.
> thanks and regards
Mike C. Fletcher
Designer, VR Plumber, Coder
Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more. Download now.