Blender Git Loki

Git Commits -> Revision 638b084

Revision 638b084 by Stuart Broadfoot (master)
April 15, 2013, 21:38 (GMT)
Cycles Hair: Strand Minimum Pixel Size

Code is added to restrict the pixel size of strands in cycles. It works best with ribbon primitives and a preset for these is included. It uses distance dependent expansion of the strands and then stochastic strand removal to give a fading. To prevent a slowdown for triangle mesh objects in the BVH an extra visibility flag has been added. It is also only applied for camera rays.

The strand width settings are also changed, so that the particle size is not included in the width calculation. Instead there is a separate particle system parameter for width scaling.

Commit Details:

Full Hash: 638b084f824bc345468bc8e02422b5da65a641a7
SVN Revision: 56072
Parent Commit: ceb61eb
Lines Changed: +272, -37

17 Modified Paths:

/intern/cycles/blender/addon/properties.py (+24, -5) (Diff)
/intern/cycles/blender/addon/ui.py (+9, -2) (Diff)
/intern/cycles/blender/blender_curves.cpp (+9, -1) (Diff)
/intern/cycles/bvh/bvh.cpp (+5, -0) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+142, -24) (Diff)
/intern/cycles/kernel/kernel_path.h (+30, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+3, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+18, -1) (Diff)
/intern/cycles/kernel/svm/svm_geometry.h (+5, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -0) (Diff)
/intern/cycles/render/camera.cpp (+1, -0) (Diff)
/intern/cycles/render/camera.h (+1, -0) (Diff)
/intern/cycles/render/curves.cpp (+6, -0) (Diff)
/intern/cycles/render/curves.h (+4, -1) (Diff)
/intern/cycles/render/nodes.cpp (+8, -0) (Diff)
/intern/cycles/render/session.cpp (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_hair_info.c (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021