FbxAMatrix values returned from GetNodeLocalTransform

FbxAMatrix values returned from GetNodeLocalTransform

Anonymous
Not applicable
344 Views
0 Replies
Message 1 of 1

FbxAMatrix values returned from GetNodeLocalTransform

Anonymous
Not applicable

Hi,

 

i am checking FbxViewer 2010 source using fbxsdk 2014.1 to understand skinning computations, and comparing the matrix returned from GetNodeLocalTransform of a bone node (inputting a very simple skinned box with 3 bones, ascii file) in the 

 

FBXImportExport::SetNodeProperties(...

{

.

.

.

FbxAMatrix orientedPosition = GetLocalTransform(pNode);

.

.

.

}

 

with the same call in my

code:

 

my code output this matrix

 

6.1232339957370717e-017
0.00000000000000000
1.0000000000000500
0.00000000000000000
-4.1723251342774316e-007
1.0000000000000229
2.5548123103474536e-023
0.00000000000000000
-1.0000000000000229
-4.1723251342774316e-007
6.1232339957369053e-017
0.00000000000000000
20.000000000000000
-20.000000000000000
0.00000000000000000
1.0000000000000000

 

while FbxViewer source output these

 

6.1232337285479985e-017
-7.8886090448629648e-031
1.0000000000000500
0.00000000000000000
-4.1723251342777874e-007
1.0000000000001099
2.5548121988677029e-023
0.00000000000000000
-1.0000000000001099
-4.1723251342777874e-007
6.1232337285483658e-017
0.00000000000000000
20.000000000000000
-20.000000000000000
0.00000000000000000
1.0000000000000000

 

as you can see, results are quite different, but why?

 

i checked in project properties and there aren't optimizations, project properties are the same.

 

maybe can be something other, but i can't deal with this, so can you help me on that?

 

EDIT: all projects link the same libfbxsdk-md.lib

 

thank you

 

0 Likes
345 Views
0 Replies
Replies (0)