Jump to content
  • Advertisement
Sign in to follow this  
Raeldor

Quick Skinned Mesh Question

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

Hi All, If I have a skinned mesh with bones, and animation data containing rotation data for the bones, where is the information held to move the vertices attached to the bone to the origin of the mesh before rotating them? Is this why there is an initial pose? Does the initial pose contain the position of the origin of the bone? Does this mean I have to use the inverse of the initial pose multiplied by the rotation from the animation set and then multiplied again by the initial pose in order to transform the vertices attached to the bone? Is that why there is initial pose data, or is there another reason? Thanks! Rael

Share this post


Link to post
Share on other sites
Advertisement
You are correct. That is the reason for the initial pose. In order to animate a vertex you must transform it in to bone space. That is done by transforming the vertex in the initial pose by the inverse of the bones in the initial pose.

Share this post


Link to post
Share on other sites
Quote:
Original post by JohnBolton
You are correct. That is the reason for the initial pose. In order to animate a vertex you must transform it in to bone space. That is done by transforming the vertex in the initial pose by the inverse of the bones in the initial pose.


Awesome, thank you for clarifying.

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!