Blender Git Commit Log

Git Commits -> Revision 635ab9d

Revision 635ab9d by Charlie Jolly (master)
February 14, 2020, 22:14 (GMT)
Shading: Extend Vector Math Node with Sin, Cos, Tan and Wrap functions

This adds some extra functions recently added to the float Maths Node.
Not all functions have been ported over in this patch.

Also:
+ Tidy up menu
+ Change node color to match other vector nodes, this helps distinguish vector and float nodes in the tree
+ Move shared OSL functions to new header node_math.h

Reviewed By: brecht

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

Commit Details:

Full Hash: 635ab9d1dded4d4975bd4486718fde19e8e901ca
Parent Commit: 44d7706
Lines Changed: +276, -112

1 Added Path:

/intern/cycles/kernel/shaders/node_math.h (+94, -0) (View)

14 Modified Paths:

/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_math.osl (+1, -49) (Diff)
/intern/cycles/kernel/shaders/node_vector_math.osl (+14, -23) (Diff)
/intern/cycles/kernel/svm/svm_math.h (+9, -1) (Diff)
/intern/cycles/kernel/svm/svm_math_util.h (+14, -1) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+4, -0) (Diff)
/intern/cycles/render/nodes.cpp (+25, -6) (Diff)
/intern/cycles/render/nodes.h (+1, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_math.glsl (+1, -2) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_math_util.glsl (+11, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_vector_math.glsl (+55, -20) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+14, -9) (Diff)
/source/blender/nodes/shader/nodes/node_shader_vector_math.c (+28, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021