Blender Git Loki

Git Commits -> Revision d43682d

Revision d43682d by Brecht Van Lommel (master)
August 18, 2013, 14:15 (GMT)
Cycles: Subsurface Scattering

New features:

* Bump mapping now works with SSS
* Texture Blur factor for SSS, see the documentation for details:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Subsurface_Scattering

Work in progress for feedback:

Initial implementation of the "BSSRDF Importance Sampling" paper, which uses
a different importance sampling method. It gives better quality results in
many ways, with the availability of both Cubic and Gaussian falloff functions,
but also tends to be more noisy when using the progressive integrator and does
not give great results with some geometry. It works quite well for the
non-progressive integrator and is often less noisy there.

This code may still change a lot, so unless you're testing it may be best to
stick to the Compatible falloff function.

Skin test render and file that takes advantage of the gaussian falloff:
http://www.pasteall.org/pic/show.php?id=57661
http://www.pasteall.org/pic/show.php?id=57662
http://www.pasteall.org/blend/23501

Commit Details:

Full Hash: d43682d51bbe70448b328980d29c3a08cf4d4a26
SVN Revision: 59236
Parent Commit: a254150
Lines Changed: +1381, -426

1 Added Path:

/intern/cycles/kernel/kernel_bvh_subsurface.h (+308, -0) (View)

35 Modified Paths:

/intern/cycles/blender/blender_object.cpp (+2, -2) (Diff)
/intern/cycles/blender/blender_shader.cpp (+17, -1) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+0, -5) (Diff)
/intern/cycles/kernel/closure/bssrdf.h (+137, -80) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+86, -33) (Diff)
/intern/cycles/kernel/kernel_bvh_traversal.h (+39, -89) (Diff)
/intern/cycles/kernel/kernel_montecarlo.h (+15, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+43, -12) (Diff)
/intern/cycles/kernel/kernel_random.h (+9, -2) (Diff)
/intern/cycles/kernel/kernel_shader.h (+71, -46) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+390, -66) (Diff)
/intern/cycles/kernel/kernel_types.h (+10, -7) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.cpp (+50, -9) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.h (+1, -6) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+3, -1) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+6, -3) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+24, -13) (Diff)
/intern/cycles/kernel/shaders/node_subsurface_scattering.osl (+6, -4) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+17, -9) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+6, -2) (Diff)
/intern/cycles/render/bssrdf.cpp (+12, -17) (Diff)
/intern/cycles/render/graph.h (+3, -1) (Diff)
/intern/cycles/render/nodes.cpp (+31, -7) (Diff)
/intern/cycles/render/nodes.h (+3, -0) (Diff)
/intern/cycles/render/osl.cpp (+14, -3) (Diff)
/intern/cycles/render/shader.cpp (+9, -0) (Diff)
/intern/cycles/render/shader.h (+1, -0) (Diff)
/intern/cycles/render/svm.cpp (+9, -2) (Diff)
/intern/cycles/util/util_math.h (+18, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+8, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+19, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+5, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021