![]() |
Blender V2.61 - r43446
|
#include "node_composite_util.h"Go to the source code of this file.
Functions | |
| static void | do_zcombine (bNode *node, float *out, float *src1, float *z1, float *src2, float *z2) |
| static void | do_zcombine_mask (bNode *node, float *out, float *z1, float *z2) |
| static void | do_zcombine_add (bNode *node, float *out, float *col1, float *col2, float *acol) |
| static void | node_composit_exec_zcombine (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_zcombine (bNodeTreeType *ttype) |
Variables | |
| static bNodeSocketTemplate | cmp_node_zcombine_in [] |
| static bNodeSocketTemplate | cmp_node_zcombine_out [] |
Definition in file node_composite_zcombine.c.
| static void do_zcombine | ( | bNode * | node, |
| float * | out, | ||
| float * | src1, | ||
| float * | z1, | ||
| float * | src2, | ||
| float * | z2 | ||
| ) | [static] |
Definition at line 51 of file node_composite_zcombine.c.
References copy_v4_v4(), bNode::custom1, and bNode::custom2.
Referenced by node_composit_exec_zcombine().
| static void do_zcombine_add | ( | bNode * | node, |
| float * | out, | ||
| float * | col1, | ||
| float * | col2, | ||
| float * | acol | ||
| ) | [static] |
Definition at line 100 of file node_composite_zcombine.c.
References bNode::custom1.
Referenced by node_composit_exec_zcombine().
| static void do_zcombine_mask | ( | bNode * | node, |
| float * | out, | ||
| float * | z1, | ||
| float * | z2 | ||
| ) | [static] |
Definition at line 91 of file node_composite_zcombine.c.
References bNode::custom2.
Referenced by node_composit_exec_zcombine().
| static void node_composit_exec_zcombine | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 140 of file node_composite_zcombine.c.
References alloc_compbuf(), antialias_tagbuf(), CB_RGBA, CB_VAL, composit2_pixel_processor(), composit3_pixel_processor(), composit4_pixel_processor(), bNode::custom2, bNodeStack::data, data, do_zcombine(), do_zcombine_add(), do_zcombine_mask(), dupalloc_compbuf(), free_compbuf(), MEM_freeN(), MEM_mallocN(), NULL, R_FULL_SAMPLE, CompBuf::rect, RenderData::scemode, bNodeStack::vec, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_zcombine().
| void register_node_type_cmp_zcombine | ( | bNodeTreeType * | ttype | ) |
Definition at line 225 of file node_composite_zcombine.c.
References CMP_NODE_ZCOMBINE, NODE_CLASS_OP_COLOR, node_composit_exec_zcombine(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), node_type_socket_templates(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketTemplate cmp_node_zcombine_in[] [static] |
{
{ SOCK_RGBA, 1, "Image", 1.0f, 1.0f, 1.0f, 1.0f},
{ SOCK_FLOAT, 1, "Z", 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 10000.0f, PROP_NONE},
{ SOCK_RGBA, 1, "Image", 1.0f, 1.0f, 1.0f, 1.0f},
{ SOCK_FLOAT, 1, "Z", 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 10000.0f, PROP_NONE},
{ -1, 0, "" }
}
Definition at line 38 of file node_composite_zcombine.c.
bNodeSocketTemplate cmp_node_zcombine_out[] [static] |
{
{ SOCK_RGBA, 0, "Image"},
{ SOCK_FLOAT, 0, "Z"},
{ -1, 0, "" }
}
Definition at line 45 of file node_composite_zcombine.c.