WIP: Allow forcing viewport view layer depsgraph to use rendered mode #108615

Draft
Sergey Sharybin wants to merge 12 commits from Sergey/blender:view_layer_render_mode into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

This is a debugging tool for technical artists, to help nailing down
render artifacts while having all troubleshooting tools available:
for example, easier navigation, objects visibility control, geometry
nodes spreadsheet, etc.

Available as a "mode" changing button in a new Dependency Graph panel
in the View Layer buttons. The evaluation mode is not stored in the
.blend file to avoid creation of possible confusion.

TODO:

  • More clear UI
  • Support geometry node s viewer node
  • Selection of objects hidden for viewport but not render in render depsgrpah mode
This is a debugging tool for technical artists, to help nailing down render artifacts while having all troubleshooting tools available: for example, easier navigation, objects visibility control, geometry nodes spreadsheet, etc. Available as a "mode" changing button in a new Dependency Graph panel in the View Layer buttons. The evaluation mode is not stored in the .blend file to avoid creation of possible confusion. TODO: - [x] More clear UI - [ ] Support geometry node s viewer node - [ ] Selection of objects hidden for viewport but not render in render depsgrpah mode
Sergey Sharybin added 2 commits 2023-06-05 10:47:34 +02:00
41805ad5d3 Allow forcing viewport view layer depsgraph to use rendered mode
This is a debugging tool for technical artists, to help nailing down
render artifacts while having all troubleshooting tools available:
for example, easier navigation, objects visibility control, geometry
nodes spreadsheet, etc.

Available as a "mode" changing button in a new Dependency Graph panel
in the View Layer buttons. The evaluation mode is not stored in the
.blend file to avoid creation of possible confusion.
buildbot/vexp-code-patch-coordinator Build done. Details
2c3b798764
Improve visual feedback when render resolution is used
Mark the switch button red when the viewport is in render resolution and
visibility.

Also put a message in the status bar, so it is always visible.
Sergey Sharybin added the
Module
Core
label 2023-06-05 10:47:45 +02:00
Author
Owner

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR108615) when ready.
Member

Gave it a quick test:

  • Looks like when testing in the default scene the cube visibility is also toggled with the viewport toggle, not just the render toggle
  • I think that using the word resolution is going to be confusing to most users, as this is usually only used in specific context. Mode seems more intuitive to me.
  • The message in the status bar should maybe be right aligned, rather then left. Right now it is jumping around a lot
  • I'd propose to have the warning message that elaborates on the context of the button turning red, whenever it is toggled. The message in the status bar could then also be shorter. Something like Render Visibility Mode or such
Gave it a quick test: - Looks like when testing in the default scene the cube visibility is also toggled with the viewport toggle, not just the render toggle - I think that using the word `resolution` is going to be confusing to most users, as this is usually only used in specific context. Mode seems more intuitive to me. - The message in the status bar should maybe be right aligned, rather then left. Right now it is jumping around a lot - I'd propose to have the warning message that elaborates on the context of the button turning red, whenever it is toggled. The message in the status bar could then also be shorter. Something like `Render Visibility Mode` or such
Sergey Sharybin added 2 commits 2024-02-19 16:19:56 +01:00
Sergey Sharybin added 1 commit 2024-02-19 16:59:29 +01:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
b38f4a0445
Address feedback from Simon:
- Use "Mode" instead of "Resolution".
  It is more of a mode, so is fitting. And meaning is more clear.

- Align message to the right in the status bar.

- Add label with explanation next to the switch button.
  The caveat is that the label could be long, and not automatically word-wrapped.

- Made status bar message more terse.
Author
Owner

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR108615) when ready.
Simon Thommes reviewed 2024-02-19 17:14:52 +01:00
Simon Thommes left a comment
Member

Just to have this here:
We talked in person about changing the Button label to Enable/Disable Render Evaluation Mode depending on the toggle status.

Just to have this here: We talked in person about changing the Button label to `Enable/Disable Render Evaluation Mode` depending on the toggle status.
Sergey Sharybin added 1 commit 2024-02-19 17:38:07 +01:00
Sergey Sharybin added 1 commit 2024-02-19 17:54:29 +01:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
0ff49704c7
Make draw manager and Cycles properly handle visibility
Author
Owner

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR108615) when ready.
Sergey Sharybin added 1 commit 2024-04-15 14:57:18 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
ec262f25aa
Merge branch 'main' into view_layer_render_mode
Author
Owner

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR108615) when ready.
Author
Owner

@blender-bot package

@blender-bot package
Sergey Sharybin added 2 commits 2024-04-15 15:30:05 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
ef65c90ebd
Fix: memory leak
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR108615) when ready.
Sergey Sharybin added 1 commit 2024-04-15 15:49:38 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
7a1f14eaab
Fix: Use-after-free of cache of operations
Also no need to explicitly clear physics relations, as it is done
via clear_id_nodes -> clear_physics_relations.
Author
Owner

@blender-bot build

@blender-bot build
Sergey Sharybin added 1 commit 2024-04-17 12:18:22 +02:00
This pull request is marked as a work in progress.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u view_layer_render_mode:Sergey-view_layer_render_mode
git checkout Sergey-view_layer_render_mode
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
3 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#108615
No description provided.