Blender Git Commit Log

Git Commits -> Revision fe09b24

Revision fe09b24 by Brecht Van Lommel (master)
October 10, 2012, 15:56 (GMT)
Cycles: per-BSDF normal input and new Bump node.

Each BSDF node now has a Normal input, which can be used to set a custom normal
for the BSDF, for example if you want to have only bump on one of the layers in
a multilayer material.

The Bump node can be used to generate a normal from a scalar value, the same as
what happens when you connect a scalar value to the displacement output.

Documentation has been updated with the latest changes:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes

Patch by Agustin Benavidez, some implementation tweaks by me.

Commit Details:

Full Hash: fe09b24e86e340e733f91c8ed9fcc7b8519157f4
SVN Revision: 51267
Parent Commit: e9a61cd
Lines Changed: +299, -46

1 Added Path:

/source/blender/nodes/shader/nodes/node_shader_bump.c (+63, -0) (View)

29 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+4, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/bsdf_ashikhmin_velvet.h (+2, -2) (Diff)
/intern/cycles/kernel/svm/bsdf_diffuse.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/bsdf_microfacet.h (+6, -6) (Diff)
/intern/cycles/kernel/svm/bsdf_oren_nayar.h (+6, -6) (Diff)
/intern/cycles/kernel/svm/bsdf_reflection.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/bsdf_refraction.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/bsdf_ward.h (+2, -2) (Diff)
/intern/cycles/kernel/svm/bsdf_westin.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/svm.h (+6, -3) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+31, -3) (Diff)
/intern/cycles/kernel/svm/svm_displace.h (+19, -7) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/graph.cpp (+75, -3) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+55, -3) (Diff)
/intern/cycles/render/nodes.h (+5, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree_types.h (+2, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021