New 3D Viewports do not show X-Ray shading correctly #105460

Closed
opened 2023-03-05 14:53:06 +01:00 by Chyou · 9 comments

System Information
Operating system:win11
Graphics card:3070

Blender Version
Broken:3.41‘s bug (example: 2.80, edbf15d3c0, master, 2018-11-28, as found on the splash screen)
Worked: (newest version of Blender that worked as expected)

Short description of error
New 3d views after the first one cant show X-Ray mode normally 视图显示“材质预览”下的编辑模式,透视打开,最初的第一个3d窗口可以显示背面的点,之后的3d窗口无法显示背面的点

Exact steps for others to reproduce the error

  • Start with the default .blend file
  • Change the Timeline editor into a new 3D Viewport
  • Go into Edit mode for the Cube object
  • Turn on X-Ray mode in both 3D Viewports
  • Change the Viewport shading mode as follows
    • Solid mode works correctly in both editors
    • Material Preview only works for the original editor
    • Rendered only works for the original editor

(see solid.png, preview.png, and rendered.png below)

**System Information** Operating system:win11 Graphics card:3070 **Blender Version** Broken:3.41‘s bug (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen) Worked: (newest version of Blender that worked as expected) **Short description of error** New 3d views after the first one cant show X-Ray mode normally 视图显示“材质预览”下的编辑模式,透视打开,最初的第一个3d窗口可以显示背面的点,之后的3d窗口无法显示背面的点 **Exact steps for others to reproduce the error** * Start with the default .blend file * Change the Timeline editor into a new 3D Viewport * Go into Edit mode for the Cube object * Turn on X-Ray mode in both 3D Viewports * Change the Viewport shading mode as follows * Solid mode works correctly in both editors * Material Preview only works for the original editor * Rendered only works for the original editor (see solid.png, preview.png, and rendered.png below)
Chyou added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-03-05 14:53:07 +01:00
Iliya Katushenock added the
Interest
EEVEE & Viewport
label 2023-03-05 14:59:24 +01:00

Hello, please use English for reporting

Hello, please use English for reporting
Author

Hello, please use English for reporting

okay, I'll try my best

> Hello, please use English for reporting okay, I'll try my best
Chyou changed title from 【BUG】材质预览视图下的透视bug to 【BUG】new 3d view after the first one cant show perspective mode normaly 2023-03-05 15:29:36 +01:00

I can confirm. I'll change the title+description to better indicate the problem. This issue seems to have been around for quite some time.

I can confirm. I'll change the title+description to better indicate the problem. This issue seems to have been around for quite some time.
Jesse Yurkovich changed title from 【BUG】new 3d view after the first one cant show perspective mode normaly to New 3D Viewports do not show X-Ray shading correctly 2023-03-05 23:42:57 +01:00
Jesse Yurkovich added
Module
EEVEE & Viewport
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-03-05 23:43:11 +01:00

I'm a new developer, and I've successfully reproduced the error. I feel like with a little guidance I could fix this issue. Any advice would be greatly appreciated!

I'm a new developer, and I've successfully reproduced the error. I feel like with a little guidance I could fix this issue. Any advice would be greatly appreciated!

I don't think this is a bug that can be fixed. Looks like a depth buffer limitation. We shouldn't accept such bugs...?

I don't think this is a bug that can be fixed. Looks like a depth buffer limitation. We shouldn't accept such bugs...?
Member

I think if this was simply an implementation limitation, the default viewport would show the same behavior.

My first assumption was that this could be simply a setting that is disabled by default in new viewports, but is enabled in the default viewport.
I'm not sure if that's the case, though.

@Piyush-Aniruddha-Udhao I would start by making captures in RenderDoc or Nsight, and see what's different between them.
That should point you in the right direction.

https://wiki.blender.org/wiki/Source/EEVEE_%26_Viewport/GPU_Module#Debugging
https://youtu.be/OxwrSdt6I4w?t=2545

I think if this was simply an implementation limitation, the default viewport would show the same behavior. My first assumption was that this could be simply a setting that is disabled by default in new viewports, but is enabled in the default viewport. I'm not sure if that's the case, though. @Piyush-Aniruddha-Udhao I would start by making captures in RenderDoc or Nsight, and see what's different between them. That should point you in the right direction. https://wiki.blender.org/wiki/Source/EEVEE_%26_Viewport/GPU_Module#Debugging https://youtu.be/OxwrSdt6I4w?t=2545

thank you so much @pragma37
will do that right now

thank you so much @pragma37 will do that right now

@pragma37 um, I'm sorry but I am facing some difficulties understanding on how I should use these tools. Could you help me a little bit more?

@pragma37 um, I'm sorry but I am facing some difficulties understanding on how I should use these tools. Could you help me a little bit more?
Member

Sorry, but I don't think I can provide you a better explanation than the onboarding presentation I've linked to.

I guess you're not familiar with GPU programming?
Then it may be best for you to look at issues from other modules for now.

https://projects.blender.org/blender/blender/issues?q=&type=all&sort=&state=open&labels=302&milestone=0&project=0&assignee=0&poster=0

Sorry, but I don't think I can provide you a better explanation than the onboarding presentation I've linked to. I guess you're not familiar with GPU programming? Then it may be best for you to look at issues from other modules for now. https://projects.blender.org/blender/blender/issues?q=&type=all&sort=&state=open&labels=302&milestone=0&project=0&assignee=0&poster=0
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-01-05 14:00:22 +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#105460
No description provided.