Results 1 to 2 of 2

Thread: XSI plugin TRS issue

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    3

    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 ?

  2. #2
    Guest
    Hi,

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

    Code :
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •