[REQUEST] Smooth feature for VDB Remesher #72774

Closed
opened 2019-12-29 19:20:02 +01:00 by paul geraskin · 12 comments
Member

Blender Version
Blender 2.81a

Short description of error
Hello super devs. I would like to ask you a smooth feature for the VDB Remesher. I use it in ZBrush and Houdini.

Here how it looks like in Blender. There is no feature to smooth VDB.
Here is my Blender file. tmp1.blend
tmp3.png

Here it is in ZBrush:
tmp4.png

Here it is in Houdini. There is VDB Smooth node. It smooth voxels and mesh becomes pretty good. I guess this is OpenVDB part.
Here is Houdini file. vdb_test_1.hipnc
tmp1.png
tmp2.png

Thanks. I hope it's possible to add. I guess this is a couple of strokes in the VDB Remesher code.

**Blender Version** Blender 2.81a **Short description of error** Hello super devs. I would like to ask you a smooth feature for the VDB Remesher. I use it in ZBrush and Houdini. Here how it looks like in Blender. There is no feature to smooth VDB. Here is my Blender file. [tmp1.blend](https://archive.blender.org/developer/F8250617/tmp1.blend) ![tmp3.png](https://archive.blender.org/developer/F8250607/tmp3.png) Here it is in ZBrush: ![tmp4.png](https://archive.blender.org/developer/F8250604/tmp4.png) Here it is in Houdini. There is VDB Smooth node. It smooth voxels and mesh becomes pretty good. I guess this is OpenVDB part. Here is Houdini file. [vdb_test_1.hipnc](https://archive.blender.org/developer/F8250615/vdb_test_1.hipnc) ![tmp1.png](https://archive.blender.org/developer/F8250611/tmp1.png) ![tmp2.png](https://archive.blender.org/developer/F8250613/tmp2.png) Thanks. I hope it's possible to add. I guess this is a couple of strokes in the VDB Remesher code.
Author
Member

Added subscriber: @PaulGeraskin

Added subscriber: @PaulGeraskin

Added subscriber: @Regnas

Added subscriber: @Regnas

This site is not request friendly. hehehe
But how about smooth it after the remesh?
2019-12-29_19-53-53.mp4

This site is not request friendly. hehehe But how about smooth it after the remesh? [2019-12-29_19-53-53.mp4](https://archive.blender.org/developer/F8250664/2019-12-29_19-53-53.mp4)
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Ray molenkamp self-assigned this 2019-12-29 20:10:43 +01:00
Member

Thanks for the report, but please use other channels for user feedback and feature requests: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests

For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug

Thanks for the report, but please use other channels for user feedback and feature requests: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug
Author
Member

Added subscriber: @PabloDobarro

Added subscriber: @PabloDobarro
Author
Member

Thanks for answering.
@Regnas , Mesh Filter is good but it smoothes polygons (not voxels). And because of it there become artifacts. As you can see on your video.
image.png
In houdini it's possible to smooth vdb voxels. And it makes good result almost without artifacts with one click.
tmp2.png

@LazyDodo Thanks. But about 2 years ago i did Feature Requests here and it was ok. I guess some things were changed.

@PabloDobarro Sorry, did you implemented the vdb remesher? Is it possible to add VDB Smooth?

BTW, This addon has VDB Smooth. https://blenderartists.org/t/openvdb-remesh/1102023
image.png
I guess this is pretty simple to implement in blender.

Thanks for answering. @Regnas , Mesh Filter is good but it smoothes polygons (not voxels). And because of it there become artifacts. As you can see on your video. ![image.png](https://archive.blender.org/developer/F8250878/image.png) In houdini it's possible to smooth vdb voxels. And it makes good result almost without artifacts with one click. ![tmp2.png](https://archive.blender.org/developer/F8250613/tmp2.png) @LazyDodo Thanks. But about 2 years ago i did Feature Requests here and it was ok. I guess some things were changed. @PabloDobarro Sorry, did you implemented the vdb remesher? Is it possible to add VDB Smooth? BTW, This addon has VDB Smooth. https://blenderartists.org/t/openvdb-remesh/1102023 ![image.png](https://archive.blender.org/developer/F8250891/image.png) I guess this is pretty simple to implement in blender.

In #72774#839708, @PaulGeraskin wrote:
Thanks for answering.
@Regnas , Mesh Filter is good but it smoothes polygons (not voxels). And because of it there become artifacts. As you can see on your video.

Yeah, that was a nasty hack lol. Proper vdb smooth would be nice to have.

> In #72774#839708, @PaulGeraskin wrote: > Thanks for answering. > @Regnas , Mesh Filter is good but it smoothes polygons (not voxels). And because of it there become artifacts. As you can see on your video. Yeah, that was a nasty hack lol. Proper vdb smooth would be nice to have.
Member

OpenVDB filters and CSG operations are already implemented, there are just not exposed in the current voxel remesher. You can enable them with a patch as simple as this P1197 (just an example of the gaussian smooth filter)
The thing is, I don't want to add all the OpenVDB options and filters to the current voxel remesher, which was only designed with sculpting in mind. All that code is there to support the voxel remesh modifier, which is in review. That modifier should have all the options available in a more complex UI and it should be the intended way to use OpenVDB remeshing for things like hard surface booleans or simulation proxies. But if you find a particular filter (or combination of filters) that can be useful for sculpting and they just need a single parameter to control it we can add it to the current sculpt oriented voxel remesher.

OpenVDB filters and CSG operations are already implemented, there are just not exposed in the current voxel remesher. You can enable them with a patch as simple as this [P1197](https://archive.blender.org/developer/P1197.txt) (just an example of the gaussian smooth filter) The thing is, I don't want to add all the OpenVDB options and filters to the current voxel remesher, which was only designed with sculpting in mind. All that code is there to support the voxel remesh modifier, which is in review. That modifier should have all the options available in a more complex UI and it should be the intended way to use OpenVDB remeshing for things like hard surface booleans or simulation proxies. But if you find a particular filter (or combination of filters) that can be useful for sculpting and they just need a single parameter to control it we can add it to the current sculpt oriented voxel remesher.
Author
Member

@Regnas Yeah, VDB Smooth would be nice.

@PabloDobarro Thank you for answering! You move blender to the best sculpting app. )
For sculpting I would add only VDB Smooth filter. ZBrush has it too for Dynamesh. Zbrush has Blur(filter) = 2 by default.

In Houdini the VDB Smooth filter has 3 parameters:
image.png
We could leave Operation=Gaussian for sculpting which will not be in UI. And add 2 parameters for smooth - Iteration,Voxel Radius.

About the VDB remesh modifier is super cool news! I guess this is it https://developer.blender.org/D4960
I'll leave an additional post there about the modifier.

I would be happy to see VDB Smooth in the sculpting remesher. It will be useful like in ZBrush.

Also, thanks for the patch but I have never compiled Blender for Windows by myself. (

Thanks.

@Regnas Yeah, VDB Smooth would be nice. @PabloDobarro Thank you for answering! You move blender to the best sculpting app. ) For sculpting I would add only VDB Smooth filter. ZBrush has it too for Dynamesh. Zbrush has Blur(filter) = 2 by default. In Houdini the VDB Smooth filter has 3 parameters: ![image.png](https://archive.blender.org/developer/F8252266/image.png) We could leave Operation=Gaussian for sculpting which will not be in UI. And add 2 parameters for smooth - Iteration,Voxel Radius. About the VDB remesh modifier is super cool news! I guess this is it https://developer.blender.org/D4960 I'll leave an additional post there about the modifier. I would be happy to see VDB Smooth in the sculpting remesher. It will be useful like in ZBrush. Also, thanks for the patch but I have never compiled Blender for Windows by myself. ( Thanks.
Member

Guys the bug tracker is not a forum, please do not use it as such, if you would like to discuss this more please use user feedback area at https://devtalk.blender.org/c/user-feedback/13

Guys the bug tracker is not a forum, please do not use it as such, if you would like to discuss this more please use user feedback area at https://devtalk.blender.org/c/user-feedback/13
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#72774
No description provided.