Hi,
I’ve a 3D object which is transformed correctly (I believe) to be rotated
by keeping the co-ordinate axis fixed. Please let me know how to do this.
Any information related to this is appreciated.
Thanks.
Hi,
I’ve a 3D object which is transformed correctly (I believe) to be rotated
by keeping the co-ordinate axis fixed. Please let me know how to do this.
Any information related to this is appreciated.
Thanks.
Hello
Not sure if I get you right here, but you want to translate an object, then rotate it about it’s own local coordinate system?
If so, you have to FIRST rotate, THEN translate. Like this.
glRotatef(insert_rotation_here);
glTranslatef(insert_translation_here);
Bob