Blender Git Commit Log

Git Commits -> Revision 9276426

Revision 9276426 by Brecht Van Lommel (master)
January 16, 2012, 13:13 (GMT)
Cycles: add option to cache BVH's between subsequent renders, storing the BVH on
disk to be reused by the next render.

This is useful for rendering animations where only the camera or materials change.
Note that saving the BVH to disk only to be removed for the next frame is slower
if this is not the case and the meshes do actually change.

For a render, it will save bvh files to the cache user directory, and remove all
cache files from other renders. The files are named using a MD5 hash based on the
mesh, to verify if the meshes are still the same.

Commit Details:

Full Hash: 92764260d7050800572c9d5b8a80f954572e9a0f
SVN Revision: 43422
Parent Commit: 3123ad1
Lines Changed: +135, -28

9 Modified Paths:

/intern/cycles/blender/addon/properties.py (+2, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+1, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+1, -0) (Diff)
/intern/cycles/bvh/bvh.cpp (+31, -0) (Diff)
/intern/cycles/bvh/bvh.h (+4, -0) (Diff)
/intern/cycles/bvh/bvh_params.h (+7, -4) (Diff)
/intern/cycles/render/mesh.cpp (+1, -0) (Diff)
/intern/cycles/util/util_cache.cpp (+50, -13) (Diff)
/intern/cycles/util/util_cache.h (+38, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021