Smart Bake option for "Bake Action" #82782

Open
opened 2020-11-17 12:24:34 +01:00 by Luciano Muñoz Sessarego · 6 comments

Problem:
Currently we only support baking every Nth frame. Which sometimes results in more keys than desired, but "cleaning curves" doesn't do the job since most of the time you'd want your original key frames to be returned as a result not a "cleaned up version" of the curves.

Solution:
Add an option to "bake action" named "Smart Bake", which will bake and only return key frames where the user has key framed already.
If the object baked has a constraint target to an other object. The constrain result should be considered in the same fashion it is done now, but only the keyframes that the user inputs in the object baked should be gotten as output.

This will retain the user's original poses or keys in place but depending how sparse the keyframes he originally has are, it will possibly break the interpolation between keys which is expected but should be stated in the tooltip.

Problem: Currently we only support baking every Nth frame. Which sometimes results in more keys than desired, but "cleaning curves" doesn't do the job since most of the time you'd want your original key frames to be returned as a result not a "cleaned up version" of the curves. Solution: Add an option to "bake action" named "Smart Bake", which will bake and only return key frames where the user has key framed already. If the object baked has a constraint target to an other object. The constrain result should be considered in the same fashion it is done now, but only the keyframes that the user inputs in the object baked should be gotten as output. This will retain the user's original poses or keys in place but depending how sparse the keyframes he originally has are, it will possibly break the interpolation between keys which is expected but should be stated in the tooltip.
Author
Member

Added subscriber: @LucianoMunoz

Added subscriber: @LucianoMunoz
Member

Added subscriber: @wbmoss_dev

Added subscriber: @wbmoss_dev
Wayde Moss was assigned by Luciano Muñoz Sessarego 2020-11-19 13:29:54 +01:00
Member

Added subscriber: @zanqdo

Added subscriber: @zanqdo
Member

Generally using the term "Smart" is not desired since it doesn't really mean anything and people will try to use it without understanding it as if it was intrinsically better. Maybe something like the terminology used in autokey would be more descriptive:

image.png

Generally using the term "Smart" is not desired since it doesn't really mean anything and people will try to use it without understanding it as if it was intrinsically better. Maybe something like the terminology used in autokey would be more descriptive: ![image.png](https://archive.blender.org/developer/F9537762/image.png)
Member

I agree. Anytime I heard "Smart Baking", I assumed it always did more than what I implemented. Rig On the Fly does more and includes the constraint targets for the bake frequency. They can do more because they only deal with rigs they've defined and created. A potentially simple solution for us is to add support for Baking sets (or selection sets?.. or just general bone sets that operators can use) and if a bone is part of the set, then it's baked where other bones of the same set are keyed. Ideally, riggers would create these Bake sets since they know the rig in and out.

I agree. Anytime I heard "Smart Baking", I assumed it always did more than what I implemented. [Rig On the Fly](https://gitlab.com/dypsloom/rigonthefly/-/blob/master/README.md) does more and includes the constraint targets for the bake frequency. They can do more because they only deal with rigs they've defined and created. A potentially simple solution for us is to add support for Baking sets (or selection sets?.. or just general bone sets that operators can use) and if a bone is part of the set, then it's baked where other bones of the same set are keyed. Ideally, riggers would create these Bake sets since they know the rig in and out.
Wayde Moss was unassigned by Sybren A. Stüvel 2022-01-03 12:09:23 +01:00
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:35:58 +01:00
Member

I am removing the Needs Triage label. This is under the general rule that Design and TODO tasks should not have a status.

If you believe this task is no longer relevant, feel free to close it.

I am removing the `Needs Triage` label. This is under the general rule that Design and TODO tasks should not have a status. If you believe this task is no longer relevant, feel free to close it.
Alaska removed the
Status
Needs Triage
label 2024-04-07 05:58:55 +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#82782
No description provided.