Realtime Compositor: Immediately realize wrapped translations #113669

Merged
Omar Emara merged 3 commits from OmarEmaraDev/blender:wrapped-translations into main 2023-11-02 12:39:50 +01:00
Member

This patch changes how wrapped translations are handled by the Realtime
Compositor. Previously, translations were always stored on the result
and delayed until automatically realized later. The wrapping status was
also stored to control this later automatic realization.

This patch changes that such that translations are immediately realized
for the axes that has enabled wrapping. Consequently, the image will not
get translated, but its content will, in a clip on one side, wrap on the
opposite side manner.

Another change is that wrapping information is no longer propagated to
future automatic realizations, so tilling or repeating an image is no
longer possible. An alternative method of repetition will be introduced
in a later patch.

This patch changes how wrapped translations are handled by the Realtime Compositor. Previously, translations were always stored on the result and delayed until automatically realized later. The wrapping status was also stored to control this later automatic realization. This patch changes that such that translations are immediately realized for the axes that has enabled wrapping. Consequently, the image will not get translated, but its content will, in a clip on one side, wrap on the opposite side manner. Another change is that wrapping information is no longer propagated to future automatic realizations, so tilling or repeating an image is no longer possible. An alternative method of repetition will be introduced in a later patch.
Omar Emara added the
Interest
Compositing
Module
VFX & Video
labels 2023-10-13 13:21:05 +02:00
Omar Emara added 1 commit 2023-10-13 13:21:17 +02:00
090cc8d6e7 Realtime Compositor: Immediately realize wrapped translations
This patch changes how wrapped translations are handled by the Realtime
Compositor. Previously, translations were always stored on the result
and delayed until automatically realized later. The wrapping status was
also stored to control this later automatic realization.

This patch changes that such that translations are immediately realized
for the axes that has enabled wrapping. Consequently, the image will not
get translated, but its content will, in a clip on one side, wrap on the
opposite side manner.

Another change is that wrapping information is no longer propagated to
future automatic realizations, so tilling or repeating an image is no
longer possible. An alternative method of repetition will be introduced
in a later patch.
Omar Emara requested review from Sergey Sharybin 2023-10-13 13:21:49 +02:00

There is something strange going on when doing wrapping along one axis but not along the other. Attached file i've used to test, as well as F12 render with before and after this PR. It is as if the Y axis got double transform.

Can you look into it and confirm or deny the observation? :)

There is something strange going on when doing wrapping along one axis but not along the other. Attached file i've used to test, as well as F12 render with before and after this PR. It is as if the Y axis got double transform. Can you look into it and confirm or deny the observation? :)
Author
Member

@Sergey This is probably the same the issue fixed in: 3f49d286cc.
So it should be fixed once I merge main and update the patch.

@Sergey This is probably the same the issue fixed in: 3f49d286ccf9dc120ec40bdf0d0a479cb3a50f42. So it should be fixed once I merge main and update the patch.
Omar Emara added 2 commits 2023-11-02 10:41:53 +01:00
Sergey Sharybin approved these changes 2023-11-02 11:48:45 +01:00
Omar Emara merged commit 1500a594ad into main 2023-11-02 12:39:50 +01:00
Omar Emara deleted branch wrapped-translations 2023-11-02 12:39:52 +01:00
Sign in to join this conversation.
No reviewers
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#113669
No description provided.