Blender V2.61 - r43446
Functions | Variables

node_composite_zcombine.c File Reference

#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 []

Detailed Description

Definition in file node_composite_zcombine.c.


Function Documentation

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]
void register_node_type_cmp_zcombine ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   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.

Initial value:
 {
    {   SOCK_RGBA, 0, "Image"},
    {   SOCK_FLOAT, 0, "Z"},
    {   -1, 0, ""   }
}

Definition at line 45 of file node_composite_zcombine.c.