diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-17 17:13:01 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-20 14:46:18 +0300 |
commit | c4890cd354bdba341be5b5fb9cf3724ee294634b (patch) | |
tree | d386013b012b84311aace212b5d1dc949b970e4f /intern/cycles/bvh/bvh_params.h | |
parent | 5298853e95057942251262d649fcd41b5769f52c (diff) |
Cycles: Add option to split triangle motion primitives by time steps
Similar to the previous commit, the statistics goes as:
BVH Steps Render time (sec) Memory usage (MB)
0 46 260
1 27 373
2 18 598
3 15 826
Scene used for the tests is the agent's body from one of the barber
shop scenes (no textures or anything, just a diffuse material).
Once again this is limited to regular (non-spatial split) BVH,
Support of spatial split to this feature will come later.
Diffstat (limited to 'intern/cycles/bvh/bvh_params.h')
-rw-r--r-- | intern/cycles/bvh/bvh_params.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/bvh/bvh_params.h b/intern/cycles/bvh/bvh_params.h index 1521fe9b5e4..233c7adacba 100644 --- a/intern/cycles/bvh/bvh_params.h +++ b/intern/cycles/bvh/bvh_params.h @@ -69,6 +69,9 @@ public: */ int num_motion_curve_steps; + /* Same as above, but for triangle primitives. */ + int num_motion_triangle_steps; + /* fixed parameters */ enum { MAX_DEPTH = 64, |