Newly inserted keyframes dont work in animated COLLADA models #40127

Closed
opened 2014-05-10 16:39:03 +02:00 by Jonathan Railsback · 10 comments

OS Info:

Windows 7 Professional
GeForce 650ti BOOST 2Gb

Blender Version:

2.63, 2.70a

Errors:

  • newly inserted keyframes dont work in animated COLLADA models exported using Ultimate Unwrap 3D

  • models imported from COLLADA files can have bone orientations that are 90 degrees off from the original bone in at least one axis

  1. Background:

a. I use a tool called Ultimate Unwrap 3D to convert animated stock asset models in FBX files into COLLADA files. I've found some issues with the import process in Blender most which I can work around, but it'd be great if the importer could be fixed.

b. I've created a simple animated cylinder model using Blender (TestAnimation-original.blend), which I've exported to FBX (TestAnimation-original.fbx) using Blender, then converted to COLLADA using Ultimate Unwrap 3D (TestAnimation-original.dae) which demonstrates the problems using the Blender COLLADA importer.

  1. Problems:

a. newly inserted keyframes dont work in animated COLLADA models exported using Ultimate Unwrap 3D

When I pose the model and add a new keyframe, the new keyframe appears to be added (you can see the new markers in the dopesheet), but if you go back and run through the animation from the first frame to the most recently added one, the new keyframe does not affect the position of the cylinder. In the file TestAnimation-keyframe-problem.blend, when I added keyframe 5 I had the cylinder bent over a full 90 degrees. You can see that at frame 5 it retains the same transform as it had at key frame 4.

I've done some digging into this, and I think the root issue is that when I import a COLLADA file which stores the animation transforms as 5 separate components (3 axial rotations, scale, and translation). This format is allowed per the COLLADA specification.

i. I've noticed that if the animation transforms are provided in the COLLADA file as a 4x4 element, that I am able to add new keyframes. [The Autodesk FBX Converter which does this has other larger issues which cause me to have to edit the entire COLLADA file, so using it is only of academic interest]

ii. I've noticed that when you import the data and look at the dope sheet, you get a set of 5 quaternion transforms. I believe this corresponds to the 5 separate transforms provided in the COLLADA file (3 axial rotations, 1 scale, 1 translation).

iii. This has been an issue at least since Blender 2.63. I've included a file TestAnimation-original.dae which shows the problem.

b. models imported from COLLADA files can have bone orientations that are 90 degrees off from the original bone in at least one axis

Blender 2.70a imports bones in an orientation which doesn't correspond to the orientation of the original model. You can see this if you open the COLLADA model in Blender 2.70a (TestAnimation-bone-angle.blend) and compare it to the same model imported using Blender 2.63 (TestAnimation-keyframe-problem.blend). In the file TestAnimation-bone-angle.blend you can see that the topmost bone is rotated 90 degrees on at least one axis compared to both the original model

This doesn't cause a problem in animation playback, however it causes workflow problems if I try to retarget animations – the result is that, for example, an arm bone can be in an abnormal initial orientation between the actor (source) and target models, which causes the retargeting to twist the target bone into strange orientations. I can work around the issue by copying a proxy bone with the odd orientation and copying it as a child of the actor's bone (which assures transform similarity between source and target) but it's still a workaround which disrupts workflow.

TestAnimation.zip

OS Info: Windows 7 Professional GeForce 650ti BOOST 2Gb Blender Version: 2.63, 2.70a Errors: - newly inserted keyframes dont work in animated COLLADA models exported using Ultimate Unwrap 3D - models imported from COLLADA files can have bone orientations that are 90 degrees off from the original bone in at least one axis 1. Background: a. I use a tool called Ultimate Unwrap 3D to convert animated stock asset models in FBX files into COLLADA files. I've found some issues with the import process in Blender most which I can work around, but it'd be great if the importer could be fixed. b. I've created a simple animated cylinder model using Blender (TestAnimation-original.blend), which I've exported to FBX (TestAnimation-original.fbx) using Blender, then converted to COLLADA using Ultimate Unwrap 3D (TestAnimation-original.dae) which demonstrates the problems using the Blender COLLADA importer. 2. Problems: a. newly inserted keyframes dont work in animated COLLADA models exported using Ultimate Unwrap 3D When I pose the model and add a new keyframe, the new keyframe appears to be added (you can see the new markers in the dopesheet), but if you go back and run through the animation from the first frame to the most recently added one, the new keyframe does not affect the position of the cylinder. In the file TestAnimation-keyframe-problem.blend, when I added keyframe 5 I had the cylinder bent over a full 90 degrees. You can see that at frame 5 it retains the same transform as it had at key frame 4. I've done some digging into this, and I think the root issue is that when I import a COLLADA file which stores the animation transforms as 5 separate components (3 axial rotations, scale, and translation). This format is allowed per the COLLADA specification. i. I've noticed that if the animation transforms are provided in the COLLADA file as a 4x4 <matrix> element, that I am able to add new keyframes. [The Autodesk FBX Converter which does this has other larger issues which cause me to have to edit the entire COLLADA file, so using it is only of academic interest] ii. I've noticed that when you import the data and look at the dope sheet, you get a set of 5 quaternion transforms. I believe this corresponds to the 5 separate transforms provided in the COLLADA file (3 axial rotations, 1 scale, 1 translation). iii. This has been an issue at least since Blender 2.63. I've included a file TestAnimation-original.dae which shows the problem. b. models imported from COLLADA files can have bone orientations that are 90 degrees off from the original bone in at least one axis Blender 2.70a imports bones in an orientation which doesn't correspond to the orientation of the original model. You can see this if you open the COLLADA model in Blender 2.70a (TestAnimation-bone-angle.blend) and compare it to the same model imported using Blender 2.63 (TestAnimation-keyframe-problem.blend). In the file TestAnimation-bone-angle.blend you can see that the topmost bone is rotated 90 degrees on at least one axis compared to both the original model This doesn't cause a problem in animation playback, however it causes workflow problems if I try to retarget animations – the result is that, for example, an arm bone can be in an abnormal initial orientation between the actor (source) and target models, which causes the retargeting to twist the target bone into strange orientations. I can work around the issue by copying a proxy bone with the odd orientation and copying it as a child of the actor's bone (which assures transform similarity between source and target) but it's still a workaround which disrupts workflow. [TestAnimation.zip](https://archive.blender.org/developer/F88195/TestAnimation.zip)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @jonbitzen

Added subscriber: @jonbitzen
Thomas Dinges changed title from newly inserted keyframes dont work in animated COLLADA models exported using Ultimate Unwrap 3D models imported from COLLADA files can have bone orientations that are 90 degrees off from the original bone in at least one axis to Newly inserted keyframes dont work in animated COLLADA models 2014-05-10 22:47:52 +02:00

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-05-11 19:05:21 +02:00

We are sorry, but we do not maintain Collada anymore (except for the very basic parts to make it work for SL), since it is currently considered legacy.

We are sorry, but we do not maintain Collada anymore (except for the very basic parts to make it work for SL), since it is currently considered legacy.

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
Bastien Montagne removed their assignment 2014-05-12 21:26:36 +02:00
Nathan Letwory was assigned by Bastien Montagne 2014-05-12 21:26:36 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Looks like we found a new maintainer! :P

Looks like we found a new maintainer! :P

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @Sergey

Added subscriber: @Sergey

As explained to jesty in another report, it makes more sense to keep collada reports in wiki. Moving it there http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Import_Export#Import:_Bugs

As explained to jesty in another report, it makes more sense to keep collada reports in wiki. Moving it there http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Import_Export#Import:_Bugs
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#40127
No description provided.