Jump to content
  • Advertisement
Sign in to follow this  

MS3D File loading, Need help

This topic is 2811 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 am writing a loader for MS3D for my game and require help, I can more than easly load the data in (basic file IO ) but I dont understand what the Mesh Transformations mean and what data I have loaded (as far as Animation is concerned).

So here is my question: How do i get animation out of a MS3D file?

Here is a link to the spec: http://chumbalum.swissquake.ch/ms3d/ms3dspec.txt

And the Bit I dont understand:

// Mesh Transformation:
// 0. Build the transformation matrices from the rotation and position
// 1. Multiply the vertices by the inverse of local reference matrix (lmatrix0)
// 2. then translate the result by (lmatrix0 * keyFramesTrans)
// 3. then multiply the result by (lmatrix0 * keyFramesRot)
// For normals skip step 2.

So, How do i do [0], What is [1] ect...


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!