Return to index

NAME

pcurve - create a new hermite curve.

SYNOPSIS

pcurve id = ( in invalue | out outvalue | cvs pv1 pv2 ... pvN)+

where

N equal or greater than 2

invalue = {PRE_CONSTANT | PRE_LINEAR | PRE_CYCLE | PRE_CYCLEOFFSET | PRE_OSCILLATE}

outvalue = {POST_CONSTANT | POST_LINEAR | POST_CYCLE | POST_CYCLEOFFSET | POST_OSCILLATE} cvs = cvs pv1 pv2 ...

DESCRIPTION

Create a new hermite curve. If any parametric vertices aren't defined an error will result. By default the input and output values are _CONSTANT.

EXAMPLE

# create the vertices
pv pv0_ = 0 0 TAN_SMOOTH 2.5 1 TAN_SMOOTH 2.5 1
pv pv1_ = 60 1 TAN_SMOOTH 2.5 1 TAN_SMOOTH 2.5 1


#create the hermite curve
pcurve motionPath = 
 in PRE_CONSTANT
 out POST_CONSTANT
 cvs pv0_ pv1_ 

SEE ALSO

channel, curve, pv, cv