Jump to content
  • Advertisement
Sign in to follow this  

Collada skinning implement

This topic is 2997 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 guys

I am trying to implement skinning with Collada,here is the source code,

http://18ejdq.blu.livefilestore.com/y1p ... oad&psid=1
http://cid-2f2a55eaad2be759.office.live ... ollada.rar

I have read influence joints and skinning weights and bind pose matrices,

in the file AnimationMesh.cpp,Render function I try to do skinning

here are steps how I skin

1st. get right matrix for each bone's final matrix

for each bones
boneMatrix[BoneID] = BoneWorldTransform*BoneBindPoseMatrix;

for each drawing primitive index vertex
for each influence bone index
transform vertex position by influence boneMatrix and multiply skinning weight

render all vertex with new position

but the result is totally wrong even I just apply bind pose matrix,it still wrong...

can someone please tell me which step is wrong?thanks.

I also posted in Collada Forum(there is code segments here)


Share this post

Link to post
Share on other sites
Search this website (using the search box in the upper-righthand corner of this page). There are a couple of discussions on collada format implementations, at least one in detail.

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.

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!