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

Draft
Sergey Sharybin wants to merge 2 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
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
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
Some checks failed
buildbot/vexp-code-patch-coordinator Build done.
This pull request has changes conflicting with the target branch.
  • source/blender/depsgraph/DEG_depsgraph.h
  • source/blender/depsgraph/intern/depsgraph.cc
  • source/blender/depsgraph/intern/depsgraph.h
  • source/blender/editors/render/render_intern.hh

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
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.