Archived

This topic is now archived and is closed to further replies.

Rotating objects

This topic is 5018 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using opengl but I guess this question applies to general 3D graphics. If I want to draw an object rotated in opengl, what's the best way to do this? I'm now trying to first translate the camera to the object, then rotate the camera, and then translate the camera back to it's original position... but I'm not sure if this is the good way. It confuses me too. What's generally used? Thanks. [edited by - Boops on March 22, 2004 6:08:16 PM]

Share this post


Link to post
Share on other sites
I know that the method in DirectX is to create the object in question then apply a matrix to it and rotate it in world space.

As far as i know this appears to leave the camera alone.

Take Care

Ace

Share this post


Link to post
Share on other sites