Blender Git Commit Log

Git Commits -> Revision 7f4a2fc

Revision 7f4a2fc by Omar Emara (master)
August 21, 2019, 17:36 (GMT)
Shading: Add more operators to Vector Math node.

Add Multiply, Divide, Project, Reflect, Distance, Length, Scale, Snap,
Floor, Ceil, Modulo, Fraction, Absolute, Minimum, and Maximum operators
to the Vector Math node. The Value output has been removed from operators
whose output is a vector, and the other way around. All of those removals
has been handled properly in versioning code.

The patch doesn't include tests for the new operators. Tests will be added
in a later patch.

Reviewers: brecht, JacquesLucke

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

Commit Details:

Full Hash: 7f4a2fc437cf9a6decbda152bd7d36ce7a08929f
Parent Commit: 6785da0
Lines Changed: +968, -307

1 Added Path:

/source/blender/nodes/shader/nodes/node_shader_vector_math.c (+113, -0) (View)

1 Deleted Path:

/source/blender/nodes/shader/nodes/node_shader_vectMath.c (+0, -155)

30 Modified Paths:

/.clang-format (+2, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+2, -2) (Diff)
/intern/cycles/blender/blender_shader.cpp (+3, -3) (Diff)
/intern/cycles/kernel/shaders/node_vector_math.osl (+73, -10) (Diff)
/intern/cycles/kernel/svm/svm_math.h (+18, -14) (Diff)
/intern/cycles/kernel/svm/svm_math_util.h (+65, -30) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+22, -5) (Diff)
/intern/cycles/render/bake.cpp (+1, -1) (Diff)
/intern/cycles/render/constant_fold.cpp (+38, -1) (Diff)
/intern/cycles/render/constant_fold.h (+1, -1) (Diff)
/intern/cycles/render/nodes.cpp (+36, -11) (Diff)
/intern/cycles/render/nodes.h (+2, -1) (Diff)
/intern/cycles/subd/subd_dice.cpp (+2, -2) (Diff)
/intern/cycles/subd/subd_split.cpp (+4, -4) (Diff)
/intern/cycles/test/render_graph_finalize_test.cpp (+2, -25) (Diff)
/intern/cycles/util/util_math_float3.h (+62, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+0, -5) (Diff)
/source/blender/blenlib/BLI_listbase.h (+9, -0) (Diff)
/source/blender/blenloader/intern/versioning_cycles.c (+352, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+94, -22) (Diff)
/source/blender/makesdna/DNA_node_types.h (+27, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+32, -7) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -1) (Diff)
/source/blender/nodes/intern/node_util.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_util.h (+1, -1) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_normal_map.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021