Circle Selection do not selects in X-Ray mode with close range to elements #89295

Closed
opened 2021-06-19 19:30:30 +02:00 by Eugene Du · 10 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1650 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
Broken: 2.92

View Settings
View_Settings.png

Exact steps for others to reproduce the error
Circle_Selects_Bug.mp4
Circle_Selection_Bug.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1650 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` Broken: 2.92 **View Settings** ![View_Settings.png](https://archive.blender.org/developer/F10181763/View_Settings.png) **Exact steps for others to reproduce the error** [Circle_Selects_Bug.mp4](https://archive.blender.org/developer/F10181756/Circle_Selects_Bug.mp4) [Circle_Selection_Bug.blend](https://archive.blender.org/developer/F10181768/Circle_Selection_Bug.blend)
Author

Added subscriber: @APEC

Added subscriber: @APEC

Added subscriber: @rjg

Added subscriber: @rjg

While I haven't checked your file yet, this is a most likely a floating point precision issue due to the large clipping range. It makes checking of the Z-values problematic. Always avoid using such big clipping ranges.

While I haven't checked your file yet, this is a most likely a floating point precision issue due to the large clipping range. It makes checking of the Z-values problematic. Always avoid using such big clipping ranges.
Author

I tested with bigger Clipping Start value and found another strange issue with drawing the lines in Viewport.
Bigger Clipping Start range did not change Circle selection behavior, also lower Clipping End did not change behavior.
And I just noticed that it affect all types of selection (Box, Lasso), so bug report need to rename to somethings like
"Selection do not selects in X-Ray mode with close range to elements"

Bigger resolution to better see the issue with lines in Viewport.
Circle_select_issue2.mp4

I tested with bigger Clipping Start value and found another strange issue with drawing the lines in Viewport. Bigger Clipping Start range did not change Circle selection behavior, also lower Clipping End did not change behavior. And I just noticed that it affect all types of selection (Box, Lasso), so bug report need to rename to somethings like "Selection do not selects in X-Ray mode with close range to elements" Bigger resolution to better see the issue with lines in Viewport. [Circle_select_issue2.mp4](https://archive.blender.org/developer/F10182836/Circle_select_issue2.mp4)
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This is caused by part of the edge being behind the view, causing 2D projection to fail.

One possible solution to this problem is to clip the edges by the near-plane before projecting into screen-space.

It may be necessary to clip by the 4 planes defined by window bounds as well - to prevent points near the clip plane being too large or infinite - causing other calculations to fail.

This is caused by part of the edge being behind the view, causing 2D projection to fail. One possible solution to this problem is to clip the edges by the near-plane before projecting into screen-space. It may be necessary to clip by the 4 planes defined by window bounds as well - to prevent points near the clip plane being too large or infinite - causing other calculations to fail.

Committing a fix shortly & closing as a duplicate of #32214.

Committing a fix shortly & closing as a duplicate of #32214.

Closed as duplicate of #32214

Closed as duplicate of #32214
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
4 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#89295
No description provided.