Animated properties of View Layers are not updated when View Layer is not Active #98028

Open
opened 2022-05-10 23:59:59 +02:00 by Tiogshi Laj · 4 comments

System Information
Operating system: Windows 10, x64
Graphics card: nVidia GTX 1660

Blender Version
Broken: 3.1.0; 3.1.2; and 3.3.0-alpha (08a39d32)
Worked: none

Short description of error
I'm compositing separate View Layers of a single scene. To reduce render times, I want to not render View Layers which are currently completely hidden, so I'm animating the "Use for Rendering" property of some View Layers.

When rendering, it always works as expected... but in the editor, it seems that View Layers which are not the active workspace view layer do not update their animated properties when I move around on the timeline.

Exact steps for others to reproduce the error

Open attached bugreport-useforrender.blend

** bugreport-useforrender.blend

There is one Scene, "Scene". There are two View Layers, "View A" and "View B". Collection "Common" has a camera and light. Collection "Layer A" has a Cube. Collection "Layer B" has a Suzanne/monkey.

  • Set View Layer "View A" as active (it should be already in the example file).
    Observe the active collections. "View A" includes only the "Common" and "Layer A" collections, thus including the cube, camera, and light. Observe the Graph pane and Properties pane. View A is used for rendering from frames 1 to 60, and not used for rendering from frames 61 to 120.

  • Seek to a frame before 60. Render a frame with F12. Observe the monkey and the cube, as expected.

  • Seek to a frame after 60. Render a frame with F12. Observe only the monkey, as expected.

  • Set View Layer "Layer B" as active, while still on a frame after 60.
    ** Observe the active collections. "View B" includes only the "Common" and "Layer B" collections, thus including the monkey, camera, and light.

  • Seek to a frame after 60. Render a frame with F12. Observe only the monkey, as expected.

  • Seek to a frame before 60. Render a frame with F12. Observe only the monkey, but both a monkey and cube was expected.

  • Set View Layer "Layer A" as active, without changing the current frame.

  • Render a frame with F12. Observe the monkey and the cube, as expected, but not as consistent with a moment ago.

  • With either View Layer active, render the whole animation with Ctrl+F12. The resulting animation is always rendered as expected.

**System Information** Operating system: Windows 10, x64 Graphics card: nVidia GTX 1660 **Blender Version** Broken: 3.1.0; 3.1.2; and 3.3.0-alpha (08a39d32) Worked: none **Short description of error** I'm compositing separate View Layers of a single scene. To reduce render times, I want to not render View Layers which are currently completely hidden, so I'm animating the "Use for Rendering" property of some View Layers. When *rendering*, it always works as expected... but *in the editor*, it seems that View Layers which are not the active workspace view layer do not update their animated properties when I move around on the timeline. **Exact steps for others to reproduce the error** # Open attached `bugreport-useforrender.blend` ** [bugreport-useforrender.blend](https://archive.blender.org/developer/F13066134/bugreport-useforrender.blend) **There is one Scene, "Scene". There are two View Layers, "View A" and "View B".** Collection "Common" has a camera and light. Collection "Layer A" has a Cube. Collection "Layer B" has a Suzanne/monkey. * Set View Layer "View A" as active (it should be already in the example file). **Observe the active collections. "View A" includes only the "Common" and "Layer A" collections, thus including the cube, camera, and light.** Observe the Graph pane and Properties pane. View A is used for rendering from frames 1 to 60, and not used for rendering from frames 61 to 120. * Seek to a frame before 60. Render a frame with F12. Observe the monkey and the cube, as expected. * Seek to a frame after 60. Render a frame with F12. Observe only the monkey, as expected. * Set View Layer "Layer B" as active, while still on a frame after 60. ** Observe the active collections. "View B" includes only the "Common" and "Layer B" collections, thus including the monkey, camera, and light. * Seek to a frame after 60. Render a frame with F12. Observe only the monkey, as expected. * Seek to a frame before 60. Render a frame with F12. ***Observe only the monkey, but both a monkey and cube was expected.*** * Set View Layer "Layer A" as active, without changing the current frame. * Render a frame with F12. ***Observe the monkey and the cube, as expected, but not as consistent with a moment ago.*** * With either View Layer active, render the whole animation with Ctrl+F12. The resulting animation is always rendered as expected.
Author

Added subscriber: @tiogshi

Added subscriber: @tiogshi
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

It seems the render pipeline doesn't update the view layer animations before rendering them. I can see some comments about that, so this is probably what should happen.

It seems the render pipeline doesn't update the view layer animations before rendering them. I can see some comments about that, so this is probably what should happen.
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:03:50 +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#98028
No description provided.