Unify CPU and GPU compositors #116694

Closed
opened 2024-01-01 19:29:20 +01:00 by Habib Gahbiche · 1 comment
Member

Summary

This task summarizes all remaining tasks to replace the Tiled compositor with the Full Frame compositor. The requirement to do so is to unify the behavior of CPU and GPU compositors.

The must-haves are necessary to finish before enabling the Full Frame compositor as the default CPU compositor. The images in the comparison document Full Frame vs. GPU were produced by running the compositor unit tests while setting execution mode to Fullframe and GPU respectively. Only nodes with different results are shown in PDF document.

Must have

Behavior Full Frame GPU Status
Size inference: constant input Constant input results in output with
Constant input results in constant output
x
Done
Size inference: size undo Limit canvas size to 1.5x render size
Unlimited
x
Done
Automatic realization Apply transformations from left to right
x
Realization time can be delayed
Done
plane track motion and plane track plane Produced mask is binary
x
Produced mask contains value from original alpha channel of input
Done
Node mask aspect ratio Mask is scaled by image aspect ratio image
x
Mask ignores image aspect ratio image
Done
Node Texture Color image
x
image
Done
Node Sun Beans image
image
Done
Double Edge Mask image
image
x
Done
Inpaint (difference is visually significant)
(difference is visually significant)
x
Done
Erode feather (difference is visually significant for negative values)
x
(difference is visually significant for negative values)
Done
d(irectional) blur alpha channel considered
x
alpha channel is ignored
Done

Legend:

  • x indicates which behavior should be implemented for both compositors.
  • Done decision about behavior was made, implementation is done.
  • Undecided need to agree on behavior

Nice to have

Nodes that visually look the same but dividing the two images gives values slightly lower or higher than 1. See #118548 for full list

## Summary This task summarizes all remaining tasks to replace the Tiled compositor with the Full Frame compositor. The requirement to do so is to unify the behavior of CPU and GPU compositors. The must-haves are necessary to finish before enabling the Full Frame compositor as the default CPU compositor. The images in the comparison document `Full Frame vs. GPU` were produced by running the compositor unit tests while setting execution mode to Fullframe and GPU respectively. Only nodes with different results are shown in PDF document. ## Must have | Behavior | Full Frame | GPU | Status | | ----------- | ----------- | ----------- | ----------- | | Size inference: constant input | Constant input results in output with </br> ` ` | Constant input results in constant output </br> `x` | <span style="color:green">Done</span> | | Size inference: size undo | Limit canvas size to 1.5x render size </br> ` ` | Unlimited </br> `x` | <span style="color:green">Done</span> | | Automatic realization | Apply transformations from left to right </br> `x` | Realization time can be delayed </br> ` ` | <span style="color:green">Done</span> | | plane track motion and plane track plane | Produced mask is binary </br> `x` | Produced mask contains value from original alpha channel of input </br> ` ` | <span style="color:green">Done</span> | | Node mask aspect ratio | Mask is scaled by image aspect ratio ![image](/attachments/eab7b036-51c9-4098-9681-d3a3d857af3d) </br> `x` | Mask ignores image aspect ratio ![image](/attachments/e83b84b0-7804-4249-b415-55028cd17868) </br> ` ` | <span style="color:green">Done</span> | | Node Texture Color | ![image](/attachments/90997a73-b3f5-4081-ad3a-841334e8ff33) </br> `x` | ![image](/attachments/a572fc20-bde2-4621-b253-2e340f9f3748) </br> ` ` | <span style="color:green">Done</span> | | Node Sun Beans | ![image](/attachments/25f94061-7d6c-490a-81b4-cee812ad7152) </br> ` ` | ![image](/attachments/c297c55b-0e12-472d-b3e0-1bdbb7da5ac5) </br> ` ` | <span style="color:green">Done</span> | | Double Edge Mask | ![image](/attachments/5fc4e4dd-ef59-4268-b491-95138b583c94) </br> ` ` | ![image](/attachments/acf07df0-45ec-467e-a859-8370bf6e51ef) </br> `x` | <span style="color:green">Done</span> | | Inpaint | (difference is visually significant) </br> ` ` | (difference is visually significant) </br> `x` | <span style="color:green">Done</span> | | Erode feather | (difference is visually significant for negative values) </br> `x` | (difference is visually significant for negative values) </br> ` ` | <span style="color:green">Done</span> | | d(irectional) blur | alpha channel considered </br> `x` | alpha channel is ignored </br> ` ` | <span style="color:green">Done</span> | Legend: - `x` indicates which behavior should be implemented for both compositors. - <span style="color:green">Done</span> decision about behavior was made, implementation is done. - <span style="color:red">Undecided</span> need to agree on behavior ## Nice to have Nodes that visually look the same but dividing the two images gives values slightly lower or higher than 1. See https://projects.blender.org/blender/blender/issues/118548 for full list
Habib Gahbiche added the
Type
To Do
label 2024-01-01 19:29:20 +01:00
Habib Gahbiche added this to the Compositing project 2024-01-01 19:29:22 +01:00
Author
Member

Closing as done, follow-up issue is #118548.

Closing as done, follow-up issue is https://projects.blender.org/blender/blender/issues/118548.
Blender Bot added the
Status
Archived
label 2024-03-17 10:08:53 +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
1 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#116694
No description provided.