Loss of Viewport Shading color in 3D Viewport #120751

Open
opened 2024-04-17 21:57:18 +02:00 by Olivier · 2 comments

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86

Blender Version
Broken: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: e1743a0317bc
Worked: (newest version of Blender that worked as expected)

Short description of error
When zoom in the 3D Viewport Shading loose the Color of mesh.

Exact steps for others to reproduce the error
open my test file, in Object or Edit Mode
zoom or Rotate view in 3D Viewport or change size of 3D Viewport Aera by moving the common side with Properties Aera
4.1.0 : the problem is visible
4.1.1 launch with --factory-startup : the problem is visible
4.2.0 alpha main.d3fb68f5183b : the problem is visible

4.1.1 launch with --factory-startup and without Load UI : the problem is not visible
3.6.11 : the problem is not visible

I cannot reproduce my problem on a Default scene, only on my scene
Because it's first time I can see this and the problem doesn't appear on 3.6.11 I think it's intressting to share

**System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86 **Blender Version** Broken: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: `e1743a0317bc` Worked: (newest version of Blender that worked as expected) **Short description of error** When zoom in the 3D Viewport Shading loose the Color of mesh. **Exact steps for others to reproduce the error** open my test file, in Object or Edit Mode zoom or Rotate view in 3D Viewport or change size of 3D Viewport Aera by moving the common side with Properties Aera 4.1.0 : the problem is visible 4.1.1 launch with --factory-startup : the problem is visible 4.2.0 alpha main.d3fb68f5183b : the problem is visible 4.1.1 launch with --factory-startup and without Load UI : the problem is not visible 3.6.11 : the problem is not visible I cannot reproduce my problem on a Default scene, only on my scene Because it's first time I can see this and the problem doesn't appear on 3.6.11 I think it's intressting to share
Olivier added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2024-04-17 21:57:19 +02:00
Member

Extreme near/far clipping plane seems to be causing the issue. In your file you have set start = 0.0001 and end = 10000. By default it is 0.01 to 1000. Perspective division is known to have very little precision in extreme start/end clipping plane values.

3.6 doesn't seem to have this problem even if the clipping plane is set to such angle. Also, if you don't load UI, the view clipping plane associated with individual 3d viewport won't be loaded and the value should be good.

Looks to me this could be caused by precision issue in frustum clipping (if viewport has one)?

Extreme near/far clipping plane seems to be causing the issue. In your file you have set `start = 0.0001` and `end = 10000`. By default it is 0.01 to 1000. Perspective division is known to have very little precision in extreme start/end clipping plane values. 3.6 doesn't seem to have this problem even if the clipping plane is set to such angle. Also, if you don't load UI, the view clipping plane associated with individual 3d viewport won't be loaded and the value should be good. Looks to me this could be caused by precision issue in frustum clipping (if viewport has one)?
YimingWu added
Module
EEVEE & Viewport
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-04-18 04:32:18 +02:00
Author

yes you're right, in fact this only happens on extreme ranges of clipping values, for example :
start = 0.01 and end = 1000000
start = 0.001 and end = 100000
start = 0.0001 and end = 10000
with an order-of-magnitude difference of 100 million
it's happen only for color

In fact, it's easy to reproduce in a Startup File, just enter the extreme values in Clipping View.
even in 3.6.11

perhaps a user-side bug 🫣

yes you're right, in fact this only happens on extreme ranges of clipping values, for example : `start = 0.01` and `end = 1000000` `start = 0.001` and `end = 100000` `start = 0.0001` and `end = 10000` with an order-of-magnitude difference of 100 million it's happen only for color **In fact, it's easy to reproduce in a Startup File, just enter the extreme values in Clipping View.** even in 3.6.11 perhaps a user-side bug 🫣
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#120751
No description provided.