Blender Git Commit Log

Git Commits -> Revision f7832b1

Revision f7832b1 by Jacques Lucke (master)
October 19, 2020, 10:12 (GMT)
Volumes: new Volume to Mesh modifier

This modifier is the opposite of the recently added Mesh to Volume modifier.
It converts the "surface" of a volume into a mesh. The "surface" is defined
by a threshold value. All voxels with a density higher than the threshold
are considered to be inside the volume, while all others will be outside.

By default, the resolution of the generated mesh depends on the voxel
size of the volume grid. The resolution can be customized. It should be
noted that a lower resolution might not make this modifier faster. This
is because we have to downsample the openvdb grid, which isn't a cheap
operation.

Converting a mesh to a volume and then back to a mesh is possible,
but it does require two separate mesh objects for now.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D9141

Commit Details:

Full Hash: f7832b1583cd13bde182192bce358db3062a0547
Parent Commit: bd15efe
Lines Changed: +471, -2

1 Added Path:

/source/blender/modifiers/intern/MOD_volume_to_mesh.cc (+343, -0) (View)

7 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+34, -0) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+89, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/modifiers/CMakeLists.txt (+1, -0) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+1, -0) (Diff)
/source/blender/modifiers/MOD_modifiertypes.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021