Blender Git Commit Log
Git Commits -> Revision fef9647
Revision fef9647 by Lukas Stockner (gsoc-2018-many-light-sampling, soc-2020-production-ready-light-tree, soc-2020-production-ready-light-tree-2) June 1, 2018, 13:41 (GMT) |
Cycles/Compositor: Add arctan2 operation to the Math node The Math node currently has the normal atan() function, but for actual angles this is fairly useless without additional nodes to handle the signs. Since the node has two inputs anyways, it only makes sense to add an arctan2 option. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3430 |
Commit Details:
Full Hash: fef9647db4918c5944da1d0005ce439e3a2a162a
Parent Commit: f914311
Committed By: Erik Englesson
Lines Changed: +49, -0
13 Modified Paths:
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_math.osl (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm_math_util.h (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+1, -0) (Diff)
/source/blender/compositor/nodes/COM_MathNode.cpp (+3, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.cpp (+13, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.h (+6, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+5, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.c (+7, -0) (Diff)
/source/blender/nodes/texture/nodes/node_texture_math.c (+6, -0) (Diff)
/intern/cycles/kernel/shaders/node_math.osl (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm_math_util.h (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+1, -0) (Diff)
/source/blender/compositor/nodes/COM_MathNode.cpp (+3, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.cpp (+13, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.h (+6, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+5, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.c (+7, -0) (Diff)
/source/blender/nodes/texture/nodes/node_texture_math.c (+6, -0) (Diff)