Blender Git Loki
Git Commits -> Revision 903cc89
Revision 903cc89 by Tamito Kajiyama (master) February 14, 2010, 03:17 (GMT) |
Added support for pixel-based density and Z depth information. Availability of pixel-based density and Z depth information depends on passes of a render layer being rendered. - Density information is available if the diffuse pass of the render layer is enabled. It is accessible through the DensityF0D and DensityF1D functions provided by the Freestyle Python API. These functions return 0 if the diffuse pass is disabled. - Z depth information is available if the Z pass is enabled. It can be accessed through LocalAverageDepthF0D and LocalAverageDepthF1D. These functions return 0 if the Z pass is disabled. |
Commit Details:
Full Hash: 903cc89e3098aea5aa368a82a7fb5765df7c1b5e
SVN Revision: 26879
Parent Commit: fdaa460
Lines Changed: +68, -6
5 Modified Paths:
/source/blender/freestyle/intern/application/AppCanvas.cpp (+34, -6) (Diff)
/source/blender/freestyle/intern/application/AppCanvas.h (+7, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.cpp (+14, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.h (+2, -0) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+11, -0) (Diff)
/source/blender/freestyle/intern/application/AppCanvas.h (+7, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.cpp (+14, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.h (+2, -0) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+11, -0) (Diff)