[PyOpenGL-Users] Re: [PyOpenGL-Devel] rotation problem
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2003-11-15 09:41:30
|
You'll want to push and pop a matrix stack to do rotation. You can find demo code for glPushMatrix linked here: http://pyopengl.sourceforge.net/documentation/manual/glPushMatrix.3G.xml BTW, most OpenGL tutorials, such as the red book or NeHe will cover matrix-stack manipulations. HTH, Mike Drishti Integra wrote: > hi, > > 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 http://members.rogers.com/mcfletch/ |