Archived

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

How to rotate a 3d object about a given axis in D3DRM?

This topic is 5706 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 built a 3d object by loading a X file in D3DRM. and I want to rotate the object about a given axis but not its local axis or world axis. i don''t know how to achieve it. i wrote the program by visual basic 6.0. Any help will be appreciated!!!

Share this post


Link to post
Share on other sites
i have to use d3drm since i want to control the animation in the scene in real time.
can i define the given axis as local axis in 3dmax then translate it to x file to achieve the rotation?
i did so yesterday, but my 3d object which is made up of three parts was separated in the scene.

Share this post


Link to post
Share on other sites
Then you would want to use ''immediate mode'' not ''retained mode''

Magmai Kai Holmlor

"Oh, like you''ve never written buggy code" - Lee

[Look for information | GDNet Start Here | GDNet Search Tool | GDNet FAQ | MSDN RTF[L] | SGI STL Docs | STFW | Asking Smart Questions ]

[Free C++ Libraries | Boost | ACE | Loki | MTL | Blitz++ ]

Shamelessly ripped from Oluseyi

Share this post


Link to post
Share on other sites