Archived

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

Mesh Rotation

This topic is 5981 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

How do u rotate or doing anykind of manipulation on mesh which is alleready loaded. Aren''t there somekinda wrapper function that does it all ??

Share this post


Link to post
Share on other sites
G''day!

You rotate meshes the same way you rotate any polygons you want to draw, by setting the World Matrix. D3DX has a number of functions that help you build the matrices.

If you need help with the basics of rotation, scaling, and translation check out my web site (www.drunkenhyena.com, or just click my sig).


Stay Casual,

Ken
Drunken Hyena

Share this post


Link to post
Share on other sites
well,

1) get a pointer to the vertex buffer of the mesh .
2) lock the buffer ..
3) transform the vertex''s in the buffer.
4) unlock the buffer.

its quite easy.. i think there is a tutorial
in the sdk for locking and unlocking ..



{ Stating the obvious never helped any situation !! }

Share this post


Link to post
Share on other sites