new boolean difference meshing issue with surfaces #85217

Open
opened 2021-01-30 03:13:30 +01:00 by claas eicke · 11 comments

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: NVIDIA GeForce GTX 775M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-14.0.32 355.11.11.10.10.143

Blender Version
Broken: New Boolean code - version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: 0f45cab862
Worked: Old Boolean code works

Short description of error
new boolean code does seem to have mesh intersection issues
when dealing with a solid it works better

Exact steps for others to reproduce the error
intersect to surfaces
add a boolean difference modifier

to make it work add a solidify modifier before the boolean modifier

Boolean Issue.blend.zip
Screen Shot 2021-01-29 at 9.08.32 PM.png

Screen Shot 2021-01-29 at 9.09.24 PM.png

**System Information** Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits Graphics card: NVIDIA GeForce GTX 775M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-14.0.32 355.11.11.10.10.143 **Blender Version** Broken: New Boolean code - version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: `0f45cab862` Worked: Old Boolean code works **Short description of error** new boolean code does seem to have mesh intersection issues when dealing with a solid it works better **Exact steps for others to reproduce the error** intersect to surfaces add a boolean difference modifier to make it work add a solidify modifier before the boolean modifier [Boolean Issue.blend.zip](https://archive.blender.org/developer/F9604695/Boolean_Issue.blend.zip) ![Screen Shot 2021-01-29 at 9.08.32 PM.png](https://archive.blender.org/developer/F9604692/Screen_Shot_2021-01-29_at_9.08.32_PM.png) ![Screen Shot 2021-01-29 at 9.09.24 PM.png](https://archive.blender.org/developer/F9604691/Screen_Shot_2021-01-29_at_9.09.24_PM.png)
Author

Added subscriber: @ClaasKuhnen

Added subscriber: @ClaasKuhnen

Added subscribers: @howardt, @rjg

Added subscribers: @howardt, @rjg

Without solidify the geometry is non-manifold so this might be a case similar to #84493 @howardt?

Without solidify the geometry is non-manifold so this might be a case similar to #84493 @howardt?
Member

This is indeed the same general issue: Boolean is not guaranteed to work when both operands are not volume enclosing. The old boolean will have issues too in certain orientations of the mesh. The code I have been playing around with seems to do better in this case. I just need to test it more before committing.

This is indeed the same general issue: Boolean is not guaranteed to work when both operands are not volume enclosing. The old boolean will have issues too in certain orientations of the mesh. The code I have been playing around with seems to do better in this case. I just need to test it more before committing.
Author

@howardt I see ok so this is just a limit - period.
Maybe surfaces work maybe not

In general simply only use volumes ?

Too bad - solid modeling is great but only can get you sofar.
Sometimes you need surface trimming too.

@howardt I see ok so this is just a limit - period. Maybe surfaces work maybe not In general simply only use volumes ? Too bad - solid modeling is great but only can get you sofar. Sometimes you need surface trimming too.
Member

If both operands are not volumes, trimming can be kind of ambiguous. You could say a difference A - B, where A, and B are both non-closed surfaces means: discard everything on the positive normal side of B from A, but I could draw lots of pictures where it is not clear what is on "the positive normal side of B", if B doesn't extend to effectively infinity. I'm sure you can image this.

If B is a closed volume, the ambiguity goes away, and I am comfortable saying that Boolean will do the expected "discard everything from A that is not inside B", which can do the trimming you desire. Other cases may work, or maybe not, no real way to guarantee.

I am about to submit code that should work a little better than the current code in situations where both are not volumes. As I said above, it makes the example in this bug work.

If both operands are not volumes, trimming can be kind of ambiguous. You could say a difference A - B, where A, and B are both non-closed surfaces means: discard everything on the positive normal side of B from A, but I could draw lots of pictures where it is not clear what is on "the positive normal side of B", if B doesn't extend to effectively infinity. I'm sure you can image this. If B is a closed volume, the ambiguity goes away, and I am comfortable saying that Boolean will do the expected "discard everything from A that is not inside B", which can do the trimming you desire. Other cases may work, or maybe not, no real way to guarantee. I am about to submit code that should work a little better than the current code in situations where both are not volumes. As I said above, it makes the example in this bug work.
Author

Added subscriber: @howard

Added subscriber: @howard
Author

@howard

Oh yes I can very understand. Looking forward to the changes.

@howard Oh yes I can very understand. Looking forward to the changes.
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

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

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

Will mark this as a known issue.

Will mark this as a known issue.
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:28:43 +01: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
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#85217
No description provided.