Page MenuHome

COLLADA Node Transform
Needs Information from User, NormalPublic


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)


Blend file:
Render Screenshots:

Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.Nov 4 2016, 9:14 AM
Bastien Montagne (mont29) changed the task status from Confirmed to Needs Information from User.Mon, Feb 17, 5:06 PM

Is this still an issue? Report is old, and afaik quiet some work has been done on Collada since 2016...