Regression: Compositor Track Position node outputs incorrect Y values for Relative Start & Relative Frame #108492

Closed
opened 2023-06-01 06:55:04 +02:00 by WhazzItToYa · 2 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 532.03

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: at least 3.2.2. Have not tried any newer versions other than 3.5.1

Caused by e0c5ff87b7

Short description of error
The Track Position node in the compositor returns the wrong value for Y, when in Relative Start and Relative Frame mode. It appears to offsetting the Y position by the positive Y value of the marker frame, instead of subtracting.

Probably due to this line, which looks like a copy & paste error from processing the X axis: 63f2114759/source/blender/compositor/nodes/COM_TrackPositionNode.cc (L77)

Exact steps for others to reproduce the error

  1. In video editing, make a motion tracking marker at frame 1, whose initial position is not 0,0
  2. In compositor node graph, add an Image -> Translate -> Alpha Over (with appropriate background image) -> Viewer pipeline.
  3. Create a Track Position node with Position=Relative Start, and feed X,Y into Translate node.
  4. Move playhead to frame 1

RESULT: Image will be translated by (0, Marker.Y), not the expected (0, 0)

The attached .blend (and supporting .mkv) contains a clip of an ellipse moving from the lower-left to upper-right, and a marker tracking it.
The green crosshair is positioned to be approximately centered on the first frame of the marker's x,y. The red is positioned at the same location, but with a translation of the tracker's relative start applied to it. On the first frame, it is expected to be where the green crosshair is, but instead, it is shifted up.

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 532.03 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: at least 3.2.2. Have not tried any newer versions other than 3.5.1 Caused by e0c5ff87b702 **Short description of error** The Track Position node in the compositor returns the wrong value for Y, when in Relative Start and Relative Frame mode. It appears to offsetting the Y position by the positive Y value of the marker frame, instead of subtracting. Probably due to this line, which looks like a copy & paste error from processing the X axis: https://projects.blender.org/blender/blender/src/commit/63f211475950895632c826969daf4c9894554d8a/source/blender/compositor/nodes/COM_TrackPositionNode.cc#L77 **Exact steps for others to reproduce the error** 1) In video editing, make a motion tracking marker at frame 1, whose initial position is not 0,0 2) In compositor node graph, add an Image -> Translate -> Alpha Over (with appropriate background image) -> Viewer pipeline. 3) Create a Track Position node with Position=Relative Start, and feed X,Y into Translate node. 4) Move playhead to frame 1 RESULT: Image will be translated by (0, Marker.Y), not the expected (0, 0) The attached .blend (and supporting .mkv) contains a clip of an ellipse moving from the lower-left to upper-right, and a marker tracking it. The green crosshair is positioned to be approximately centered on the first frame of the marker's x,y. The red is positioned at the same location, but with a translation of the tracker's relative start applied to it. On the first frame, it is expected to be where the green crosshair is, but instead, it is shifted up.
WhazzItToYa added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-06-01 06:55:04 +02:00
Author

Forgot to say, this was working as expected at least as late as 3.2.2. I noticed the problem when I loaded a project that I had created in 3.2.2 using motion tracked compositing, into 3.5.1. Elements in the compositor were positioned higher than they were in 3.2's compositor.

Forgot to say, this was working as expected at least as late as 3.2.2. I noticed the problem when I loaded a project that I had created in 3.2.2 using motion tracked compositing, into 3.5.1. Elements in the compositor were positioned higher than they were in 3.2's compositor.
Iliya Katushenock added the
Interest
Compositing
Interest
VFX & Video
labels 2023-06-01 09:46:02 +02:00
Iliya Katushenock changed title from Compositor Track Position node outputs incorrect Y values for Relative Start & Relative Frame to Regression: Compositor Track Position node outputs incorrect Y values for Relative Start & Relative Frame 2023-06-01 09:47:04 +02:00
Member

Can confirm, will also check if the proposed fix does the trick

Can confirm, will also check if the proposed fix does the trick
Philipp Oeser added
Status
Confirmed
Module
EEVEE & Viewport
and removed
Status
Needs Triage
labels 2023-06-01 11:08:21 +02:00
Philipp Oeser added
Priority
High
and removed
Priority
Normal
labels 2023-06-01 11:20:37 +02:00
Philipp Oeser self-assigned this 2023-06-01 11:20:44 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-06-06 13:50:43 +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
2 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#108492
No description provided.