Sculpting Smooth brush unexpected result with vertices with two edges #78747

Closed
opened 2020-07-09 00:15:17 +02:00 by Jason S · 15 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.13587 Core Profile Context 20.4.2 26.20.15029.27016

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7
Worked: (newest version of Blender that worked as expected)

Short description of error
While using smooth brush, the mesh has pixels spiking out of the mesh where smooth brush was passed over.

#78747.blend

  • Open file
  • one regular Cube (Cube_quads)
  • one Cube with an ngon (Cube_ngon -- just one edge subdivided)
  • smooth brush on Cube_ngon leaves that extra vertex untouched from the smoothing "spiking out" (<-- this is unexpected)
  • smooth brush on Cube_quads smothes all vertices

T78747_2.blend

  • this one has it as well (no ngons - just a subdivided edge, so a vertex with two edges)

Original report:

Exact steps for others to reproduce the error

  1. Created mesh from planes
  2. Added and applied solidify modifer of 0.01 thickness
  3. Add and apply subdivion modifier of 3.
  4. Apply scale and rotation.
  5. Set origin
  6. Sculpt tab
  7. Voxel remesh of 0.01 with fix poles and preserve volume
  8. Smooth over edge of mesh.2020-07-08_17-55-08.jpg

2020-07-08_17-58-16.jpg

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.13587 Core Profile Context 20.4.2 26.20.15029.27016 **Blender Version** Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: `211b6c29f7` Worked: (newest version of Blender that worked as expected) **Short description of error** While using smooth brush, the mesh has pixels spiking out of the mesh where smooth brush was passed over. [#78747.blend](https://archive.blender.org/developer/F8680798/T78747.blend) - Open file - one regular Cube (`Cube_quads`) - one Cube with an ngon (`Cube_ngon` -- just one edge subdivided) - smooth brush on `Cube_ngon` leaves that extra vertex untouched from the smoothing "spiking out" (<-- this is unexpected) - smooth brush on `Cube_quads` smothes all vertices [T78747_2.blend](https://archive.blender.org/developer/F8680875/T78747_2.blend) - this one has it as well (no ngons - just a subdivided edge, so a vertex with two edges) Original report: **Exact steps for others to reproduce the error** 1. Created mesh from planes 2. Added and applied solidify modifer of 0.01 thickness 3. Add and apply subdivion modifier of 3. 4. Apply scale and rotation. 5. Set origin 6. Sculpt tab 7. Voxel remesh of 0.01 with fix poles and preserve volume 8. Smooth over edge of mesh.![2020-07-08_17-55-08.jpg](https://archive.blender.org/developer/F8678989/2020-07-08_17-55-08.jpg) ![2020-07-08_17-58-16.jpg](https://archive.blender.org/developer/F8678991/2020-07-08_17-58-16.jpg)
Author

Added subscriber: @Jigglystix

Added subscriber: @Jigglystix

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Please upload sample file

Please upload sample file
Author

See attached. Fixed it in my old file by decimating and remeshing a few times but was able to recreate it in a new file again.

SculptBug_T78747.blend

See attached. Fixed it in my old file by decimating and remeshing a few times but was able to recreate it in a new file again. [SculptBug_T78747.blend](https://archive.blender.org/developer/F8680559/SculptBug_T78747.blend)
Member

Added subscribers: @PabloDobarro, @lichtwerk

Added subscribers: @PabloDobarro, @lichtwerk
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

@PabloDobarro : could it be that the Smooth brush is just not working nicely with ngons?

@PabloDobarro : could it be that the `Smooth` brush is just not working nicely with ngons?
Philipp Oeser changed title from Blender Sculpting Rogue Pixels to Sculpting Smooth brush unexpected result with ngons 2020-07-09 14:54:25 +02:00
Author

It occurs after a voxel remesh, so there should not be ngons.

It occurs after a voxel remesh, so there should not be ngons.
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

These are not Ngons but vertices with 2 connected edges. There is a good chance that these are created when the option "Fix Poles" is used in the remsher.
Fix Poles will look for neighbouring N-poles (3 connected edges) and merge them to create regular 4-sided vertices. Sometimes this leads to accidental 2-sided poles.
@PabloDobarro Should know more on this.

These are not Ngons but vertices with 2 connected edges. There is a good chance that these are created when the option "Fix Poles" is used in the remsher. Fix Poles will look for neighbouring N-poles (3 connected edges) and merge them to create regular 4-sided vertices. Sometimes this leads to accidental 2-sided poles. @PabloDobarro Should know more on this.
Philipp Oeser changed title from Sculpting Smooth brush unexpected result with ngons to Sculpting Smooth brush unexpected result with certain topology 2020-07-09 15:30:35 +02:00
Philipp Oeser changed title from Sculpting Smooth brush unexpected result with certain topology to Sculpting Smooth brush unexpected result with vertices with two edges 2020-07-09 15:31:39 +02:00
Member

Thx noting, updated the task description

Thx noting, updated the task description
Member

This artifact is produced because the smooth function for meshes has a hardcoded and incorrect way to check for boundary vertices which assumes that if a vertex is connected to 2 or less faces is a mesh boundary and should not be modified by smoothing. I'll work on this, but this needs to be fixed in multiple steps. First is to remove the boundary check from that function and let the automasking system handle that, then I need to add a cache to store which vertices are actually a boundary and add fix the function in the sculpt API.

This artifact is produced because the smooth function for meshes has a hardcoded and incorrect way to check for boundary vertices which assumes that if a vertex is connected to 2 or less faces is a mesh boundary and should not be modified by smoothing. I'll work on this, but this needs to be fixed in multiple steps. First is to remove the boundary check from that function and let the automasking system handle that, then I need to add a cache to store which vertices are actually a boundary and add fix the function in the sculpt API.

This issue was referenced by e06a346458

This issue was referenced by e06a346458fa898e137cc984f23975f5572d94fb
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Pablo Dobarro self-assigned this 2020-07-15 16:37:20 +02: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
6 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#78747
No description provided.