|
Blender
V2.59
|
#include "../CMP_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 (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_zcombine_in [] |
| static bNodeSocketType | cmp_node_zcombine_out [] |
Definition in file CMP_zcombine.c.
| static void do_zcombine | ( | bNode * | node, |
| float * | out, | ||
| float * | src1, | ||
| float * | z1, | ||
| float * | src2, | ||
| float * | z2 | ||
| ) | [static] |
Definition at line 53 of file CMP_zcombine.c.
References bNode::custom1, bNode::custom2, and QUATCOPY.
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 102 of file CMP_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 93 of file CMP_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 142 of file CMP_zcombine.c.
References alloc_compbuf(), antialias_tagbuf(), CB_RGBA, CB_VAL, composit2_pixel_processor(), composit3_pixel_processor(), composit4_pixel_processor(), bNode::custom2, bNodeStack::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 | ( | ListBase * | lb | ) |
Definition at line 227 of file CMP_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(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_zcombine_in[] [static] |
{
{ SOCK_RGBA, 1, "Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 1, "Z", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 10000.0f},
{ SOCK_RGBA, 1, "Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 1, "Z", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 10000.0f},
{ -1, 0, "" }
}
Definition at line 40 of file CMP_zcombine.c.
bNodeSocketType cmp_node_zcombine_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 0, "Z", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 10000.0f},
{ -1, 0, "" }
}
Definition at line 47 of file CMP_zcombine.c.