COLLADA Node Transform #49922

Closed
opened 2016-11-03 10:45:58 +01:00 by Recep Aslantas · 9 comments

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: untitled6.dae
Blend file: untitled.blend
Render Screenshots: render-screenshots.zip

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: [untitled6.dae](https://archive.blender.org/developer/F391118/untitled6.dae) Blend file: [untitled.blend](https://archive.blender.org/developer/F391119/untitled.blend) Render Screenshots: [render-screenshots.zip](https://archive.blender.org/developer/F391120/render-screenshots.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @RecepAslantas

Added subscriber: @RecepAslantas
Gaia Clary was assigned by Recep Aslantas 2016-11-03 10:46:48 +01:00
Author
No description provided.
Gaia Clary was unassigned by Dalai Felinto 2019-12-23 16:36:56 +01:00

Added subscriber: @GaiaClary

Added subscriber: @GaiaClary

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

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

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

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Bastien Montagne self-assigned this 2020-02-24 12:50:53 +01:00

More than a week of inactivity, closing for now (we can always re-open should requested info be provided).

More than a week of inactivity, closing for now (we can always re-open should requested info be provided).
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#49922
No description provided.