When rendering in viewport mode the draw engines do not pass correct Alpha values. #65988

Closed
opened 2019-06-21 10:44:37 +02:00 by Jeroen Bakker · 11 comments
Member

During testing D4638: Camera Background Images we came across the issues that holdouts and DoF rendering were having render artifacts might be solveable. Investigating into it lead to that the alpha values were all set to 1, so we couldn't do the right compositing of the background images afterwards.

Holdout in combination with transparent film doesn't seem to work. When scene as Film Transparent enabled and I create a viewlayer that is set to holdout, the Cycles viewport rendering shows the transparent area created by the holdout as grey world background, but not the Background images. You can try this file:

camera_background_images.blend

Just hit shift+z to go to rendered viewport to see the issue.
It does work fine in 2.79 (using mask layer in renderlayers)

During testing [D4638: Camera Background Images](https://archive.blender.org/developer/D4638) we came across the issues that holdouts and DoF rendering were having render artifacts might be solveable. Investigating into it lead to that the alpha values were all set to 1, so we couldn't do the right compositing of the background images afterwards. Holdout in combination with transparent film doesn't seem to work. When scene as Film Transparent enabled and I create a viewlayer that is set to holdout, the Cycles viewport rendering shows the transparent area created by the holdout as grey world background, but not the Background images. You can try this file: [camera_background_images.blend](https://archive.blender.org/developer/F7427664/camera_background_images.blend) Just hit shift+z to go to rendered viewport to see the issue. It does work fine in 2.79 (using mask layer in renderlayers)
Author
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Author
Member

Added subscribers: @fclem, @sebastian_k, @SeanKennedy

Added subscribers: @fclem, @sebastian_k, @SeanKennedy
Jeroen Bakker changed title from When rendering in viewport mode the draw manager do not pass correct Alpha values. to When rendering in viewport mode the draw engines do not pass correct Alpha values. 2019-06-21 10:51:45 +02:00
Jeroen Bakker self-assigned this 2019-06-21 10:51:45 +02:00

Added subscriber: @offshootuk

Added subscriber: @offshootuk

Added subscriber: @crantisz

Added subscriber: @crantisz

Looks like it was fixed beetween 2.81 (sub 13), branch: master, commit date: 2019-10-02 21:39, hash: 93e8c962fc and 2.81 (sub 14), branch: master, commit date: 2019-10-06 14:05, hash: 54a9649e26

Looks like it was fixed beetween 2.81 (sub 13), branch: master, commit date: 2019-10-02 21:39, hash: `93e8c962fc` and 2.81 (sub 14), branch: master, commit date: 2019-10-06 14:05, hash: `54a9649e26`
Author
Member

Patch is ready, but needs a lot of testing. As this is not a high prio, postponing this to b2.82

Patch is ready, but needs a lot of testing. As this is not a high prio, postponing this to b2.82

Added subscriber: @brecht

Added subscriber: @brecht

This is marked with the 2.82 milestone. If no fix is planned for that release, please move it to 2.83 or untag it from a specific milestone.

This is marked with the 2.82 milestone. If no fix is planned for that release, please move it to 2.83 or untag it from a specific milestone.

This seems to be working just fine in 2.83, so I guess it's already fixed.

This seems to be working just fine in 2.83, so I guess it's already fixed.
Author
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Author
Member

Not able to reproduce this anymore. When we redid the color management the drawing of the camera background images were also improved. Also checked with @sebastian_k

Not able to reproduce this anymore. When we redid the color management the drawing of the camera background images were also improved. Also checked with @sebastian_k
Thomas Dinges added this to the 2.83 LTS milestone 2023-02-08 16:39:39 +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
5 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#65988
No description provided.