Extremely Long time delay using geometry nodes with simple mesh boolean node 37706ms #98020

Closed
opened 2022-05-10 17:18:04 +02:00 by RT · 9 comments

System Information
Operating system: Linux-5.13.0-41-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 21.2.6

Blender Version
Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-10 06:30, hash: 11aa237858
Worked: (newest version of Blender that worked as expected)

Short description of error
Extremely Long time delay using geometry nodes with simple mesh boolean node and difference (it takes 37706ms for the mesh boolean node to do a cylinder difference)

Exact steps for others to reproduce the error

I've included the blend file which shows the times when you change the item to do a boolean difference 1 cylinder/count to 2 cylinder/count.

When I use the Boolean Modifier this time lag doesn't occur. I've included this in the blend file for testing also.

PS: this time lag also occurs in Blender 3.1.2

screenshot-May-10-2022-11-06-57.png

prego lid gn.blend.zip

**System Information** Operating system: Linux-5.13.0-41-generic-x86_64-with-glibc2.31 64 Bits Graphics card: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 21.2.6 **Blender Version** Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-10 06:30, hash: `11aa237858` Worked: (newest version of Blender that worked as expected) **Short description of error** Extremely Long time delay using geometry nodes with simple mesh boolean node and difference (it takes **37706ms** for the mesh boolean node to do a cylinder difference) **Exact steps for others to reproduce the error** I've included the blend file which shows the times when you change the item to do a boolean difference 1 cylinder/count to 2 cylinder/count. **When I use the Boolean Modifier this time lag doesn't occur**. I've included this in the blend file for testing also. **PS: this time lag also occurs in Blender 3.1.2** ![screenshot-May-10-2022-11-06-57.png](https://archive.blender.org/developer/F13064931/screenshot-May-10-2022-11-06-57.png) [prego lid gn.blend.zip](https://archive.blender.org/developer/F13064941/prego_lid_gn.blend.zip)
Author

Added subscriber: @Still

Added subscriber: @Still
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

This looks unreasonable indeed especially when compared to the modifier which I guess do the same thing. But the performance analysis seems normal as far as I can see, so tagging the module for more information.

20220511-093136.png

This looks unreasonable indeed especially when compared to the modifier which I guess do the same thing. But the performance analysis seems normal as far as I can see, so tagging the module for more information. ![20220511-093136.png](https://archive.blender.org/developer/F13067086/20220511-093136.png)

Added subscriber: @AntonioPuentes

Added subscriber: @AntonioPuentes

Maybe the boolean is being computed once per instance. Putting a relize instances node is only computed on a single mesh.
Screenshot_20220512_195212.png

Maybe the boolean is being computed once per instance. Putting a relize instances node is only computed on a single mesh. ![Screenshot_20220512_195212.png](https://archive.blender.org/developer/F13071205/Screenshot_20220512_195212.png)
Member

@AntonioPuentes But there are only two instances and a boolean modifier with two cylinders is also very fast. So why would the node take orders of magnitude higher execution time?

@AntonioPuentes But there are only two instances and a boolean modifier with two cylinders is also very fast. So why would the node take orders of magnitude higher execution time?

My fault, it seems that with relize instance node, the boolean is not being calculated correctly.
{F13072093}Screenshot_20220513_094247.png
Probably the problem is with the geometry connected to the input "Mesh 1". The boolean node is calculating the difference of the geometry connected to the input socket "Mesh 1"
Screenshot_20220513_100117.png

My fault, it seems that with relize instance node, the boolean is not being calculated correctly. {[F13072093](https://archive.blender.org/developer/F13072093/Screenshot_20220513_094112.png)}![Screenshot_20220513_094247.png](https://archive.blender.org/developer/F13072095/Screenshot_20220513_094247.png) Probably the problem is with the geometry connected to the input "Mesh 1". The boolean node is calculating the difference of the geometry connected to the input socket "Mesh 1" ![Screenshot_20220513_100117.png](https://archive.blender.org/developer/F13072135/Screenshot_20220513_100117.png)
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:44:03 +01:00
Member

There is ongoing work to implement a faster boolean: #114476
Also the "fast/non-exact" boolean mode should be exposed in the node in 4.2.
But the performance of the current boolean exact mode is expected, it can often be quite bad.

There is ongoing work to implement a faster boolean: #114476 Also the "fast/non-exact" boolean mode should be exposed in the node in 4.2. But the performance of the current boolean exact mode is expected, it can often be quite bad.
Blender Bot added
Status
Archived
and removed
Status
Needs Info from Developers
labels 2024-03-07 16:45:32 +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#98020
No description provided.