Implementation of OpenVDB as a possible cache format for smoke
authorKévin Dietrich <kevin.dietrich@mailoo.org>
Sat, 23 Jan 2016 07:39:29 +0000 (08:39 +0100)
committerKévin Dietrich <kevin.dietrich@mailoo.org>
Sat, 23 Jan 2016 07:39:40 +0000 (08:39 +0100)
commite9452f909cdba368f54637cd0b15ff14d1c60cf3
tree7d276fa9063f351e8b9f128f4436b87c2338c764
parent275abd14a0963a42aeb6e7fcd9b61ac8bc00da42
Implementation of OpenVDB as a possible cache format for smoke
simulations.

This commits implements OpenVDB as an extra cache format in the Point
Cache system for smoke simulations. Compilation with the library is
turned off by default for now, and shall be enabled when the library is
present.

A documentation of its doings is available here: http://
wiki.blender.org/index.php/User:Kevindietrich/OpenVDBSmokeExport.

A guide to compile OpenVDB can be found here (Linux): http://
wiki.blender.org/index.php?title=Dev:Doc/Building_Blender/Linux/
Dependencies_From_Source#OpenVDB

Reviewers: sergey, lukastoenne, brecht, campbellbarton

Reviewed By: brecht, campbellbarton

Subscribers: galenb, Blendify, robocyte, Lapineige, bliblubli,
jtheninja, lukasstockner97, dingto, brecht

Differential Revision: https://developer.blender.org/D1721
33 files changed:
CMakeLists.txt
build_files/cmake/Modules/FindOpenVDB.cmake [new file with mode: 0644]
build_files/cmake/config/blender_lite.cmake
build_files/cmake/config/bpy_module.cmake
build_files/cmake/macros.cmake
intern/CMakeLists.txt
intern/openvdb/CMakeLists.txt [new file with mode: 0644]
intern/openvdb/intern/openvdb_dense_convert.cc [new file with mode: 0644]
intern/openvdb/intern/openvdb_dense_convert.h [new file with mode: 0644]
intern/openvdb/intern/openvdb_reader.cc [new file with mode: 0644]
intern/openvdb/intern/openvdb_reader.h [new file with mode: 0644]
intern/openvdb/intern/openvdb_writer.cc [new file with mode: 0644]
intern/openvdb/intern/openvdb_writer.h [new file with mode: 0644]
intern/openvdb/openvdb_capi.cc [new file with mode: 0644]
intern/openvdb/openvdb_capi.h [new file with mode: 0644]
intern/openvdb/openvdb_util.cc [new file with mode: 0644]
intern/openvdb/openvdb_util.h [new file with mode: 0644]
release/scripts/modules/sys_info.py
release/scripts/startup/bl_ui/properties_physics_smoke.py
source/blender/blenkernel/BKE_pointcache.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/smoke.c
source/blender/editors/space_view3d/drawobject.c
source/blender/makesdna/DNA_smoke_types.h
source/blender/makesrna/intern/CMakeLists.txt
source/blender/makesrna/intern/rna_smoke.c
source/blender/python/intern/CMakeLists.txt
source/blender/python/intern/bpy_app.c
source/blender/python/intern/bpy_app_build_options.c
source/blender/python/intern/bpy_app_openvdb.c [new file with mode: 0644]
source/blender/python/intern/bpy_app_openvdb.h [new file with mode: 0644]
source/blenderplayer/CMakeLists.txt