diff options
author | Jacques Lucke <jacques@blender.org> | 2020-10-19 13:11:38 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-10-19 13:12:44 +0300 |
commit | f7832b1583cd13bde182192bce358db3062a0547 (patch) | |
tree | ffde72d963ea62b239c6a57c928534823a22808d /source/blender/makesrna/RNA_access.h | |
parent | bd15efefd2f2d3554364303a09b67198e39d7bcd (diff) |
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
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index 0b882742839..8096c6d7d10 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -710,6 +710,7 @@ extern StructRNA RNA_ViewLayer; extern StructRNA RNA_ViewLayerEEVEE; extern StructRNA RNA_Volume; extern StructRNA RNA_VolumeDisplaceModifier; +extern StructRNA RNA_VolumeToMeshModifier; extern StructRNA RNA_VoronoiTexture; extern StructRNA RNA_WalkNavigation; extern StructRNA RNA_WarpModifier; |