GPencil: Layers used as mask and with viewlayer filter applied are rendered in all passes. #77667

Open
opened 2020-06-09 09:55:34 +02:00 by VLC · 5 comments

System Information
Operating system: Linux-5.4.43-1-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.82

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-07 22:16, hash: 281319653e

Short description of error
Layers, used by other layers as masks, are always rendered when they have a viewlayer filter applied in all render passes.
I feel a layer used as a mask for other layers and with viewlayer filtering it should work as a mask even when it is not rendered in a pass.
I don't know if this is intentional, a time limitation, or a complex implementation.
Assess whether this squares as a bug or feature recuest. Thank you very much for your wonderful work.

Exact steps for others to reproduce the error

  • Download the blend file.
  • Note that the layer called "masc" is used as a mask for the other two and all layers are filtered in viewlayer filter.
  • Render and note that the mask appears in both passes.
    GP bugreport viewlayerfilter and layers mask.blend
**System Information** Operating system: Linux-5.4.43-1-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.82 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-07 22:16, hash: `281319653e` **Short description of error** Layers, used by other layers as masks, are always rendered when they have a viewlayer filter applied in all render passes. I feel a layer used as a mask for other layers and with viewlayer filtering it should work as a mask even when it is not rendered in a pass. I don't know if this is intentional, a time limitation, or a complex implementation. Assess whether this squares as a bug or feature recuest. Thank you very much for your wonderful work. **Exact steps for others to reproduce the error** - Download the blend file. - Note that the layer called "masc" is used as a mask for the other two and all layers are filtered in viewlayer filter. - Render and note that the mask appears in both passes. [GP bugreport viewlayerfilter and layers mask.blend](https://archive.blender.org/developer/F8603435/GP_bugreport_viewlayerfilter_and_layers_mask.blend)
Author

Added subscriber: @VLC

Added subscriber: @VLC

Added subscribers: @fclem, @antoniov

Added subscribers: @fclem, @antoniov

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This is done by design. Actually, if you use a layer as mask it must be included in the render pipeline, so if you filter mask layer in viewlayer1 but use mask layer in viewlayer2, the maskwill be included.

I had to include the mask in dc6cee4724 874a078d86

@fclem any thought about this? Maybe you know a better fix.

Edit: I could try to filter the mask to viewlayer only if it used, but this will add render time.

This is done by design. Actually, if you use a layer as mask it must be included in the render pipeline, so if you filter `mask` layer in viewlayer1 but use `mask` layer in viewlayer2, the `mask`will be included. I had to include the mask in dc6cee4724fb 874a078d8651 @fclem any thought about this? Maybe you know a better fix. Edit: I could try to filter the mask to viewlayer only if it used, but this will add render time.
Antonio Vazquez changed title from Grease Pencil: Layers used as mask and with viewlayer filter applied are rendered in all passes. to GPencil: Layers used as mask and with viewlayer filter applied are rendered in all passes. 2020-06-09 11:01:07 +02:00
Author

I understand but, in that case, is it possible to automatically set the opacity of the layer to zero when it's used as a mask? Manually, it is impossible to set different opacity values ​​for each viewlayer filter, if this were possible this option would solve the problem.
Thanks guys!

I understand but, in that case, is it possible to automatically set the opacity of the layer to zero when it's used as a mask? Manually, it is impossible to set different opacity values ​​for each viewlayer filter, if this were possible this option would solve the problem. Thanks guys!
Philipp Oeser removed the
Interest
Grease Pencil
label 2023-02-09 15:19:54 +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
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#77667
No description provided.