Snap to high-res mesh unknown bug #51492

Closed
opened 2017-05-14 08:53:54 +02:00 by Alexey · 11 comments

System Information
windows7 64
ASUS ATI Radeon HD6870

Blender Version
Broken: (All)
Worked: (None)

Short description of error
this is very strange behavior.
1st time i was activate this bug with sculpting
2nd time i was add hi-res model, and try to snap - bug will active
create hi-res model
1.png
draw anything, create relief
2.png
smooth this model
3.png
add any other object to this scene, go to edit mode, try to snap to this sphere(vertex,edge, face - is not important) and we will have incorrect snap
4.png

Exact steps for others to reproduce the error
open this file sculpt and snap bug.blend1
press G to grab, try to snap to sphere - we will have incorrect snap

**System Information** windows7 64 ASUS ATI Radeon HD6870 **Blender Version** Broken: (All) Worked: (None) **Short description of error** this is very strange behavior. 1st time i was activate this bug with sculpting 2nd time i was add hi-res model, and try to snap - bug will active create hi-res model ![1.png](https://archive.blender.org/developer/F598156/1.png) draw anything, create relief ![2.png](https://archive.blender.org/developer/F598158/2.png) smooth this model ![3.png](https://archive.blender.org/developer/F598163/3.png) add any other object to this scene, go to edit mode, try to snap to this sphere(vertex,edge, face - is not important) and we will have incorrect snap ![4.png](https://archive.blender.org/developer/F598167/4.png) **Exact steps for others to reproduce the error** open this file [sculpt and snap bug.blend1](https://archive.blender.org/developer/F598173/sculpt_and_snap_bug.blend1) press G to grab, try to snap to sphere - we will have incorrect snap
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Inwader77

Added subscriber: @Inwader77

Added subscriber: @zeauro

Added subscriber: @zeauro

There is no bug, here.

You specified VERTEX as snap element target.
So, your selected vertex is snapped to vertex of high poly mesh closest to your cursor from choosen point of view.

When cursor is pointing to a face on visible front side of high poly mesh ; from choosen point of view, a vertex of hidden backside of your mesh can be closest to pointer than a vertex of face where is placed pointer.

You just have to be consistent and choose FACE as snap element to snap a vertex on visible front surface to avoïd problems.

Snapping to vertices on backside of model does not make sense to do retopology of a high poly mesh.
But it can be really helpful in regular low-medium poly mesh editing in wireframe mode.
So, current behaviour of VERTEX as snap element is consistent in many other contexts.

So, please use the tool appropriate to the context.

There is no bug, here. You specified VERTEX as snap element target. So, your selected vertex is snapped to vertex of high poly mesh closest to your cursor from choosen point of view. When cursor is pointing to a face on visible front side of high poly mesh ; from choosen point of view, a vertex of hidden backside of your mesh can be closest to pointer than a vertex of face where is placed pointer. You just have to be consistent and choose FACE as snap element to snap a vertex on visible front surface to avoïd problems. Snapping to vertices on backside of model does not make sense to do retopology of a high poly mesh. But it can be really helpful in regular low-medium poly mesh editing in wireframe mode. So, current behaviour of VERTEX as snap element is consistent in many other contexts. So, please use the tool appropriate to the context.
Author

This comment was removed by @Inwader77

*This comment was removed by @Inwader77*
Author

i was repeat this error with faces too.
but we have strange behavior:
if we save, close and open again - working will properly

i was repeat this error with faces too. but we have strange behavior: if we save, close and open again - working will properly
Author

save and revert - working properly too.
working with bug only without save

save and revert - working properly too. working with bug only without save

Added subscribers: @mano-wii, @bliblubli

Added subscribers: @mano-wii, @bliblubli
Germano Cavalcante was assigned by mathieu menuet 2017-06-02 06:57:12 +02:00

I tried on a not-saved file and I see no bug. I don't see any reason in this case how not saving the file could influence snapping.
The problem is more that snapping doesn't respect the 'limit to visible' toggle of selection mode.
I think @mano-wii wrote a patch for this, not sure if it's ready for release? Will let you decide on this one.

I tried on a not-saved file and I see no bug. I don't see any reason in this case how not saving the file could influence snapping. The problem is more that snapping doesn't respect the 'limit to visible' toggle of selection mode. I think @mano-wii wrote a patch for this, not sure if it's ready for release? Will let you decide on this one.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Tha sanp in blender still does not support occlusion (ignoring elements that are behind faces).
Blender 2.8 will bring some changes to the mesh mapping that will influence the snapping code. The implementation of occlusion test can be thought of in a more efficient and simple way when this change in the meshes has been implemented.

Added to TODO list:
https://wiki.blender.org/index.php/Dev:Source/Development/Todo/Tools#Transform_Snap

Tha sanp in blender still does not support occlusion (ignoring elements that are behind faces). Blender 2.8 will bring some changes to the mesh mapping that will influence the snapping code. The implementation of occlusion test can be thought of in a more efficient and simple way when this change in the meshes has been implemented. Added to TODO list: https://wiki.blender.org/index.php/Dev:Source/Development/Todo/Tools#Transform_Snap
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
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#51492
No description provided.