XSI plugin TRS issue

Hi,

I am implementing a COLLADA importer that will mainly be used to import XSI scenes into my engine. I’m actually working on skinning/joints import, and it seems that transform nodes are not exported correctly. I’ve done a simple test : export my test model from XSI to COLLADA and import it back into XSI. The joints hierarchy looks the same that in my engine : bad. My feeling is that it seems to be a “rotation order” problem or something like that, but I’ve read the XSI COLLADA exporter/importer sources, and all seems to be… very simple and clear… don’t understand why it doesn’t work.

Any idea ? :frowning:

Hi,

simple skinning export/import seems to work for me, here’s how I’ve created a scene that export/import fine in XSI:

CreatePrim "Cylinder", "MeshSurface"
GetPrim "Null"
GetPrim "Null"
Translate , 0, 2, 0, siAbsolute, siPivot, siObj, siY, , , , , , , , , , 0
GetPrim "Null"
Translate , 0, -2, 0, siAbsolute, siPivot, siObj, siY, , , , , , , , , , 0
SelectObj "null"
CopyPaste "null", , "null1", 1
SelectObj "null2"
CopyPaste "null2", , "null", 1
SelectObj "cylinder"
ApplyFlexEnv "cylinder;null1,null,null2", False, 0
SelectObj "null1", "BRANCH"
Rotate , 0, 0, 45, siAbsolute, siPivot, siObj, siZ, , , , , , , , 0
SelectObj "null", "BRANCH"
Rotate , 0, 0, 45, siAbsolute, siPivot, siObj, siZ, , , , , , , , 0
SelectObj "null2"
Rotate , 0, 0, 45, siAbsolute, siPivot, siObj, siZ, , , , , , , , 0

could you send a script that builds a scene where you can reproduce this problem.

thx!
LB