Blender  V2.59
Defines | Functions | Variables
CMP_displace.c File Reference
#include "../CMP_util.h"

Go to the source code of this file.

Defines

#define DISPLACE_EPSILON   0.01

Functions

static void do_displace (bNode *node, CompBuf *stackbuf, CompBuf *cbuf, CompBuf *vecbuf, float *UNUSED(veccol), CompBuf *xbuf, CompBuf *ybuf, float *xscale, float *yscale)
static void node_composit_exec_displace (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
void register_node_type_cmp_displace (ListBase *lb)

Variables

static bNodeSocketType cmp_node_displace_in []
static bNodeSocketType cmp_node_displace_out []

Detailed Description

Definition in file CMP_displace.c.


Define Documentation

#define DISPLACE_EPSILON   0.01

Definition at line 54 of file CMP_displace.c.

Referenced by do_displace().


Function Documentation

static void do_displace ( bNode node,
CompBuf stackbuf,
CompBuf cbuf,
CompBuf vecbuf,
float *  UNUSEDveccol,
CompBuf xbuf,
CompBuf ybuf,
float *  xscale,
float *  yscale 
) [static]
static void node_composit_exec_displace ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_cmp_displace ( ListBase lb)

Variable Documentation

Initial value:
 {
        {       SOCK_RGBA, 1, "Image",                  0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
        {       SOCK_VECTOR, 1, "Vector",                       1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
        {       SOCK_VALUE, 1, "X Scale",                               0.0f, 0.0f, 0.0f, 0.0f, -1000.0f, 1000.0f},
        {       SOCK_VALUE, 1, "Y Scale",                               0.0f, 0.0f, 0.0f, 0.0f, -1000.0f, 1000.0f},
        {       -1, 0, ""       }
}

Definition at line 40 of file CMP_displace.c.

Initial value:
 {
        {       SOCK_RGBA, 0, "Image",                  0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 47 of file CMP_displace.c.