Solidify Modifier wrong solidification normals in some cases #106741

Closed
opened 2023-04-09 16:36:57 +02:00 by Pierre-Samuel-GREAU-HAMARD · 16 comments

System Information
Operating system: Windows 11
Graphics card: ATX4000

Blender Version
Broken: 3.5.0

Short description of error
In some corner cases, the Solidify modifier uses wrong solidification normals.

Exact steps for others to reproduce the error
With the "Faces linked only by one vertex.obj" object, where some faces are sharing only one vertex and no edge, the solidification behaves as if ignoring that shared vertex.

With the "Triangulated mesh wrong solidification.obj" object the vertex in coordinates (-1, 1, -1) does not solidify properly, while the exact same mesh, but not triangulated ("Triangulated mesh right solidification.obj" object) solidifies right.

**System Information** Operating system: Windows 11 Graphics card: ATX4000 **Blender Version** Broken: 3.5.0 **Short description of error** In some corner cases, the Solidify modifier uses wrong solidification normals. **Exact steps for others to reproduce the error** With the "Faces linked only by one vertex.obj" object, where some faces are sharing only one vertex and no edge, the solidification behaves as if ignoring that shared vertex. With the "Triangulated mesh wrong solidification.obj" object the vertex in coordinates (-1, 1, -1) does not solidify properly, while the exact same mesh, but not triangulated ("Triangulated mesh right solidification.obj" object) solidifies right.
Pierre-Samuel-GREAU-HAMARD added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-09 16:36:58 +02:00
Member

Hi, thanks for the report. I'm unable to confirm the second case " vertex in coordinates (-1, 1, -1) does not solidify properly". Do I need to add solidify modifier on it after importing?

Hi, thanks for the report. I'm unable to confirm the second case " vertex in coordinates (-1, 1, -1) does not solidify properly". Do I need to add solidify modifier on it after importing?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-10 06:41:54 +02:00

In both cases, I only provided the objects, you have to add a Solidify modifier on it, complex mode to see the problem.

In both cases, I only provided the objects, you have to add a Solidify modifier on it, complex mode to see the problem.
Iliya Katushenock added the
Interest
Modeling
Interest
Modifiers
labels 2023-04-13 16:58:17 +02:00
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-04-16 06:18:44 +02:00
Member

Sorry, I think I dont properly understand the issue.

image

These are the areas in question, I imported the good and the bad OBJ, both objects have their solidify modifiers applied, the "bad" / triangulated OBJ has it tris removed again to see better.

Now these dont actually look to different for me?

Could you possibly elaborate what "does not solidify properly" means?
(screenshots might help here)

Sorry, I think I dont properly understand the issue. ![image](/attachments/ad8cfe5f-7092-4813-a2ec-f44845490a4c) These are the areas in question, I imported the good and the bad OBJ, both objects have their solidify modifiers applied, the "bad" / triangulated OBJ has it tris removed again to see better. Now these dont actually look to different for me? Could you possibly elaborate what "does not solidify properly" means? (screenshots might help here)
207 KiB
Philipp Oeser added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-18 15:50:55 +02:00

Hmm, I get results different from yours, in both cases. Attached are the right solidification and the wrong one, after limited dissolve (5°) for the triangulated mesh.

Hmm, I get results different from yours, in both cases. Attached are the right solidification and the wrong one, after limited dissolve (5°) for the triangulated mesh.
Philipp Oeser added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-04-19 09:03:46 +02:00

Hi, @Pierre-Samuel-GREAU-HAMARD can you reproduce this in 3.6, 4.0?

Hi, @Pierre-Samuel-GREAU-HAMARD can you reproduce this in 3.6, 4.0?

Hello,
I confirm that the issue remains exactly the same in 3.6 and 4.0.

Hello, I confirm that the issue remains exactly the same in 3.6 and 4.0.

Can you share blend file with this bug? (I can not reproduce from scratch and attached obj. models).

Can you share blend file with this bug? (I can not reproduce from scratch and attached obj. models).

Ok, here are the blend files with the wrong solidification for triangulated mesh and faces connected by only one vertex.

Ok, here are the blend files with the wrong solidification for triangulated mesh and faces connected by only one vertex.

@Pierre-Samuel-GREAU-HAMARD Thanks, still have some detection problems. More precisely, I see your result, but I can't reproduce it. Can you make the same file, but it must have a model without a modifier (apply a modifier) and with a modifier?

@Pierre-Samuel-GREAU-HAMARD Thanks, still have some detection problems. More precisely, I see your result, but I can't reproduce it. Can you make the same file, but it must have a model without a modifier (apply a modifier) and with a modifier?

Here are the same two files, but I added an other copy of the models with the Solidify modifier not applied.

Here are the same two files, but I added an other copy of the models with the Solidify modifier not applied.

Thanks. Now i see. And now i not sure is this can be work correct, there is bad normals as i can see...

Thanks. Now i see. And now i not sure is this can be work correct, there is bad normals as i can see...

Solidification is correct without triangulation, so it means the triangulation process creates the problem. And for the one vertex contact only, it is really a corner case I tested while designing an add-on, and found that the solidification cannot handle it properly.

Solidification is correct without triangulation, so it means the triangulation process creates the problem. And for the one vertex contact only, it is really a corner case I tested while designing an add-on, and found that the solidification cannot handle it properly.
Member

@Pierre-Samuel-GREAU-HAMARD : sorry this has been lying around for so long.

I can see the issue in the file from #106741 (comment)
However, the model has inconsistent normals :

image

Still unable to repro with the OBJs from the first comment, both have inconsistent normals

image

and both seem to have the "problem" of solidifying in the "wrong" direction where the normals point inside (solidify tries to go to the outside `then)

image

So it seems this does not really have to do with the fact of triangulation?

In order to "fix" this, you can go into editmode, select everything and do Mesh > Normals > Recalculate Outside, does this give the expected results for you?

@Pierre-Samuel-GREAU-HAMARD : sorry this has been lying around for so long. I can see the issue in the file from https://projects.blender.org/blender/blender/issues/106741#issuecomment-966830 However, the model has inconsistent normals : ![image](/attachments/bc331ea7-5d8c-432d-9bff-aedb109db6cd) Still unable to repro with the OBJs from the first comment, both have inconsistent normals ![image](/attachments/3aed6eb4-c1c7-4f81-97ae-7f7a4e4e4bcb) and both seem to have the "problem" of solidifying in the "wrong" direction where the normals point inside (solidify tries to go to the outside `then) ![image](/attachments/43846979-4498-42bb-a59e-f7c3dfdeba1c) So it seems this does not really have to do with the fact of triangulation? In order to "fix" this, you can go into editmode, select everything and do `Mesh` > `Normals` > `Recalculate Outside`, does this give the expected results for you?
Philipp Oeser added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-04-19 14:45:56 +02:00

Hello,

Well, I was trying to push the solidification modifier to its limits by using it to turn messed up models into manifold ones, to make sure whatever the mesh, I could make it usable in the rest of my project, but I dropped that project almost a year ago, so I don't care anymore. If you think the modifier behaves as intended in this case, then it's fine.

Hello, Well, I was trying to push the solidification modifier to its limits by using it to turn messed up models into manifold ones, to make sure whatever the mesh, I could make it usable in the rest of my project, but I dropped that project almost a year ago, so I don't care anymore. If you think the modifier behaves as intended in this case, then it's fine.
Member

Hello,

Well, I was trying to push the solidification modifier to its limits by using it to turn messed up models into manifold ones, to make sure whatever the mesh, I could make it usable in the rest of my project, but I dropped that project almost a year ago, so I don't care anymore. If you think the modifier behaves as intended in this case, then it's fine.

To me it looks it behaves correct, yes. It goes in one way with normals pointing outside and goes the other way with the normals pointing inside. The report mentioning that this has to do with triangulation: I see no evidence of that, none of the files here actually show a difference when the model is triangulated vs. when they are not triangulated afaict

> Hello, > > Well, I was trying to push the solidification modifier to its limits by using it to turn messed up models into manifold ones, to make sure whatever the mesh, I could make it usable in the rest of my project, but I dropped that project almost a year ago, so I don't care anymore. If you think the modifier behaves as intended in this case, then it's fine. To me it looks it behaves correct, yes. It goes in one way with normals pointing outside and goes the other way with the normals pointing inside. The report mentioning that this has to do with triangulation: I see no evidence of that, none of the files here actually show a difference when the model is triangulated vs. when they are not triangulated afaict
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-05-02 13:18:49 +02: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#106741
No description provided.