Results 1 to 3 of 3

Thread: Usage of Refinery for axes converter

  1. #1
    Junior Member
    Join Date
    Mar 2006
    Posts
    21

    Usage of Refinery for axes converter

    Hello,

    I have some trouble with Collada axes.

    In 3DSMax, I have build a rectangle of 10*10*20 (20 in up) that start at the origin. I skinned this rectangle with 3 bones in the up axis.
    - First : 0
    - Second : 10
    - Third : 20

    I have exported this model with the new collada plugin. It created a model with the Z_UP axis.

    So, I use Refinery to convert into Y_UP axis. The geometries coords are well converted (I draw it without applying vertex blending).

    But I think that the bone's matrix (nodes of type "JOIN") are not well converted. I have :

    Code :
       Before			After
     0  -1   0  0		 0  -1  0  0
     0   0  -1  0		-1   0  0  0
     1   0   0  0		 0   0 -1  0
     0   0   0  1		 0   0  0  1
     
     1   0   0  10		1   0  0  10
     0   1   0  0		 0   0 -1  0
     0   0   1  0		 0   1  0  0 
     0   0   0  1		 0   0  0  1
     
     1   0   0  10		1   0  0  10
     0   1   0  0		 0   0 -1  0
     0   0   1  0		 0   1  0  0 
     0   0   0  1		 0   0  0  1

    The bind shape matrix is style at the identity matrix
    And the bind pose are same too :

    Code :
       Before			After
     0   0   1  0		 0   0  1  0
    -1   0   0  0		-1   0  0  0 
     0  -1   0  0		 0  -1  0  0 
     0   0   0  1		 0   0  0  1
     
     0   0   1 -10		 0   0  1 -10
    -1   0   0  0 		-1   0  0  0
     0  -1   0  0		 0  -1  0  0 
     0   0   0  1		 0   0  0  1
     
     0   0   1 -20		 0   0  1 -20
    -1   0   0  0		-1   0  0  0
     0  -1   0  0		 0  -1  0 -0
     0   0   0  1		 0   0  0  1

    It seems to still have variation on the X axis and now, the bones matrix are not coherent with the geometry positions, so by applying vertex blending, my rendered rectangle is not just a rectangle with wrong orientation, but a shape which seems to nothing...

    Have I a wrong utilisation of Refinery ? Do I have to add a new transformation in the pipeline ?


    Thank you very much.

    Aurelien

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: Usage of Refinery for axes converter

    I think this is related to a known bug in the Refinery and was already reported to sourceforge.

    http://sourceforge.net/tracker/index.ph ... tid=886114

  3. #3
    Junior Member
    Join Date
    Mar 2006
    Posts
    21

    Re: Usage of Refinery for axes converter

    Thank you,

    I will wait the resolution.

    Aurélien

Posting Permissions

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