diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-26 17:28:56 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-26 17:30:25 +0300 |
commit | 454c1a5de4cf5e8c3b867571ad2107bd6d9c75e6 (patch) | |
tree | fe6b3e86a1f139ebac0e8a3b7dc596c0642e510a /release | |
parent | da84bd3c117590c6bd981e5c24a0591347d9d689 (diff) |
Voxel Remesh: Fix poles and preserve volume
This commit fixes most of the issues we currently have in the voxel remesher. Mesh volume is preserved when doing multiple iterations, so the sculpt won't shrink and smooth each time you run the remesher. Mesh topology is much better, fixing most issues related to mask extraction and other topology based operations.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D5863
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index 0794c3a1039..906969e9af4 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -476,7 +476,9 @@ class DATA_PT_remesh(MeshButtonsPanel, Panel): col = layout.column() if (mesh.remesh_mode == 'VOXEL'): col.prop(mesh, "remesh_voxel_size") + col.prop(mesh, "remesh_fix_poles") col.prop(mesh, "remesh_smooth_normals") + col.prop(mesh, "remesh_preserve_volume") col.prop(mesh, "remesh_preserve_paint_mask") col.operator("object.voxel_remesh", text="Voxel Remesh") else: diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 761b813d576..96a27ae796c 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1234,7 +1234,9 @@ class VIEW3D_PT_sculpt_voxel_remesh(Panel, View3DPaintPanel): col = layout.column() mesh = context.active_object.data col.prop(mesh, "remesh_voxel_size") + col.prop(mesh, "remesh_fix_poles") col.prop(mesh, "remesh_smooth_normals") + col.prop(mesh, "remesh_preserve_volume") col.prop(mesh, "remesh_preserve_paint_mask") col.operator("object.voxel_remesh", text="Remesh") |