Blender Git Commit Log

Git Commits -> Revision dd9c53b

Revision dd9c53b by Tamito Kajiyama (master)
October 2, 2014, 08:52 (GMT)
Freestyle: View map caching.

New render layer option named "View map cache" is added to reuse a
previously computed view map for subsequent rendering. The cache is
automatically updated when the mesh geometry of the input 3D scene has
been changed.

This functionality offers a major performance boost for Freestyle
animation rendering when camera-space mesh geometry is static, as well
as for repeated still renders with updates of line stylization options.

Although the "View map cache" toggle is a render layer option, the cache
memory is shared by all render layers and scenes. This means that if
Freestyle is used for two or more render layers (possibly in different
scenes through the compositor), then the cached view map for one render
layer is replaced by a new view map for another render layer and hence
no performance gain is expected.

Commit Details:

Full Hash: dd9c53b312a62f1cc87e26cab3fde0c568c14844
Parent Commit: 6bde538
Lines Changed: +203, -38

2 Added Paths:

/source/blender/freestyle/intern/scene_graph/SceneHash.cpp (+39, -0) (View)
/source/blender/freestyle/intern/scene_graph/SceneHash.h (+67, -0) (View)

10 Modified Paths:

/release/scripts/startup/bl_ui/properties_freestyle.py (+2, -0) (Diff)
/source/blender/freestyle/CMakeLists.txt (+2, -0) (Diff)
/source/blender/freestyle/FRS_freestyle.h (+1, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.cpp (+46, -37) (Diff)
/source/blender/freestyle/intern/application/Controller.h (+10, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+15, -0) (Diff)
/source/blender/makesdna/DNA_freestyle_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+16, -0) (Diff)
/source/blender/makesrna/intern/SConscript (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021