Boolean and Bevel werid behavior #72942

Closed
opened 2020-01-06 23:43:05 +01:00 by Marcin Surma · 12 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00

Blender Version
Broken: version: 2.81a (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: f1aa4d18d4
Worked: (optional)

Short description of error
The bevel factor varies somewhat unpredictably in some geometries.

Exact steps for others to reproduce the error
Open:
bug boolean.blend

  • Move the smaller object and note the bevel glitch.

2020-01-06 23-30-58.mp4

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00 **Blender Version** Broken: version: 2.81a (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: `f1aa4d18d4` Worked: (optional) **Short description of error** The bevel factor varies somewhat unpredictably in some geometries. **Exact steps for others to reproduce the error** Open: [bug boolean.blend](https://archive.blender.org/developer/F8263470/bug_boolean.blend) * Move the smaller object and note the bevel glitch. [2020-01-06 23-30-58.mp4](https://archive.blender.org/developer/F8263460/2020-01-06_23-30-58.mp4)
Author

Added subscriber: @WWS3D

Added subscriber: @WWS3D

Added subscribers: @howardt, @mano-wii

Added subscribers: @howardt, @mano-wii

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

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

On blender 2.79, this did not happen.
At least not at this intensity.

@howardt, any idea what might be causing this?

On blender 2.79, this did not happen. At least not at this intensity. @howardt, any idea what might be causing this?
Author

I my opinion ( I do not know about code ) : In wireframe mode we see that when boolean is on - there are created new lines on this top face in main object. At one time new lines connect to the cutting edge and at the other time to the vertex cutting corner depends on position of bool object. Bevel realy is just switch with boolean lines that are created by changing position of bool object. The same thing happens without bevel modifier.bug boolean 2.mp4

I think lines that are created in main object faces need to be consistant regardless of bool object position. On video we see clear that they connect to vertex or center of edge.

I my opinion ( I do not know about code ) : In wireframe mode we see that when boolean is on - there are created new lines on this top face in main object. At one time new lines connect to the cutting edge and at the other time to the vertex cutting corner depends on position of bool object. Bevel realy is just switch with boolean lines that are created by changing position of bool object. The same thing happens without bevel modifier.[bug boolean 2.mp4](https://archive.blender.org/developer/F8267418/bug_boolean_2.mp4) I think lines that are created in main object faces need to be consistant regardless of bool object position. On video we see clear that they connect to vertex or center of edge.
Member

The lines are created in the top face are necessary because Blender doesn't allow holes to exist in faces without those holes being connected to the enclosing face by at least two edges. It is not easy to make those "support edges" get added at consistent vertices as you move things around, unfortunately, and the current code does't even try.

I agree that it is strange that Boolean sometimes creates new vertices in the middle of edges and connects there. I think it is because Boolean works on triangulated faces and then untriangulates them later, not always completely invisibly to the user. I am not inclined to work on making this better in the current Boolean code since I am working on completely new Boolean code that operates differently in many ways -- including not triangulating faces, and using a different algorithm to connect the support edges.

The bevel glitches in the original bug file are caused mainly be clamp_overlap -- because of where the support edges attach. If you turn that off, it will look less glitchy (except for the jumping of the support edge attach positions) but they some edge/faces will overlap I think.

This bug should probably closed as "known issue", which will hopefully be fixed or at least made better with the new boolean code.

The lines are created in the top face are necessary because Blender doesn't allow holes to exist in faces without those holes being connected to the enclosing face by at least two edges. It is not easy to make those "support edges" get added at consistent vertices as you move things around, unfortunately, and the current code does't even try. I agree that it is strange that Boolean sometimes creates new vertices in the middle of edges and connects there. I think it is because Boolean works on triangulated faces and then untriangulates them later, not always completely invisibly to the user. I am not inclined to work on making this better in the current Boolean code since I am working on completely new Boolean code that operates differently in many ways -- including not triangulating faces, and using a different algorithm to connect the support edges. The bevel glitches in the original bug file are caused mainly be clamp_overlap -- because of where the support edges attach. If you turn that off, it will look less glitchy (except for the jumping of the support edge attach positions) but they some edge/faces will overlap I think. This bug should probably closed as "known issue", which will hopefully be fixed or at least made better with the new boolean code.

Boolean also behaves differently in 2.79. So the problem may be really there.
Good to know that the new boolean code may fix this issue.

Here is the file in blender 2.79 to test:
bug boolean 279.blend

Boolean also behaves differently in 2.79. So the problem may be really there. Good to know that the new boolean code may fix this issue. Here is the file in blender 2.79 to test: [bug boolean 279.blend](https://archive.blender.org/developer/F8267603/bug_boolean_279.blend)
Author

great to know that new boolean will be different. Im waiting for it for so long time and propably many people as well.
Can I ask will be finished with new relese 2.82?

If old boolean triangulate faces why vertex on center of edge? when Face is triangulated is cuted in half but from vert to vert.... not from center of line to vert. I do not uderstand this. If is angon is triangulated in different way... but in this case is simple one line through plane so this line will not be atatch to center of line. For me realy werid. :)

great to know that new boolean will be different. Im waiting for it for so long time and propably many people as well. Can I ask will be finished with new relese 2.82? If old boolean triangulate faces why vertex on center of edge? when Face is triangulated is cuted in half but from vert to vert.... not from center of line to vert. I do not uderstand this. If is angon is triangulated in different way... but in this case is simple one line through plane so this line will not be atatch to center of line. For me realy werid. :)
Member

No, sorry, the new Boolean will not be in 2.82. Probably not even in 2.83. I thought I was close, but the pesky problems related to numerical issues have proven difficult to get right. I've spent the last 3 weeks redoing an underlying triangulation / intersection library that is core to the new code so that it will be extremely robust in the face of nearly-degenerate geometry. Sorry.

No, sorry, the new Boolean will not be in 2.82. Probably not even in 2.83. I thought I was close, but the pesky problems related to numerical issues have proven difficult to get right. I've spent the last 3 weeks redoing an underlying triangulation / intersection library that is core to the new code so that it will be extremely robust in the face of nearly-degenerate geometry. Sorry.
Author

thats ok . Im not developer but I can help in testing and some... thinking out the box. cross fingers for your work. It will be great.:)

thats ok . Im not developer but I can help in testing and some... thinking out the box. cross fingers for your work. It will be great.:)
Howard Trickey self-assigned this 2020-11-07 21:55:33 +01:00
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Member

As far as I can tell, the new Exact mode fixes this bug.

As far as I can tell, the new Exact mode fixes this bug.
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
3 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#72942
No description provided.