Complex Solidify TODO #81331

Open
opened 2020-09-30 18:36:37 +02:00 by Henrik D. · 5 comments
Member

This task keeps track of the current state of complex solidify.

Description
Recently a couple bugs where found in complex solidify. Most of them are minor and this task is there to organise them.

But one of the bugs is critical and requires more work to fix properly (#80897) without raising computational complexity.
It would be possible to fix the bug in a good way, but it would need some of the code that already exists in the Weld Modifier.
The merge code in the Complex Solidify Modifier was added to make useful results possible when zero length edges exist.
It was very effective at getting rid of them, but a smart fallback value also seems to work decently fine.

So the better idea would be to remove the merge feature from Solidify completely and move it to the Weld Modifier. This way
the code of complex solidify will be cleaner and better to maintain. This was already briefly discussed with @campbellbarton.
It will also open the door to new things which could be added to complex solidify. Thats why this task also keeps track of the
progress towards moving the merge feature from the Complex Solidify Modifier to the Weld Modifier.

Design
For the merge feature there is a design issue as well. Currently Complex Solidify merges edges in index order.
It always calculates the length of the edge that it currently processes and if it's shorter than the merge distance it
collapses the edge to the mean position of all the vertices that got merged there. This was fairly simple to implement,
but @mano-wii did mentioned, that it isn't a conventional method and should potentially be reworked.

Work plan

Original implementation:

  • D5766 Solidify Modifier Extension

Prior related changes:

  • D7221 Fix solidify complex degenerate cases with duplicate faces
  • D7215 Change solidify's material offset in complex mode to conform with simple mode
  • #74195 Blender crash when curve has dense mesh and solidify modifier
  • #75840 Solidify modifier - Only Rim crash in Complex mode
  • D7340 Add Complex Solidify option for thickness per face
  • D7334 Improve Solidify/Bevel Modifier cooperation
  • D7428 Fix crash whith Simple Solidify and Bevel Convex
  • #75032 New complex solidify algorithm handles poorly merging threshold of small geometry details

Simple bugfixes:

  • #80269 The material in the Complex mode in the Solidify modifier is wrong
  • #80893 Complex Solidify Crash with Singularity on Rim
  • #80895 Complex Solidify Merge Algorithm Crash
  • D8945 Fix Complex Solidify Flat Faces not using the Invert nor the Factor Options

Move merge feature:

  • #80897 Complex Solidify Crash with Ngons (The reason for the feature move)
  • D8966 Weld Modifier Connected Mode
  • ? Remove merge code from Complex Solidify Modifier

New Developments:

  • D11832 Fix offsets outside of -1 to 1 (Thanks Miguel G.)
  • ? Move file location to GEO
  • D11575 Include in Geometry Nodes (Thanks Fabian Schempp)

Further Cleanup:

  • D8202 Cleanup for the code of Complex Solidify Modifier
  • ? Cleanup the Solidify Modifier UI
This task keeps track of the current state of complex solidify. **Description** Recently a couple bugs where found in complex solidify. Most of them are minor and this task is there to organise them. But one of the bugs is critical and requires more work to fix properly (#80897) without raising computational complexity. It would be possible to fix the bug in a good way, but it would need some of the code that already exists in the Weld Modifier. The merge code in the Complex Solidify Modifier was added to make useful results possible when zero length edges exist. It was very effective at getting rid of them, but a smart fallback value also seems to work decently fine. So the better idea would be to remove the merge feature from Solidify completely and move it to the Weld Modifier. This way the code of complex solidify will be cleaner and better to maintain. This was already briefly discussed with @campbellbarton. It will also open the door to new things which could be added to complex solidify. Thats why this task also keeps track of the progress towards moving the merge feature from the Complex Solidify Modifier to the Weld Modifier. **Design** For the merge feature there is a design issue as well. Currently Complex Solidify merges edges in index order. It always calculates the length of the edge that it currently processes and if it's shorter than the merge distance it collapses the edge to the mean position of all the vertices that got merged there. This was fairly simple to implement, but @mano-wii did mentioned, that it isn't a conventional method and should potentially be reworked. **Work plan** Original implementation: * [D5766](https://archive.blender.org/developer/D5766) Solidify Modifier Extension Prior related changes: * [D7221](https://archive.blender.org/developer/D7221) Fix solidify complex degenerate cases with duplicate faces * [D7215](https://archive.blender.org/developer/D7215) Change solidify's material offset in complex mode to conform with simple mode * #74195 Blender crash when curve has dense mesh and solidify modifier * #75840 Solidify modifier - Only Rim crash in Complex mode * [D7340](https://archive.blender.org/developer/D7340) Add Complex Solidify option for thickness per face * [D7334](https://archive.blender.org/developer/D7334) Improve Solidify/Bevel Modifier cooperation * [D7428](https://archive.blender.org/developer/D7428) Fix crash whith Simple Solidify and Bevel Convex * #75032 New complex solidify algorithm handles poorly merging threshold of small geometry details Simple bugfixes: * #80269 The material in the Complex mode in the Solidify modifier is wrong * #80893 Complex Solidify Crash with Singularity on Rim * #80895 Complex Solidify Merge Algorithm Crash * [D8945](https://archive.blender.org/developer/D8945) Fix Complex Solidify Flat Faces not using the Invert nor the Factor Options Move merge feature: * #80897 Complex Solidify Crash with Ngons *(The reason for the feature move)* * [D8966](https://archive.blender.org/developer/D8966) Weld Modifier Connected Mode * `?` Remove merge code from Complex Solidify Modifier New Developments: * [D11832](https://archive.blender.org/developer/D11832) Fix offsets outside of -1 to 1 (Thanks Miguel G.) * `?` Move file location to `GEO` * [D11575](https://archive.blender.org/developer/D11575) Include in Geometry Nodes (Thanks Fabian Schempp) Further Cleanup: * [D8202](https://archive.blender.org/developer/D8202) Cleanup for the code of Complex Solidify Modifier * `?` Cleanup the Solidify Modifier UI
Henrik D. self-assigned this 2020-09-30 18:36:37 +02:00
Author
Member

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

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

Added subscribers: @mano-wii, @ideasman42, @HDMaster84, @mont29

Added subscribers: @mano-wii, @ideasman42, @HDMaster84, @mont29
Author
Member
No description provided.

Added subscriber: @Ghaspias

Added subscriber: @Ghaspias

May I add #89691?

May I add #89691?
Henrik D. changed title from Cleanup Complex Solidify TODO to Complex Solidify TODO 2021-07-06 23:27:15 +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
2 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#81331
No description provided.