|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_mapuv (CompBuf *stackbuf, CompBuf *cbuf, CompBuf *uvbuf, float threshold) |
| static void | node_composit_exec_mapuv (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_mapuv (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_mapuv_in [] |
| static bNodeSocketType | cmp_node_mapuv_out [] |
Definition in file CMP_mapUV.c.
| static void do_mapuv | ( | CompBuf * | stackbuf, |
| CompBuf * | cbuf, | ||
| CompBuf * | uvbuf, | ||
| float | threshold | ||
| ) | [static] |
Definition at line 51 of file CMP_mapUV.c.
References fabs(), ibuf_sample(), IMB_allocImBuf(), IMB_freeImBuf(), CompBuf::rect, ImBuf::rect_float, CompBuf::x, and CompBuf::y.
Referenced by node_composit_exec_mapuv().
| static void node_composit_exec_mapuv | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 142 of file CMP_mapUV.c.
References alloc_compbuf(), CB_RGBA, CB_VEC3, bNode::custom1, bNodeStack::data, do_mapuv(), free_compbuf(), typecheck_compbuf(), CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_mapuv().
| void register_node_type_cmp_mapuv | ( | ListBase * | lb | ) |
Definition at line 167 of file CMP_mapUV.c.
References CMP_NODE_MAP_UV, NODE_CLASS_DISTORT, node_composit_exec_mapuv(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_mapuv_in[] [static] |
{
{ SOCK_RGBA, 1, "Image", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ SOCK_VECTOR, 1, "UV", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 39 of file CMP_mapUV.c.
bNodeSocketType cmp_node_mapuv_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 44 of file CMP_mapUV.c.