Collada exports bezier keyframes as linear #22891

Closed
opened 2010-07-17 13:12:12 +02:00 by Pelle Johnsen · 5 comments

%%%SVN 30140

Mac OSX (intel) 10.5.8 (Nvidia 9600)

Steps to reproduce:

  • create a new file with the default cube
  • insert 2 key frames, e.g. move the cube along Z
(by default this will use bezier interpolation)
  • export file as .dae (collada)

In the exported file the animation will be using LINEAR interpolation, and won't contain tangent data.

Exepected result:

The .dae file will have the animation listed using BEZIER interpolation and contain tangent data.

I've attached .blend and .dae if it helps.%%%

%%%SVN 30140 Mac OSX (intel) 10.5.8 (Nvidia 9600) Steps to reproduce: - create a new file with the default cube - insert 2 key frames, e.g. move the cube along Z ``` (by default this will use bezier interpolation) ``` - export file as .dae (collada) In the exported file the animation will be using LINEAR interpolation, and won't contain tangent data. Exepected result: The .dae file will have the animation listed using BEZIER interpolation and contain tangent data. I've attached .blend and .dae if it helps.%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%It appears that the exporter is sampling the F-Curves so that they will take into account F-Modifiers etc. too instead of just outputting the raw keyframes. This approach should allow other apps to reproduce the same results, at the expense of animators not being able to edit those exact keyframes (though in my biased opinion, why should anyone want/need to do so in other apps anymore!)

Anyways, will leave for Arystan to make final call on this.%%%

%%%It appears that the exporter is sampling the F-Curves so that they will take into account F-Modifiers etc. too instead of just outputting the raw keyframes. This approach should allow other apps to reproduce the same results, at the expense of animators not being able to edit those exact keyframes (though in my biased opinion, why should anyone want/need to do so in other apps anymore!) Anyways, will leave for Arystan to make final call on this.%%%
Author

%%%Hmmm, is there anyway to control how this sampling is done, as in the attached example files the .dae output just has LINEAR interpolation between the two keyframes, which obviously isn't the same as the nice ease in/out you get with BEZIER interpolation. In my case, I wouldn't mind having the exporter re-sample the f-curve as linear segments (as long as they reasonably resemble the original curve), but as Joshua mentions this will make the data pretty useless, if you want to import the .dae in some other tool and manipulate the animation there.%%%

%%%Hmmm, is there anyway to control how this sampling is done, as in the attached example files the .dae output just has LINEAR interpolation between the two keyframes, which obviously isn't the same as the nice ease in/out you get with BEZIER interpolation. In my case, I wouldn't mind having the exporter re-sample the f-curve as linear segments (as long as they reasonably resemble the original curve), but as Joshua mentions this will make the data pretty useless, if you want to import the .dae in some other tool and manipulate the animation there.%%%
Member

%%%Currently not too much time to work on this, so I'm moving this to our todo list on the wiki: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Simple_Todos#COLLADA

Anyone who wants to help out still can provide patches!

Thanks for reporting.%%%

%%%Currently not too much time to work on this, so I'm moving this to our todo list on the wiki: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Simple_Todos#COLLADA Anyone who wants to help out still can provide patches! Thanks for reporting.%%%
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#22891
No description provided.