rotating meshes problem...
Hi,
I''m reading a 3d object from a file I created. This object is made of 4 different meshes. I''m trying to rotate the object, but all the 4 meshes rotate individually, instead of making a whole rotating object. Why?
Any help?
Thanks
Because GL transformations are always applied locally. To rotate an object about the origin, for example, you need to first translate it by its negative translation, then rotate it, then reapply its original translation.
Geocyte Has Committed Suicide.
Geocyte Has Committed Suicide.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement