Regression: Mesh boolean node with difference not working like it did in Blender 3.5 #112009

Closed
opened 2023-09-06 10:18:24 +02:00 by RT · 15 comments

System Information
Operating system: Linux-5.15.0-83-generic-x86_64-with-glibc2.31 64 Bits, X11 UI
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: 4.0.0 Alpha, branch: main, commit date: 2023-08-27 18:51, hash: 8a735d0aa4c7
Worked: (newest version of Blender that worked as expected Blender 3.5)

Seems to be caused by 300c673a64

Short description of error
Mesh boolean difference not working like it did in Blender 3.5

Exact steps for others to reproduce the error
Mesh boolean difference not working like it did in Blender 3.5 also has this issue in 3.62 and 4.0

Open Blender File in 3.5 seems to be working correctly.

blender 35 correct.png

Open Blender File in 3.6.2 seems to not to be working correctly.
blender 362 not correct.png

Open Blender File in 4.0 seems to not to be working correctly.
blender 40 not correct.png

I created / attached a blender file to show this

**System Information** Operating system: Linux-5.15.0-83-generic-x86_64-with-glibc2.31 64 Bits, X11 UI 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: 4.0.0 Alpha, branch: main, commit date: 2023-08-27 18:51, hash: `8a735d0aa4c7` Worked: (newest version of Blender that worked as expected Blender 3.5) Seems to be caused by 300c673a6494b887eb61ff8a849e6d742cf9981a **Short description of error** Mesh boolean difference not working like it did in Blender 3.5 **Exact steps for others to reproduce the error** Mesh boolean difference not working like it did in Blender 3.5 also has this issue in 3.62 and 4.0 Open Blender File in 3.5 seems to be working correctly. ![blender 35 correct.png](/attachments/4286d5f4-2023-4c48-9809-88ea8a38502d) Open Blender File in 3.6.2 seems to not to be working correctly. ![blender 362 not correct.png](/attachments/d9b76e66-27b4-43d7-8c66-4fef2b0e2939) Open Blender File in 4.0 seems to not to be working correctly. ![blender 40 not correct.png](/attachments/0a5558bc-7cf7-406b-9222-5765a7493592) I created / attached a blender file to show this
RT added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-09-06 10:18:25 +02:00
Member

Can confirm.

Can confirm.
YimingWu added
Module
Nodes & Physics
Status
Confirmed
Interest
Geometry Nodes
and removed
Status
Needs Triage
labels 2023-09-06 11:11:23 +02:00
Member

Not quite similar but #107969 is also a scenario for ineffective boolean.

Not quite similar but #107969 is also a scenario for ineffective boolean.
Author

@Rytelier

If you found another bug that might be related you should create a separate bug report and just include a link to it here like @ChengduLittleA YimingWu did, don't add your issue (and files) to another bug report, it will just confuse things. Note they may work on the first issue and just skip your issue.

@Rytelier If you found another bug that might be related you should create a separate bug report and just include a link to it here like @ChengduLittleA YimingWu did, don't add your issue (and files) to another bug report, it will just confuse things. Note they may work on the first issue and just skip your issue.
Member

Before checking in depth, will raise prio here since this seems to be a relatively recent regression

Before checking in depth, will raise prio here since this seems to be a relatively recent regression
Philipp Oeser added
Priority
High
Interest
Modeling
and removed
Priority
Normal
labels 2023-09-08 09:35:25 +02:00
Member

Hm, seems to be caused by 300c673a64

@HooglyBoogly : mind checking?

Hm, seems to be caused by 300c673a6494b887eb61ff8a849e6d742cf9981a @HooglyBoogly : mind checking?
Philipp Oeser changed title from Mesh boolean node with difference not working like it did in Blender 3.5 to Regression: Mesh boolean node with difference not working like it did in Blender 3.5 2023-09-08 14:58:58 +02:00
Member

Pretty sure this is actually caused by fc06a471f1.
Unfortunately this is a predicted change in behavior from that commit, the node no longer supports instances by viewing them as separate meshes. We don't have a good solution for this use case yet, in the end we will probably need lists. The repeat zone might work here though.

Since it's expected behavior in 4.0, I'll close this report. Thanks for bringing it up though.

Pretty sure this is actually caused by fc06a471f174368bed2b1e0c1fe0ab4f2f90c09a. Unfortunately this is a predicted change in behavior from that commit, the node no longer supports instances by viewing them as separate meshes. We don't have a good solution for this use case yet, in the end we will probably need lists. The repeat zone might work here though. Since it's expected behavior in 4.0, I'll close this report. Thanks for bringing it up though.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-09-08 16:10:09 +02:00
Member

Not sure what could be wrong, but opening that file in a build much before fc06a471f1 already has the changed behavior.

@HooglyBoogly : are you sure it is caused by fc06a471f1 ?

Not sure what could be wrong, but opening that file in a build much before fc06a471f1 already has the changed behavior. @HooglyBoogly : are you sure it is caused by fc06a471f1 ?
Member

Hmm, it adds up conceptually but I can't explain your observation so I'll reopen this report.

Hmm, it adds up conceptually but I can't explain your observation so I'll reopen this report.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-09-08 16:50:51 +02:00
Iliya Katushenock added
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-09-08 16:52:19 +02:00
Author

@HooglyBoogly @lichtwerk The original bug had nothing to do with instancing another user @Rytelier decided to try and hijack this BUG report and post another issue and add their files to it. Can you please tell them to delete their post here and open up another bug report, it just confuses things.

@HooglyBoogly @lichtwerk The original bug had nothing to do with instancing another user @Rytelier decided to try and hijack this BUG report and post another issue and add their files to it. Can you please tell them to delete their post here and open up another bug report, it just confuses things.
Member

Hmm, it adds up conceptually but I can't explain your observation so I'll reopen this report.

Is there anything I can do to further help?

> Hmm, it adds up conceptually but I can't explain your observation so I'll reopen this report. Is there anything I can do to further help?

It needs to be bisected, i am sure that this was a corrected incorrect behavior and not a bug.

It needs to be bisected, i am sure that this was a corrected incorrect behavior and not a bug.
Author

I'm confused it worked in Blender 3.5 but doesn't work in Blender 3.62 and Blender 4.0 the phrase @mod_moder " corrected incorrect behavior and not a bug." is very confusing when it worked in Blender 3.5. How does one get this to work in Blender 3.62, Blender 4.0 like it did in Blender 3.5?

I'm confused it **worked** in **Blender 3.5** but **doesn't work** in **Blender 3.62** and **Blender 4.0** the phrase @mod_moder " **corrected incorrect behavior and not a bug**." is very confusing when it worked in Blender 3.5. How does one get this to work in Blender 3.62, Blender 4.0 like it did in Blender 3.5?
Member

To me the node tree is a bit too complicated for it to be easy to tell which behavior is "correct". I'd have to spend more time looking it over to be sure.

To me the node tree is a bit too complicated for it to be easy to tell which behavior is "correct". I'd have to spend more time looking it over to be sure.
Member

The difference seems to be cause by a bug in an older Blender version related to normals. To see that do the following:

  • Add a viewer to the Extrude Mesh node in the Bottom Extrude frame.
    image
  • Mute/unmute the Flip Faces before that. This should invert the extrude direction. It does so now, but did not in Blender 3.5. It does work for some reason when removing the second link coming out of the Grid node.
    image

To fix your setup, you just have to remove the Flip Faces node in the Bottom Extrude frame. The bug was in an older version, so there is nothing to fix here for us now.

The difference seems to be cause by a bug in an older Blender version related to normals. To see that do the following: * Add a viewer to the `Extrude Mesh` node in the `Bottom Extrude` frame. ![image](/attachments/ec448935-0a16-4966-a76a-9d79debf4a69) * Mute/unmute the `Flip Faces` before that. This should invert the extrude direction. It does so now, but did not in Blender 3.5. It does work for some reason when removing the second link coming out of the Grid node. ![image](/attachments/2eb83ff9-2eb8-4e04-8008-1dad1cfc1d6c) To fix your setup, you just have to remove the `Flip Faces` node in the `Bottom Extrude` frame. The bug was in an older version, so there is nothing to fix here for us now.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-09-14 12:24:45 +02:00
Author

Thanks!!!

Thanks!!!
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#112009
No description provided.