Curvature / handles of spline-based mask aren't deformed properly when parented to a plane track #97239

Open
opened 2022-04-11 09:37:54 +02:00 by Simon Harfst · 14 comments

System Information
Operating system: Windows 11
Graphics card: RTX 550

Blender Version
Broken: 3.1.0
Worked: 3.1.0

Short description of error
Curvature / handles of spline-based masked aren't deformed properly when parented to a plane track

Exact steps for others to reproduce the error

  1. create plane track
  2. draw spline-based mask inside plane track (e.g. circle)
  3. parent mask to plane track
  4. run a few frames forward

handles / curvature aren't deformed properly
mask extends / swells out of plane

If a handle is transformed, it "snaps into place".

Reason for this is the default Auto type handles. In case of Auto, they are always recalculated, even after the plane track matrix has already been applied to them.
Transforming a handle will change its handle type (not Auto anymore), thus no recalculation will happen anymore (just the plane track matrix).

see attached PDF

handles_mask_plane_track.pdf

**System Information** Operating system: Windows 11 Graphics card: RTX 550 **Blender Version** Broken: 3.1.0 Worked: 3.1.0 **Short description of error** Curvature / handles of spline-based masked aren't deformed properly when parented to a plane track **Exact steps for others to reproduce the error** 1) create plane track 2) draw spline-based mask inside plane track (e.g. circle) 3) parent mask to plane track 4) run a few frames forward handles / curvature aren't deformed properly mask extends / swells out of plane If a handle is transformed, it "snaps into place". Reason for this is the default `Auto` type handles. In case of `Auto`, they are always recalculated, even after the plane track matrix has already been applied to them. Transforming a handle will change its handle type (not `Auto` anymore), thus no recalculation will happen anymore (just the plane track matrix). > see attached PDF [handles_mask_plane_track.pdf](https://archive.blender.org/developer/F12994727/handles_mask_plane_track.pdf)
Author

Added subscriber: @Simon-Harfst

Added subscriber: @Simon-Harfst
Simon Harfst changed title from Curvature / handles of spline-based masked aren't deformed properly when parented to a plane track to Curvature / handles of spline-based mask aren't deformed properly when parented to a plane track 2022-04-11 09:48:55 +02:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Broken: 3.1.0
Worked: 3.1.0

It is broken when? and worked when?

Please always attach a minimal example .blend file that demonstrates the issue.

> Broken: 3.1.0 > Worked: 3.1.0 It is broken when? and worked when? Please always attach a minimal example .blend file that demonstrates the issue.
Author

Sorry, the "broken / worked" statement was a mistake by me.
I just tried it with 3.1.0.
I don't know if it ever worked...

I showed the issue in the attached PDF file (first post).
In this post I attached the corresponding .blend-file; the movie-file is not attached (it's MVI_4182.MOV from the Track, Match, Blend series at BlenderStudio).

Thanx for your help in advance.

track_mask.blend

Sorry, the "broken / worked" statement was a mistake by me. I just tried it with 3.1.0. I don't know if it ever worked... I showed the issue in the attached PDF file (first post). In this post I attached the corresponding .blend-file; the movie-file is not attached (it's MVI_4182.MOV from the Track, Match, Blend series at BlenderStudio). Thanx for your help in advance. [track_mask.blend](https://archive.blender.org/developer/F12995858/track_mask.blend)
Member

Sorry this took a bit to answer.
What I still dont quite understand is this part

interestingly: when clicking on a (not correctly deformed) handle-point, it snaps to the right position

Can you show this in action? This does not seem to happen on my side

Sorry this took a bit to answer. What I still dont quite understand is this part > interestingly: when clicking on a (not correctly deformed) handle-point, it snaps to the right position Can you show this in action? This does not seem to happen on my side
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Philipp Oeser self-assigned this 2022-04-26 09:40:59 +02:00
Member

Ah, get it now, it snaps into place when such a handle is transformed.

Will check on this since I recently fixed #97135 and #85467

Ah, get it now, it snaps into place when such a handle is **transformed**. Will check on this since I recently fixed #97135 and #85467
Member

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'
Member

Hm, OK so the reason this happens is that the handles are set to type Auto, and if these are set to Auto, well... they are recalculated even after the plane track matrix has been applied to them, see https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/mask_evaluate.c$898

So workaround is to set the Handle Type to e.g. Free or Aligned or Aligned Single (after initial setup), then this also works nicely with the plane track without swelling out of place.
Will ask around if we should possibly ignore the handle recalculation if mask is deformed by a plane track (or if there is another better solution or if this is just something to keep in mind when working with plane tracks).

Hm, OK so the reason this happens is that the handles are set to type `Auto`, and if these are set to `Auto`, well... they are recalculated even after the plane track matrix has been applied to them, see https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/mask_evaluate.c$898 So workaround is to set the Handle Type to e.g. `Free` or `Aligned` or `Aligned Single` (after initial setup), then this also works nicely with the plane track without swelling out of place. Will ask around if we should possibly ignore the handle recalculation if mask is deformed by a plane track (or if there is another better solution or if this is just something to keep in mind when working with plane tracks).
Philipp Oeser removed their assignment 2022-04-26 12:48:50 +02:00
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Talked to @Sergey, this is not considered a bug for now, but might see improvement in the near future (in that it is appealing to handle plane track differently here in concert with mask handles).

Talked to @Sergey, this is not considered a bug for now, but might see improvement in the near future (in that it is appealing to handle plane track differently here in concert with mask handles).
Author

Somehow strange to declare an obvious malfunction not as a bug... )-;
it's just not doing what it is supposed to do...

Somehow strange to declare an obvious malfunction not as a bug... )-; it's just not doing what it is supposed to do...

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:31:32 +01: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
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#97239
No description provided.