Blender Git Commit Log

Git Commits -> Revision 6862762

Revision 6862762 by Lukas Stockner (master)
May 24, 2018, 14:46 (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: 68627626854c27c2135cab72b48b648cb638c8cb
Parent Commit: 8d9faf8
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021