Bake action result unexpected since 2.92 #86193
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#86193
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system:
win10
Graphics card:
gtx1050ti
Blender Version
Broken: 2.92 stable, 2.93.0-c4ef90f5a0b1 master
Worked: 2.83 stable, 2.91 stable
Behavior changed in
0e85d701c6
Short description of error
there are 2 error from this issue.
1, the bake action handle bone's rotation as euler, then the bake result are not as expected, in frame 1 to 2 will have a large rotation.
2, change bone or armature's rotation mode from euler to quaternion then bake will cause error (this has still to be reproduced)
Exact steps for others to reproduce the error
1, open file, bones already selected
2,bake the action use visual keying, then the action will have a incorrect rotation in 1-2 frame.
3, change mode from euler to quaternion
4, bake again and will give an error " ValueError: Matrix.to_euler(): invalid euler order 'QUATERNION' ", but this has its own report in #88359
Based on the default startup or an attached .blend file (as simple as possible).
daz_test.blend
from #88378:
** Baking animation just dont work properly in blender 2.92, it give incorrect baking starting at frame 2 ( even if you clean curves and clear parents and constraint). baking works perfectly and smoothly in blender 2.91
bakeproblem2.92.blend
Added subscriber: @celpec
#88378 was marked as duplicate of this issue
bake bone rotation error, and change euler to quaternion then Bake bone action errorto bake action result incorrect, and change euler to quaternion then Bake action errorAdded subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
It is always preferable to not have full rigs as example files.
These of course are more complex to debug, please always try to put together a minimal example file:
I can confirm a difference in the bake though:
2.92
2.91
havent been able to reproduce this one though
Will see which commit caused this.
Added subscriber: @dr.sybren
So this changed in
0e85d701c6
, not sure what is intended here, @dr.sybren would have to comment here.bake action result incorrect, and change euler to quaternion then Bake action errorto bake action result unexpected (and change euler to quaternion then Bake action error)Added subscribers: @zuraxe, @iss
The quaternion error might be related, but it has also been reported separately in #88359 (Bake of animation keyframes are fail when object is quaternion define but bones is Eular define), will clean up the report description here
bake action result unexpected (and change euler to quaternion then Bake action error)to Bake action result unexpected since 2.92Will raise prio, since this might be a regression (looks like one)
Added subscriber: @wbmoss_dev
Looks like D11282: Fix #88359: Issue of object matrix order use in pose bake fixes this and the quaternion problem. Will let @dr.sybren handle the commit since we're in bcon4 and I'm not sure how all that stuff is handled.
Simple single bone repro file:
T86193_simple.blend
The object euler rotation mode doesn't match the bone's euler rotation mode. When you bake, the discontinuity occurs. If you change the object's rotation mode to match, it's fixed.
Added subscriber: @DreamertTooth
Thanks for finding the cause of this, @wbmoss_dev and @DreamertTooth !
This issue was referenced by
a1954e3807
Changed status from 'Confirmed' to: 'Resolved'
https://i.kym-cdn.com/entries/icons/original/000/022/628/Screen_Shot_2017-04-05_at_2.58.07_PM.png