(Vertex)-Snapping issues, especially on very large Scenes #41018

Closed
opened 2014-07-10 16:42:25 +02:00 by Leonardo Kämpf · 20 comments

System Information

Win 7 64x (but experienced this issue on Ubuntu as well)
Geforce GTX 560 ti

Blender Version

2.71 (but experienced this issue on older versions)

Descriprion
vertex-snapping in ortographic view is kind of displaced.
usualy its acceptable cause the displacement between snapping-area and in viewport rendered vertex is very minor.
But currently im working on a Scene that is about 5km tall and with objects that huge, vertex snapping cannot find the right vertices for snapping.

Reproducion
go orthograpic view,
draw a uv sphere with dimentions about 5000 units
set near clipping plane 0.10
and far clipping 200000
vertex snapping is hardly possible.

[Cause]
In my opinion snapping just checks the vertex positions in the viewport that they occupy in perspective-mode,
even the user has the orhogaphic view activated. so there appears some displacement.

Workaround
just go to perspective viewport-rendering

**System Information** Win 7 64x (but experienced this issue on Ubuntu as well) Geforce GTX 560 ti **Blender Version** 2.71 (but experienced this issue on older versions) **Descriprion** vertex-snapping in ortographic view is kind of displaced. usualy its acceptable cause the displacement between snapping-area and in viewport rendered vertex is very minor. But currently im working on a Scene that is about 5km tall and with objects that huge, vertex snapping cannot find the right vertices for snapping. **Reproducion** go orthograpic view, draw a uv sphere with dimentions about 5000 units set near clipping plane 0.10 and far clipping 200000 vertex snapping is hardly possible. **[Cause]** In my opinion snapping just checks the vertex positions in the viewport that they occupy in perspective-mode, even the user has the orhogaphic view activated. so there appears some displacement. **Workaround** just go to perspective viewport-rendering

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @LeonardoKampf

Added subscriber: @LeonardoKampf

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2014-07-10 19:00:15 +02:00

With such and extreme values you're hitting limitation of single precision floating point datatype. It'll be improved if we switch to double precision, but that's rather enormous project which we're considering TODO still.

Thanks for the report, but we're all we;; aware of such limitations and eventually will solve this by switching to a double precision.

With such and extreme values you're hitting limitation of single precision floating point datatype. It'll be improved if we switch to double precision, but that's rather enormous project which we're considering TODO still. Thanks for the report, but we're all we;; aware of such limitations and eventually will solve this by switching to a double precision.

Hi,
thank you for taking time,

But this snapping issue appears in small objects as well, in huge objects this effects is only more extreme.
has this snapping-in-orthographica-mode-issue, in general, to do with rounding errors?

Hi, thank you for taking time, But this snapping issue appears in small objects as well, in huge objects this effects is only more extreme. has this snapping-in-orthographica-mode-issue, in general, to do with rounding errors?

Well, if it appears for small objects and sane clipping, please upload .blend file which demonstrates the issue. That'd help a lot.

Well, if it appears for small objects and sane clipping, please upload .blend file which demonstrates the issue. That'd help a lot.

Ok maybe i mixed two differend things together

but both are a little bit annoying.

if this would be a bit mor accurate,
this would give me a 10% boost in my workingspeed

snappingIssue.blend

Ok maybe i mixed two differend things together but both are a little bit annoying. if this would be a bit mor accurate, this would give me a 10% boost in my workingspeed [snappingIssue.blend](https://archive.blender.org/developer/F97407/snappingIssue.blend)

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Added subscribers: @mont29, @Psy-Fi

Added subscribers: @mont29, @Psy-Fi

Can't really reproduce the issue here, snapping works rather fine here.

@Psy-Fi, @mont29, mind trying to reproduce the issue?

Can't really reproduce the issue here, snapping works rather fine here. @Psy-Fi, @mont29, mind trying to reproduce the issue?

Well, on that file I can reproduce the issue on the left screen but not on the spheres at the right. The clipping values are so extreme that we are getting zfighting between the wireframe and solid mesh just by zooming though. We usually solve such issues by projecting the ray so that it begins from mesh bound box boundaries instead of the clipping plane, but I seem to remember that we do that already for snapping. If that's the case then I'm afraid this won't be solvable without double precision.

Well, on that file I can reproduce the issue on the left screen but not on the spheres at the right. The clipping values are so extreme that we are getting zfighting between the wireframe and solid mesh just by zooming though. We usually solve such issues by projecting the ray so that it begins from mesh bound box boundaries instead of the clipping plane, but I seem to remember that we do that already for snapping. If that's the case then I'm afraid this won't be solvable without double precision.

Ok very strange, that the snapping issue's didn't appeare in your systems, cause it was so exteme in mine.
maybe different handling in 64x an 32x.

edit: now im working on the same scene (wher i first sumble uppon this issue) with the same computer. and snapping works fine now.
dayum, I cannot reproduce it even by myself !

But in the blend that i send you , snapping vertices on the sphere in the upper right viewport, is not possible on my ubuntu 14.04 64x and my Win 7 64x

Ok very strange, that the snapping issue's didn't appeare in your systems, cause it was so exteme in mine. maybe different handling in 64x an 32x. edit: now im working on the same scene (wher i first sumble uppon this issue) with the same computer. and snapping works fine now. dayum, I cannot reproduce it even by myself ! But in the blend that i send you , snapping vertices on the sphere in the upper right viewport, is not possible on my ubuntu *14.04 64x* and my *Win 7 64x*

As psy-fi, can only see issue with left part, the spheres snap OK for me (linux64 here)…

As psy-fi, can only see issue with left part, the spheres snap OK for me (linux64 here)…
Sergey Sharybin removed their assignment 2014-07-31 16:31:48 +02:00
Added subscribers: @MartijnBerger, @LukasTonne, @ThomasDinges, @Sergey

Can't reproduce issue with spheres as well.

@ThomasDinges, @MartijnBerger, @LukasTonne mind trying your luck here? :)

Can't reproduce issue with spheres as well. @ThomasDinges, @MartijnBerger, @LukasTonne mind trying your luck here? :)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2014-08-12 10:35:07 +02:00

Ah ok, seems i see now what kind of issues monatsend was having with the spheres, needed to zoom out a bit in that views.

But that's exactly the same issue as in the left viewport, too much extreme clipping range, which even confuses OpenGL Z-Buffer. You're also having quite extreme scaling on the object, so all this combined together ends up with a huge floating point precision hell..

Some aspects might be improved by switching to a double precision (which is rather really huge project on it's own),or maybe doing some smarter things for ray intersection (which could only solve snapping issue, leaving all the rest unsolved..)

So afraid we'll consider this a TODO for now, not that trivial TODO even.. Thanks for the report anyway!

Ah ok, seems i see now what kind of issues monatsend was having with the spheres, needed to zoom out a bit in that views. But that's exactly the same issue as in the left viewport, too much extreme clipping range, which even confuses OpenGL Z-Buffer. You're also having quite extreme scaling on the object, so all this combined together ends up with a huge floating point precision hell.. Some aspects might be improved by switching to a double precision (which is rather really huge project on it's own),or maybe doing some smarter things for ray intersection (which could only solve snapping issue, leaving all the rest unsolved..) So afraid we'll consider this a TODO for now, not that trivial TODO even.. Thanks for the report anyway!

Hi,
Its me ... again

sorry for rerolling this report ... again
but now I have the Issue in the same scene, but even if I scaled the object to a appropriate size, I'm not able to snap onto vertices or edges.

When I append just the object to a new Scene, snapping works just fine.

Maybe this isnt the right plce to talk about it, but I already startet a "bug-report" with this topic.

It would be nice if you can find the time to take a look at the file. sonnentempel7_Issue.blend

thanks in advance

monatsend on a win 64

Hi, Its me ... again sorry for rerolling this report ... again but now I have the Issue in the same scene, but even if I scaled the object to a appropriate size, I'm not able to snap onto vertices or edges. When I append just the object to a new Scene, snapping works just fine. Maybe this isnt the right plce to talk about it, but I already startet a "bug-report" with this topic. It would be nice if you can find the time to take a look at the file. [sonnentempel7_Issue.blend](https://archive.blender.org/developer/F110889/sonnentempel7_Issue.blend) thanks in advance monatsend on a win 64

Two things:

  • You need to enable "Snap during transform", Shift-Tab, but perhaps this you already know
  • You've got "Snap onto itself" disabled, this for sure explains why you snapping to vertices of your mesh doesn't happen
Two things: - You need to enable "Snap during transform", Shift-Tab, but perhaps this you already know - You've got "Snap onto itself" disabled, this for sure explains why you snapping to vertices of your mesh doesn't happen

Thank you,
now Im feeling very stupid...

I was so fixated on this problem...
with blender you all doing a great work
have a nice week

monatsend

Thank you, now Im feeling very stupid... I was so fixated on this problem... with blender you all doing a great work have a nice week monatsend
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#41018
No description provided.