Viewport redraws unnecessarily after each selection when using Eevee in look-dev or rendered modes #75204

Open
opened 2020-03-30 06:33:51 +02:00 by Jesse Yurkovich · 13 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66

Blender Version
Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-03-29 21:36, hash: a103d09df4
Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-21 20:58, hash: 9e8afa8817
Worked: n/a

Short description of error
The viewport will unnecessarily redraw each time a selection change occurs when using Eevee's rendered mode or look-dev mode. This does not occur with the Cycles Rendered viewport.

Exact steps for others to reproduce the error
Load the attached .blend
badredraws.blend

  • Contains a default cube, a ground plane, and 1 large radius light (to make it obvious that things are redrawing)
  • Go into look-dev or rendered modes with Eevee as the render engine
  • Select each object in the scene and notice that the viewport redraws each time a new selection is made (obvious due to the flickering of the shadows)
  • If switched to cycles rendered mode, selection changes do not cause re-rendering
**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66 **Blender Version** Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-03-29 21:36, hash: `a103d09df4` Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-21 20:58, hash: `9e8afa8817` Worked: n/a **Short description of error** The viewport will unnecessarily redraw each time a selection change occurs when using Eevee's rendered mode or look-dev mode. This does not occur with the Cycles Rendered viewport. **Exact steps for others to reproduce the error** Load the attached .blend [badredraws.blend](https://archive.blender.org/developer/F8436294/badredraws.blend) - Contains a default cube, a ground plane, and 1 large radius light (to make it obvious that things are redrawing) - Go into look-dev or rendered modes with Eevee as the render engine - Select each object in the scene and notice that the viewport redraws each time a new selection is made (obvious due to the flickering of the shadows) - If switched to cycles rendered mode, selection changes do not cause re-rendering
Author
Member

Added subscriber: @deadpin

Added subscriber: @deadpin
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Cycles has a own copy of the scene and synchronizes this when no differences is found it will continue rendering from the same it was at. EEVEE and workbench doesn't have this mechanism and a redraw of the 3d viewport will just do a redraw.

Adding similar technique to EEVEE and workbench would increase memory need. I'm not sure if we want to this kind of optimizations due the drawbacks (performance, memory, complexity) it may have. I would not categorize this as a bug, as the current code works as designed. If we want to solve this for the draw engines we need to come up with a better implementation. for example selection will not trigger a full redraw, but only a redraw of the overlay. This is currently not supported and needs to be designed/developed from scratch.

Cycles has a own copy of the scene and synchronizes this when no differences is found it will continue rendering from the same it was at. EEVEE and workbench doesn't have this mechanism and a redraw of the 3d viewport will just do a redraw. Adding similar technique to EEVEE and workbench would increase memory need. I'm not sure if we want to this kind of optimizations due the drawbacks (performance, memory, complexity) it may have. I would not categorize this as a bug, as the current code works as designed. If we want to solve this for the draw engines we need to come up with a better implementation. for example selection will not trigger a full redraw, but only a redraw of the overlay. This is currently not supported and needs to be designed/developed from scratch.
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

#73992 (Every click updates the cycles viewport render. It not happen in previous versions.) this report says the opposite: while using cycles, a click (that selects an object) the scene updates.

edit: this report is still correct though, wasn't trying to close. Just link possibly related reports

#73992 (Every click updates the cycles viewport render. It not happen in previous versions.) this report says the opposite: while using cycles, a click (that selects an object) the scene updates. edit: this report is still correct though, wasn't trying to close. Just link possibly related reports

Added subscriber: @iss

Added subscriber: @iss

If switched to cycles rendered mode, selection changes do not cause re-rendering

Checked out a103d09df4 and I can not reproduce this. Should we investigate this if it really happens (change report to "missing update")?

>If switched to cycles rendered mode, selection changes do not cause re-rendering Checked out `a103d09df4` and I can not reproduce this. Should we investigate this if it really happens (change report to "missing update")?

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Given @Jeroen-Bakker's comment, I intended to mark this as a known issue.
But I was unable to replicate the behavior described for Cycles.
I tested it in different versions. Is there anything missing in the description?

Given @Jeroen-Bakker's comment, I intended to mark this as a known issue. But I was unable to replicate the behavior described for Cycles. I tested it in different versions. Is there anything missing in the description?
Author
Member

A known issue is fine I guess albeit a bit unfortunate.

Cycles does not have the problem in my tests at least. It was only mentioned as a comparison against Eevee. Given what jbakker has said though, if you do find a time where cycles re-renders the viewport, during just a selection change, that should be filed as a different bug.

A known issue is fine I guess albeit a bit unfortunate. Cycles does _not_ have the problem in my tests at least. It was only mentioned as a comparison against Eevee. Given what jbakker has said though, if you do find a time where cycles re-renders the viewport, during just a selection change, that should be filed as a different bug.

Ah I can confirm Cycles' behavior! (before I was testing in edit mode, my mistake)
This can be resolved sometime as the code constantly changes.
But it is not really considered a bug as it works as designed.

Ah I can confirm Cycles' behavior! (before I was testing in edit mode, my mistake) This can be resolved sometime as the code constantly changes. But it is not really considered a bug as it works as designed.

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:14:59 +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#75204
No description provided.