Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / getting vertex weight data out of fbx
  RSS 2.0 ATOM  

getting vertex weight data out of fbx
Rate this thread
 
52457
 
Permlink of this thread  
avatar
  • xytor
  • Posted: 17 February 2011 01:40 PM
  • Total Posts: 12
  • Joined: 02 November 2010 07:46 PM

Hi, I was under the impression that the KFbxMesh::GetControlPoints() array was indexed by the KFbxCluster::GetControlPointIndices() of every cluster. For example, cluster->GetControlPointIndices()(i) would be the index into the mesh->GetControlPoints() array for the cluster->GetControlPointWeights()(i) weight. Am I wrong?

edit: replaced index brackets with parenthases



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

You are right.
The control points indexes in cluster are indexes of control points of mesh.

Author: Jiayang Xu

Replied: 17 February 2011 06:51 PM  
avatar
  • xytor
  • Posted: 18 February 2011 08:47 AM

Thanks, then something else must be the problem…
Is the node pointer returned by KFbxCluster::GetLink() the same pointer throughout the program? For example, If I extracted the skeleton data earlier in the program, and then used GetLink() to find the matching bone, would that work?



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

Sure it will work.
That’s what GetLink() is supposed to do. :)

If you notice anything abnormal, please let us know.

Author: Jiayang Xu

Replied: 20 February 2011 02:27 PM