diff options
author | Geraldine Chua <chua.gsk@gmail.com> | 2018-08-12 18:33:52 +0300 |
---|---|---|
committer | Geraldine Chua <chua.gsk@gmail.com> | 2018-08-12 18:33:52 +0300 |
commit | 9f4e5581d18899d665d61e93ae7c6933c5a3e770 (patch) | |
tree | 22ba9efc56ce97d242ea9cc7e6daafa514fce914 /intern/cycles/render/openvdb.h | |
parent | 57beb92ccec7d4952636231fc54b106aacb17d55 (diff) |
OpenVDB import to padded sparse grids.soc-2018-cycles-volumes
Diffstat (limited to 'intern/cycles/render/openvdb.h')
-rw-r--r-- | intern/cycles/render/openvdb.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/intern/cycles/render/openvdb.h b/intern/cycles/render/openvdb.h index 0eae87dc6ac..a92d027986e 100644 --- a/intern/cycles/render/openvdb.h +++ b/intern/cycles/render/openvdb.h @@ -26,13 +26,16 @@ int3 openvdb_get_resolution(const string& filepath); void openvdb_load_preprocess(const string& filepath, const string& grid_name, const float threshold, + const bool use_pad, vector<int> *sparse_index, int &sparse_size); void openvdb_load_image(const string& filepath, const string& grid_name, - float *image, - vector<int> *sparse_index); + const vector<int> *sparse_indexes, + const int sparse_size, + const bool use_pad, + float *image); CCL_NAMESPACE_END |