Sign in to follow this  

MS3D File loading, Need help

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:

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this