Page MenuHome

COLLADA Node Transform
Open, NormalPublic

Description

I think Blender exports COLLADA matrix incorrectly in some cases
maybe it is related OpenCOLLADA directly I don't know yet

I created a scene with a sphere and cube, then I scaled cube (ScaleY) a bit
then I added sphere as child of cube, everythings looks normal in Blender
So cube is scaled and sphere is not and sphere model matrix must be ID Matrix in World (I think)

Then I exported as COLLADA, It seems that Blender exported sphere matrix incorrectly
I was not sure and test in other tools the exported file

The exported Node looks like:

Cube Matrix:

-0.8466222 -0.507823 0.4833452 0
-0.4927458 1.530348 -0.5537914 0
-0.2010783 -1.612002 -0.6780063 0
0 0 0 1

Sphere Matrix:

-0.8466221 -0.4927458 -0.2010783 0
-0.09768837 0.2943883 -0.3100958 0
0.4833452 -0.5537914 -0.6780063 0
0 0 0 1

If the sphere must be Identiy (in World) then Sphere matrix must be inverse of Cube (in Local) in scene-graph
am I right?

After imported the COLLADA file, Blender renders same as I did and different from original,
but Apple Quicklook still render correctly, weird! modo, FBX Review, tree.js renders like my result

I'm sharing .blend, .dae and some screenshots as attachments

Screenshots description:

  1. Before Export.png: Original Blender (.blend file)
  2. My ender result.png: My COLLADA importer, My OpenGL renderer (Y_UP)
  3. Apple Quicklook render result.png: Apple Quicklook (looks same as .blender)
  4. Modo render result.png: import .dae to Modo
  5. Efter Import Exported File.png: import the exported .dae in Blender (typo Efter -> After)

COLLADA:


Blend file:
Render Screenshots:

Details

Type
Bug