NLA - Quaternion blending in "Add" mode should use quaternion math instead #47035

Closed
opened 2015-12-22 07:32:40 +01:00 by Alexander KHozyashev · 12 comments

System Information
Win 10 (don't matter)

Blender Version
2.76b f337fea
Short description of error
I try use 2 action on 2 strip,
Blending: (main action - root and other basic bone) add (cycles action)
Now NLA (Active Strip)blending: add just use formul: x + y
W: 1.000 + W: 1.000 = 2.000
X: 0.200 + X: 0.200 = 0.400
Y: 0.200 + Y: 0.200 = 0.400
Z: 0.200 + Z: 0.200 = 0.400
Quaternion has something like that q = w + xi + yj + z*k :D

Exact steps for others to reproduce the error
Try hard anim with nla. :3

Ligth blend file with example: NLA.blend

**System Information** Win 10 (don't matter) **Blender Version** 2.76b f337fea **Short description of error** I try use 2 action on 2 strip, Blending: (main action - root and other basic bone) add (cycles action) Now NLA (Active Strip)blending: add just use formul: x + y W: 1.000 + W: 1.000 = 2.000 X: 0.200 + X: 0.200 = 0.400 Y: 0.200 + Y: 0.200 = 0.400 Z: 0.200 + Z: 0.200 = 0.400 Quaternion has something like that q = w + x*i + y*j + z*k :D **Exact steps for others to reproduce the error** Try hard anim with nla. :3 Ligth blend file with example: [NLA.blend](https://archive.blender.org/developer/F269994/NLA.blend)

Changed status to: 'Open'

Changed status to: 'Open'
Sergey Sharybin was assigned by Alexander KHozyashev 2015-12-22 07:32:40 +01:00

Added subscriber: @AleksandrKhozyashev

Added subscriber: @AleksandrKhozyashev

Added subscribers: @JoshuaLeung, @Sergey, @mont29

Added subscribers: @JoshuaLeung, @Sergey, @mont29
Sergey Sharybin was unassigned by Bastien Montagne 2015-12-22 12:01:28 +01:00
Joshua Leung was assigned by Bastien Montagne 2015-12-22 12:01:28 +01:00

@AleksandrKhozyashev please do not assign to random people like that - in fact, triaging and assigning bugs is a dev’s task.

@JoshuaLeung, I think this one is for you? Though this looks more like a feature request than really a bug, I kinda remember a similar report this year (someone requesting some specific interpolation for quaternion curves or something)…

@AleksandrKhozyashev please do not assign to random people like that - in fact, triaging and assigning bugs is a dev’s task. @JoshuaLeung, I think this one is for you? Though this looks more like a feature request than really a bug, I kinda remember a similar report this year (someone requesting some specific interpolation for quaternion curves or something)…

AFAIR, NLA doesn't distinguish different curves/actions and can't really do smart things for quats? In any case, @JoshuaLeung is the guy to ask :)

AFAIR, NLA doesn't distinguish different curves/actions and can't really do smart things for quats? In any case, @JoshuaLeung is the guy to ask :)
Member

This is more of a TODO.

It's increasingly looking like we will need some special handling for things like quats and scale. Currently, no special handling is done for anything; so, each component of the quats are getting handled separately - as if they're just any other curve.

This is more of a TODO. It's increasingly looking like we will need some special handling for things like quats and scale. Currently, no special handling is done for anything; so, each component of the quats are getting handled separately - as if they're just any other curve.
Joshua Leung changed title from NLA quaternion bug to NLA - Quaternion blending in "Add" mode should use quaternion math instead 2016-01-12 13:01:15 +01:00

Added subscriber: @JackAndersen

Added subscriber: @JackAndersen

D1929 adds a code path for gathering quaternions on a per-strip basis. It's specifically designed to sample explicitly-keyed timed points surrounding the evaluated strip-time.

After interpolating with SLERP/SQUAD, the proposed quaternion math is implemented for blending tracks.

This same code path could be made to evaluate direct nlerp via the fcurves, instead of the 2x or 4x evaluations for SLERP/SQUAD

[D1929](https://archive.blender.org/developer/D1929) adds a code path for gathering quaternions on a per-strip basis. It's specifically designed to sample explicitly-keyed timed points surrounding the evaluated strip-time. After interpolating with SLERP/SQUAD, the proposed quaternion math is implemented for blending tracks. This same code path could be made to evaluate direct nlerp via the fcurves, instead of the 2x or 4x evaluations for SLERP/SQUAD

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

I'm moving this task from the 'Planned/Scheduled' to the 'Postponed' workboard, since there is no plan/schedule, and it's been idle for almost three years.

I'm moving this task from the 'Planned/Scheduled' to the 'Postponed' workboard, since there is no plan/schedule, and it's been idle for almost three years.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

This seems to have been fixed in D4190: NLA: implement a new blending mode that intelligently overlays actions.. If there is still an issue in this area, please file a new bug report.

This seems to have been fixed in [D4190: NLA: implement a new blending mode that intelligently overlays actions.](https://archive.blender.org/developer/D4190). If there is still an issue in this area, please file a new bug report.
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
6 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#47035
No description provided.