Exact Boolean V2 #114476
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#114476
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exact Boolean V2
The current Exact Boolean works pretty well, but except on small meshes, it is too slow. This is especially apparent when used as a geometry node, where frequent reevaluations are often called for as the user edits the node tree. A top user request is for a much faster Mesh Boolean geometry node. Attempts to improve the speed of the current exact boolean through parallelization and other means seemed to have reached diminishing returns. There are three big obstacles to further improvements:
A recent paper, EMBER: Exact Mesh Booleans via Efficient & Robust Local Arrangements, by Trettner, Nehring-Wirxel, and Kobbelt, uses a new method that their measurements show is even faster than the floating-point implementations compared against. Their approach has several aspects that get around the above obstacles:
I am currently implementing the algorithm of the EMBER paper in Blender, in branch exactboolv2 in howardt/blender . The fixed-width multiprecision integers are currently implemented using a library that Jacques wrote. The code works on native Mesh structures, not BMesh.
Current status (Nov 3, 2023):
mesh_exact_bool.cc
file is for the new Ember boolean implementation.So the initial test of a boolean operation works, except that the output mesh is not connected and doesn't have proper attribute calculation, and doesn't have extraneous edges removed. Also, the code doesn't yet handle coplanar faces (but it will later.) Still lots to do.
Hi, Is the new solver EMBER come too for the modfiier ?
Yes, it will work for the modifier too.
Ok, perfect ! Actually something is functionnal or is still just a WIP ?!
It is still WIP. It has turned out to be harder than I expected to get over the finish line, but I am determined to finish so am actively working on it.
Ok that's perfect ! I give you all my courage ! Hope to see it soon ! Thanks buddy Nice works ! 😏
Update: I have decided to incrementally add changes to main rather than create one giant commit at the end. The main reason is to make it more likely that reviewers will actually read and improve the code. But also it may be a way to get early feedback, if I initially add the new solver as an experimental feature.
The first step is just to add a solver option to the geo boolean node, because for the forseeable future I think users will want to choose between the old exact solver, the new one, and the float one. The float one is something users have been clamoring for since the beginning. My first PR adds the float solver as an option: #119294
Any chance of seeing Exact Boolean V2 in Blender 4.3?
No, I am not sure I will complete this version of Exact Boolean V2 at this point. I was running into a number of hard-to-fix issues and then I learned about the Manifold Boolean library, which seemed more promising, so am working on that right now. See #120182 . That won't be in 4.3 either, but maybe 4.4.