Blender Git Commit Log

Git Commits -> Revision e561872

Revision e561872 by Omar Emara (master)
August 18, 2019, 09:16 (GMT)
Shading: Refactor Math node and use dynamic inputs.

- Implement dynamic inputs. The second input is now unavailable in single
operand math operators.
- Reimplemenet the clamp option using graph expansion for Cycles.
- Clean up code and unify naming between Blender and Cycles.
- Remove unused code.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5481

Commit Details:

Full Hash: e5618725fd1ebdf558e963d959eb3950b5a9874c
Parent Commit: e12c17b
Lines Changed: +398, -664

19 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+4, -4) (Diff)
/intern/cycles/kernel/shaders/node_math.osl (+33, -60) (Diff)
/intern/cycles/kernel/svm/svm_math.h (+9, -11) (Diff)
/intern/cycles/kernel/svm/svm_math_util.h (+53, -57) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+3, -4) (Diff)
/intern/cycles/render/constant_fold.cpp (+8, -8) (Diff)
/intern/cycles/render/constant_fold.h (+1, -1) (Diff)
/intern/cycles/render/nodes.cpp (+27, -15) (Diff)
/intern/cycles/render/nodes.h (+2, -1) (Diff)
/intern/cycles/test/render_graph_finalize_test.cpp (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+10, -0) (Diff)
/source/blender/blenloader/intern/versioning_cycles.c (+51, -1) (Diff)
/source/blender/compositor/nodes/COM_MathNode.cpp (+18, -18) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+62, -102) (Diff)
/source/blender/makesdna/DNA_node_types.h (+19, -19) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+29, -25) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.c (+49, -319) (Diff)
/source/blender/nodes/texture/nodes/node_texture_math.c (+18, -18) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021