Metal: selection with GPU depth picking is broken in wireframe mode #106742
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#106742
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: macOS-12.3.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 5500M 1.2
Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash:
1be25cfff18b
Worked: (newest version of Blender that worked as expected)
Short description of error
When working in the 3D viewport, when in Wireframe mode and Xray mode is OFF, clicks to select an object are passed through and select objects behind the object. It's very difficult to select the object whose intention it is to select.
https://drive.google.com/file/d/1pY4Eyi9aVKrMxoMvUx-lvnYM2Ef4yD_k/view?usp=sharing
The video link above demonstrates this.
Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]
Hello Christopher!
I know its not much help, m trying to reproduce this, but im on windows, here its work that im click the first in a row object its select normally, and if click again its jump the next behind. It worked with and without gpu depth and without selection in settings.
Hi, thanks for the report. Can you check whether
GPU Depth Picking
is enabled in preferences?Does this issue happen with both Metal and OpenGL viewport backend?
Can you share .blend file?
AH! That did it. GPU Depth Picking was enabled, I'm guessing by default(?). When I disable it while using the Metal backend, selection now works predictably in Wireframe view without Xray on.
My workaround was to switch over to Shaded view as selection seemed to work correctly there.
I can share the project if you need it.
I just did a test where I switched over to OpenGL for the backend, and enabled GPU Depth Picking. With these conditions, selection is correct in Wireframe (non-Xray).
However, if I turn off GPU-Depth Picking in OpenGL, then it has the same selection problem (picking items behind what you are trying to select).
ok, thanks for the update. With GPU depth picking, visible object is expected to be selected first.
So If I understand correctly, problem is with Metal backend.
cc @Michael-Parkin-White-Apple
Yes, please share a simplified version of it.
Wireframe Viewport mode, object selection is brokento Metal: Wireframe Viewport mode, object selection is brokenhttps://drive.google.com/file/d/1k9hZynmMqrx7xxkcKkNwvdiy2thBmqeY/view?usp=sharing
Here's the project, minus textures which I don't think are needed for this purpose.
Yes, I was having the problem with Metal backend and GPU Picking enabled.
Will have a look into this, thank you for the report. It is possible that this is the same issue causing the texture paint selection, so will see if that solution also works in this instance.
Metal: Wireframe Viewport mode, object selection is brokento Metal: selection with GPU depth picking is broken in wireframe modeProbably related: Metal Viewport: Navigation issue with 'Auto Depth' and 'Wireframe' enabled #107159