diff options
author | Jacques Lucke <jacques@blender.org> | 2020-09-29 17:02:40 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-09-29 17:03:30 +0300 |
commit | 5845c06a63a6b96f038f5a46d538b0f9737102e9 (patch) | |
tree | 9a2bf0a1e90e6e37c60fcbf357c64874f258ab86 /source/blender/modifiers/CMakeLists.txt | |
parent | e12767a0352a9e113892b4a07c6c8446d3ff361f (diff) |
Volumes: new Mesh to Volume modifier
This modifier can only be added to Volume objects. It takes a mesh
as input and generates a "density" grid near the surface or in
the enclosed volume.
Ref T73201.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D9032
Diffstat (limited to 'source/blender/modifiers/CMakeLists.txt')
-rw-r--r-- | source/blender/modifiers/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt index 8425d9bf569..3bc8a23184b 100644 --- a/source/blender/modifiers/CMakeLists.txt +++ b/source/blender/modifiers/CMakeLists.txt @@ -67,6 +67,7 @@ set(SRC intern/MOD_laplaciansmooth.c intern/MOD_lattice.c intern/MOD_mask.cc + intern/MOD_mesh_to_volume.cc intern/MOD_meshcache.c intern/MOD_meshcache_mdd.c intern/MOD_meshcache_pc2.c @@ -177,6 +178,20 @@ if(WITH_GMP) add_definitions(-DWITH_GMP) endif() +if(WITH_OPENVDB) + list(APPEND INC + ../../../intern/openvdb + ) + list(APPEND INC_SYS + ${OPENVDB_INCLUDE_DIRS} + ) + list(APPEND LIB + bf_intern_openvdb + ${OPENVDB_LIBRARIES} + ) + add_definitions(-DWITH_OPENVDB ${OPENVDB_DEFINITIONS}) +endif() + if(WITH_EXPERIMENTAL_FEATURES) add_definitions(-DWITH_PARTICLE_NODES) add_definitions(-DWITH_HAIR_NODES) |