Usage of Refinery for axes converter

Hello,

I have some trouble with Collada axes.

In 3DSMax, I have build a rectangle of 101020 (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 :


   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 :


   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

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

Thank you,

I will wait the resolution.

Aurélien