Jump to content
  • Advertisement


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


Vertex Weights Driving Me Nuts

This topic is 5353 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''m trying to render a Neverwinter Nights 3D Model. It uses skinned meshes in spots. I render everything fine except these. Basically my problem is I have no idea what the mathematics are for skinning with interpolation between 2 bones. I know I''m supposed to use the matrices from both based on the weighting. My shader I created isn''t right though. Can someone give me an idea of the math behind skinning? From what I read it''s this: for(each bone in influence) { vtemp = position * bone_matrix; // WHICH MATRICES THOUGH? TOTAL? vout += vtemp * weight; } That doesn''t seem right to me. I have no clue if it''s only the local bone transformation or the total transformation up to that bone or what. Someone save me endless hours of headaches, please.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!