|
Thanks for the answer!
I actually took a bit of time at home yesterday on my MB2009 and realized that it worked indeed.
So that problem is a Motionbuilder7.5 bug , my mistake.
But still, after trying in MB2009 it couldn’t be used as VertexGet() only returns the ‘stance pose’ position of the vertex, it doesn’t use the deformations.
After reading a few threads on someone willing to create a point cache too I saw this FBFastTessellator thing.
They were using a code like that :
float* lVertexArray = lTessellator->GetPositionArray() ; FBMatrix lMatrix( lTessellator->GetTransformationMatrix()) ;
But as you can see this is C++ and unfortunately neither GetPositionArray() nor GetTransformationMatrix() methods seem to exist in Python. Kinda makes sense I guess.
This morning I asked myself if I could take this ‘stance pose’ vertex position, then using the skinning weights and bones transformations calculating the position of the vertex… But that’s redoing the skinning job… but maybe I’ll try.
I’ll first check if I can correctly recover the skinning weights, the rest should be some matrix multiplications… oh boy, I’m so bad at those!
Thanks!
|