An improved mesh Laplacian relaxation and HC relaxation patch #26138

Closed
opened 2011-02-18 17:51:56 +01:00 by Raul Fernandez Hernandez · 18 comments

%%%This is two mesh vertices relaxation algorithm with none to low shape shrinkage, usefull for mesh editing%%%

%%%This is two mesh vertices relaxation algorithm with none to low shape shrinkage, usefull for mesh editing%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%does anyone reviewing this patch?%%%

%%%does anyone reviewing this patch?%%%

%%%This functionality looks really useful but I have no time to review at the moment :( ...

Perhaps we can update the patch after 2.60 and review for inclusion.%%%

%%%This functionality looks really useful but I have no time to review at the moment :( ... Perhaps we can update the patch after 2.60 and review for inclusion.%%%

%%%sorry to bother and i know you guys are busy, but how about an update :)%%%

%%%sorry to bother and i know you guys are busy, but how about an update :)%%%

Added subscriber: @mont29

Added subscriber: @mont29

Is this patch still alive, or can we archive?

Is this patch still alive, or can we archive?

Added subscriber: @kevindietrich

Added subscriber: @kevindietrich

I don't know much about "vertices relaxation algorithm", but after quickly glancing over the patch this appears to be a particle polygoniser (?!). Apparently it is using the same marching cubes approach as the [fluid system ]] and [ https:*developer.blender.org/diffusion/B/browse/soc-2014-fluid/source/blender/python/manta_full/source/util/mcubes.h | mantaflow , at least the hash tables are the same, and they're pretty unique.

If it's worth the effort, and if OP agrees/isn't responding, I can give this patch a nice try and update.

I don't know much about "vertices relaxation algorithm", but after quickly glancing over the patch this appears to be a particle polygoniser (?!). Apparently it is using the same marching cubes approach as the [fluid system ]] and [[ https:*developer.blender.org/diffusion/B/browse/soc-2014-fluid/source/blender/python/manta_full/source/util/mcubes.h | mantaflow ](https:*developer.blender.org/diffusion/B/browse/master/intern/elbeem/intern/mcubes_tables.h), at least the hash tables are the same, and they're pretty unique. If it's worth the effort, and if OP agrees/isn't responding, I can give this patch a nice try and update.

Added subscriber: @zeauro

Added subscriber: @zeauro

farsthary was searching a way to make a particle polygoniser for sph paricles he implemented in Blender.
But he began to familiarize himself with these algorithms by making modeling tools like this one or sculpting tools like voxel sculpting experiments and unlimited clay.

These tools are mesh editing tools. They had same options to lock borders. They inspired to psy-fi Relax brush for UVsculpt.
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.62/UV_Tools#UV_Sculpting

It seems that no update was done since 2.5x series. Patch probably can not be applied as is. It is so old.
I am not sure these tools have an interest since we have Laplacian smooth modifier.

Maybe it is still interesting to add HCrelaxation algorithm as a mesh editing tool, modifier or sculpt brush.
I don't know what campbell, apinzof or psy-fi think about it.

farsthary was searching a way to make a particle polygoniser for sph paricles he implemented in Blender. But he began to familiarize himself with these algorithms by making modeling tools like this one or sculpting tools like voxel sculpting experiments and unlimited clay. These tools are mesh editing tools. They had same options to lock borders. They inspired to psy-fi Relax brush for UVsculpt. http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.62/UV_Tools#UV_Sculpting It seems that no update was done since 2.5x series. Patch probably can not be applied as is. It is so old. I am not sure these tools have an interest since we have Laplacian smooth modifier. Maybe it is still interesting to add HCrelaxation algorithm as a mesh editing tool, modifier or sculpt brush. I don't know what campbell, apinzof or psy-fi think about it.

I had some time to kill, dug around, and the patch attached here is the wrong one (mistakes happen :) ). This is a particle polygoniser (maybe for the SPH particles), not a mesh relaxer. It does apply nicely to master (only 3 .rej of a couple lines that can easily be re-implemented) but it is incomplete and it's adding a couple of files that are not compiled.

I've found the actual patch on @farsthary's blog , and here it is: relaxation_patch.patch

I had some time to kill, dug around, and the patch attached here is the wrong one (mistakes happen :) ). This **is** a particle polygoniser (maybe for the SPH particles), not a mesh relaxer. It does apply nicely to master (only 3 .rej of a couple lines that can easily be re-implemented) but it is incomplete and it's adding a couple of files that are not compiled. I've found the actual patch on @farsthary's [blog ](http://farsthary.wordpress.com/2011/02/16/relaxation-patch/), and here it is: [relaxation_patch.patch](https://archive.blender.org/developer/F112056/relaxation_patch.patch)

You are right. Description does not correspond to attached patch.
If there is an hope to obtain a polygoniser that works from this patch, it would be great to see a resurrection of this.

You are right. Description does not correspond to attached patch. If there is an hope to obtain a polygoniser that works from this patch, it would be great to see a resurrection of this.

Added subscriber: @WarrenBahler

Added subscriber: @WarrenBahler

it would be great to see a resurrection of this.

it certainly would

> it would be great to see a resurrection of this. it certainly would
Campbell Barton removed their assignment 2016-08-11 06:36:43 +02:00

Removed subscriber: @ideasman42

Removed subscriber: @ideasman42

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Dalai Felinto self-assigned this 2019-12-23 18:53:42 +01:00

Hi, thanks for your patch.

We are undergoing a Tracker Curfew where we are automatically closing old patches.

If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.

Hi, thanks for your patch. We are undergoing a [Tracker Curfew ](https://code.blender.org/?p=3861) where we are automatically closing old patches. If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.
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
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
8 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#26138
No description provided.