Gltf 2.0 exporter: exporting Actions with "Bake all objects animations" does not bake actions to the selection. #111674

Closed
opened 2023-08-29 22:55:09 +02:00 by Juan Carlos · 3 comments

System Information
Operating system: Ubuntu 22.04
Graphics card:

Blender Version
Broken: 3.6.2

Short description of error

Exporting a Selected object which is constrained to a Animated object with "Bake all objects animations" and "Actions" options, does not bake actions to the selection.

Expected: for every Action (even only fake user actions), all constrains are applied to all objects and the final result is baked to a corresponding action for the selected object.

If we add the actions to the NLA stack of the Selected object the exported actions are empty. If we add the actions to the NLA of the Animated object, the top action strip is copied to every action.

Exact steps for others to reproduce the error

  • In the attached file, there is a Constrained armature in which each bone is constrained to a bone in Animated armature. There are two actions for Animated.
  • Try to export Constrained with "Limit to selected" option enabled.
  • Also we enable "Bake all objects animations" and "Actions" to bake animations from Animated. However, Blender wont bake animations and will give an error.
  • If we add the actions to the NLA stack for Constrained, the exported actions will be empty.
  • If actions are added to the NLA stack for the Animated, the exporter will take only the top action strip, overriding all other actions below. So that only one action can be baked to the ConstrainedRig.

Workaround:

The only way to export animations for ConstrainedRig is manually baking visual keys for each action. This is not optimum and forces user to fill each action with unwanted keyframes for ConstrainedRig. If we bake to other set of actions, the original set of actions get baked into the exported file.

**System Information** Operating system: Ubuntu 22.04 Graphics card: **Blender Version** Broken: 3.6.2 **Short description of error** Exporting a Selected object which is constrained to a Animated object with "Bake all objects animations" and "Actions" options, does not bake actions to the selection. Expected: for every Action (even only fake user actions), all constrains are applied to all objects and the final result is baked to a corresponding action for the selected object. If we add the actions to the NLA stack of the Selected object the exported actions are empty. If we add the actions to the NLA of the Animated object, the top action strip is copied to every action. **Exact steps for others to reproduce the error** - In the attached file, there is a Constrained armature in which each bone is constrained to a bone in Animated armature. There are two actions for Animated. - Try to export Constrained with "Limit to selected" option enabled. - Also we enable "Bake all objects animations" and "Actions" to bake animations from Animated. However, Blender wont bake animations and will give an error. - If we add the actions to the NLA stack for Constrained, the exported actions will be empty. - If actions are added to the NLA stack for the Animated, the exporter will take only the top action strip, overriding all other actions below. So that only one action can be baked to the ConstrainedRig. Workaround: The only way to export animations for ConstrainedRig is manually baking visual keys for each action. This is not optimum and forces user to fill each action with unwanted keyframes for ConstrainedRig. If we bake to other set of actions, the original set of actions get baked into the exported file.
Juan Carlos added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-08-29 22:55:10 +02:00
Iliya Katushenock added the
Interest
Animation & Rigging
Interest
Import Export
labels 2023-08-29 22:57:43 +02:00
Member

I will have a look.
I can't manage this ticket on blender repo, as we are not in blender-addon repo

I will have a look. I can't manage this ticket on blender repo, as we are not in blender-addon repo

Maybe this should be moved to a add-on repo so?

Maybe this should be moved to a add-on repo so?
Member

@JulienDuroure @mod_moder : blender/blender-addons#104864

Unfortunately, there is no easy way to move reports between repositories yet :)

@JulienDuroure @mod_moder : https://projects.blender.org/blender/blender-addons/issues/104864 Unfortunately, there is no easy way to move reports between repositories yet :)
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-09-04 12:50:50 +02:00
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
4 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#111674
No description provided.