Blender V2.61 - r43446
Defines | Functions | Variables

node_composite_displace.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Defines

#define DISPLACE_EPSILON   0.01f

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 (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_displace_in []
static bNodeSocketTemplate cmp_node_displace_out []

Detailed Description

Definition in file node_composite_displace.c.


Define Documentation

#define DISPLACE_EPSILON   0.01f

Definition at line 52 of file node_composite_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 ( bNodeTreeType ttype)

Variable Documentation

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

Definition at line 38 of file node_composite_displace.c.

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

Definition at line 45 of file node_composite_displace.c.