|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_normal (bNode *node, float *out, float *in) |
| static void | node_composit_exec_normal (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_normal (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_normal_in [] |
| static bNodeSocketType | cmp_node_normal_out [] |
Definition in file CMP_normal.c.
| static void do_normal | ( | bNode * | node, |
| float * | out, | ||
| float * | in | ||
| ) | [static] |
Definition at line 50 of file CMP_normal.c.
References ListBase::first, INPR, bNodeSocket::ns, bNode::outputs, and bNodeStack::vec.
Referenced by node_composit_exec_normal().
| static void node_composit_exec_normal | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 60 of file CMP_normal.c.
References alloc_compbuf(), CB_VAL, CB_VEC3, composit1_pixel_processor(), bNodeStack::data, do_normal(), ListBase::first, INPR, bNodeSocket::ns, NULL, bNode::outputs, bNodeStack::vec, VECCOPY, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_normal().
| void register_node_type_cmp_normal | ( | ListBase * | lb | ) |
Definition at line 85 of file CMP_normal.c.
References CMP_NODE_NORMAL, NODE_CLASS_OP_VECTOR, node_composit_exec_normal(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_normal_in[] [static] |
{
{ SOCK_VECTOR, 1, "Normal", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 39 of file CMP_normal.c.
bNodeSocketType cmp_node_normal_out[] [static] |
{
{ SOCK_VECTOR, 0, "Normal", 0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ SOCK_VALUE, 0, "Dot", 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 44 of file CMP_normal.c.