• Advertisement
Sign in to follow this  

Collada skinning implement

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