Sign in to follow this  

multianimation sample with own meshes

Recommended Posts

As the topic says I'm trying to use my own meshes in the DX SDK sample multianimation.

The mesh appears for one frame, then it disappears. It appears to be because of

D3DXMatrixMultiply( &pFrame->TransformationMatrix,
pmxBase );

in AnimationInstance.cpp

As I read in a thread here it doesn't reset to the original value but it multiplies by itself so if the value is (0,0,2) then it gets (0,0,4) (0,0,8) (0,0,16) and so on

How can I adjust this function to work properly with my mesh?

In the thread I read the author said he had to inverse the multiplication to undo the changes but how?

The search function isn't working now so I cant find the thread, but I'll update this post as soon as I've found it.

Edit: This is the thread i mentioned

I would appreciate if somebody could help me.

Thanks, Ritti

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