Collada: imported animation has transforms mixed up #34622

Closed
opened 2013-03-13 07:59:06 +01:00 by Sébastien Barthélémy · 7 comments

%%%--- Operating System, Graphics card ---
linux64

- Blender version with error ---

2.66a

- Short description of error ---

The attached collada file describe the animation of a simple arm which falls under gravity.
The attached .avi shows the expected animation, as rendered by openscenegraph, loading the same collada file.

When I import and play the collada animation in blender, the result is not the one I expected. The forearm transform seems to change the globale pose of the object as opposed to its pose relative to its parent (the arm). The end pose is weird too, maybe there is a bug also in the conversion from the collada transform matrix to the blender quaternion.

- Steps for others to reproduce the error (preferably based on attached .blend file) ---
  • create a new project
  • import the collada file
  • click play%%%
%%%--- Operating System, Graphics card --- linux64 - Blender version with error --- 2.66a - Short description of error --- The attached collada file describe the animation of a simple arm which falls under gravity. The attached .avi shows the expected animation, as rendered by openscenegraph, loading the same collada file. When I import and play the collada animation in blender, the result is not the one I expected. The forearm transform seems to change the globale pose of the object as opposed to its pose relative to its parent (the arm). The end pose is weird too, maybe there is a bug also in the conversion from the collada transform matrix to the blender quaternion. - Steps for others to reproduce the error (preferably based on attached .blend file) --- * create a new project * import the collada file * click play%%%

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%- Which program was used to create the collada file?

  • Which of the other common 3d tools read this OK?

Note that the collada spec is incredible flexible, it allows to save data in xml in a way each program has to convert again...%%%

%%%- Which program was used to create the collada file? - Which of the other common 3d tools read this OK? Note that the collada spec is incredible flexible, it allows to save data in xml in a way each program has to convert again...%%%

%%%
Hello, thank you for your prompt handling of my report

  • Which program was used to create the collada file?

The file was created by a rigid body simulation engine called
arboris-python. I then hand-edited it to remove InstanceNodes to
external entities since blender does not seem to support them.

  • Which of the other common 3d tools read this OK?

OpenSceneGraph reads it ok.

I also tried to convert it using OpenCOLLADA DAE2MA 1.2.2 and asked somebody to open it in maya. I've been told the scene was ok but the animation was missing entirely.

Mac OS X Preview.app display the animation with transform mixed up too, but differently than blender.

Sketchup does not seem to support importing collada animation at all.

Which other tool could I use?

Note that the collada spec is incredible flexible, it allows to save data in xml in a way each program has to convert again...

I agree it flexible: the same data can be expressed in many way. But hopefully it can only be interpreted (read) in a single way.

I know the spec a bit myself and think OpenSceneGraph reads this file correctly. (If true, then blender and Mac OS Preview.app are both wrong).

This collada file is really simple, it can be opened in an text editor.%%%

%%% Hello, thank you for your prompt handling of my report > - Which program was used to create the collada file? The file was created by a rigid body simulation engine called arboris-python. I then hand-edited it to remove InstanceNodes to external entities since blender does not seem to support them. > - Which of the other common 3d tools read this OK? OpenSceneGraph reads it ok. I also tried to convert it using OpenCOLLADA DAE2MA 1.2.2 and asked somebody to open it in maya. I've been told the scene was ok but the animation was missing entirely. Mac OS X Preview.app display the animation with transform mixed up too, but differently than blender. Sketchup does not seem to support importing collada animation at all. Which other tool could I use? > Note that the collada spec is incredible flexible, it allows to save data in xml in a way each program has to convert again... I agree it flexible: the same data can be expressed in many way. But hopefully it can only be interpreted (read) in a single way. I know the spec a bit myself and think OpenSceneGraph reads this file correctly. (If true, then blender and Mac OS Preview.app are both wrong). This collada file is really simple, it can be opened in an text editor.%%%
Member

%%%Collada import/export is not yet fully developed. This bug is known as a missing feature.
For this reason this Report has been set as "Closed/Todo" and linked from our wiki page.

http://wiki.blender.org/index.php/Dev:2.6/Source/Development/Todo/Import_Export#OpenCollada

You can still update this report with more detailed information until it gets reopened/fixed.%%%

%%%Collada import/export is not yet fully developed. This bug is known as a missing feature. For this reason this Report has been set as "Closed/Todo" and linked from our wiki page. http://wiki.blender.org/index.php/Dev:2.6/Source/Development/Todo/Import_Export#OpenCollada You can still update this report with more detailed information until it gets reopened/fixed.%%%
Member

%%%@Sébastien Barthélémy: I think all issues are solved in revision 58742.

Also import of library instances should now work.
Could you test again on a recent build (58742 or newer) and check if this report can be closed ?

Or report what defects still appear. i couldn't find any.

  • gaia-%%%
%%%@Sébastien Barthélémy: I think all issues are solved in revision 58742. Also import of library instances should now work. Could you test again on a recent build (58742 or newer) and check if this report can be closed ? Or report what defects still appear. i couldn't find any. - gaia-%%%

%%%Hello Gaia,

I just checked that the example attached to this bug repport is now animated as I expect it. Thank you for that fix!

Alas, I have no time to test other examples right now. The report can be closed AFAIC. Thanks again.%%%

%%%Hello Gaia, I just checked that the example attached to this bug repport is now animated as I expect it. Thank you for that fix! Alas, I have no time to test other examples right now. The report can be closed AFAIC. Thanks again.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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#34622
No description provided.