Cycles: Add option to split triangle motion primitives by time steps
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 17 Jan 2017 14:13:01 +0000 (15:13 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 20 Jan 2017 11:46:18 +0000 (12:46 +0100)
commitc4890cd354bdba341be5b5fb9cf3724ee294634b
treed386013b012b84311aace212b5d1dc949b970e4f
parent5298853e95057942251262d649fcd41b5769f52c
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.
intern/cycles/blender/blender_sync.cpp
intern/cycles/bvh/bvh_build.cpp
intern/cycles/bvh/bvh_params.h
intern/cycles/render/mesh.cpp
intern/cycles/render/scene.h