Blender Git Commit Log

Git Commits -> Revision 99b325c

Revision 99b325c by Thomas Dinges (master)
May 23, 2013, 17:45 (GMT)
Cycles / Toon BSDF:
* Added a toon bsdf node to Cycles. This was already available as OSL only closure, but is now available inside the SVM backed as well, for CPU and GPU rendering.
* There are 2 variations available, diffuse and glossy toon, selectable via a menu inside the node.

Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Toon

Example render & blend file:
http://www.pasteall.org/pic/show.php?id=51970
http://www.pasteall.org/blend/21579

Commit Details:

Full Hash: 99b325cebf41054f046d98a7dcf9aea74e165f56
SVN Revision: 56980
Parent Commit: 3b0cc9c
Lines Changed: +268, -209

2 Added Paths:

/intern/cycles/kernel/shaders/node_toon_bsdf.osl (+34, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_bsdf_toon.c (+67, -0) (View)

2 Deleted Paths:

/intern/cycles/kernel/osl/bsdf_toon.cpp (+0, -179)
/release/scripts/templates_osl/toon_closure.osl (+0, -12)

22 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+13, -0) (Diff)
/intern/cycles/kernel/closure/bsdf.h (+27, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_toon.h (+7, -7) (Diff)
/intern/cycles/kernel/osl/CMakeLists.txt (+0, -1) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+17, -4) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+0, -4) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+17, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -1) (Diff)
/intern/cycles/render/nodes.cpp (+35, -0) (Diff)
/intern/cycles/render/nodes.h (+8, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+8, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+5, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+17, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021