Trigonometry Functions

sin(<expr>)

The Sine (sin) token evaluates the sine function of an expression.

cos(<expr>)

The Cosine (cos) token evaluates the cosine function of an expression.

tan(<expr>)

The Tangent (tan) token evaluates the tangent function of an expression.

asin(<expr>)

The ArcSine (asin) token evaluates the arcsine function (the inverse of sine) of an expression. Note that the input argument of the arcsine function should be between -1 and 1. Outside of this range, the arcsine is undefined and the asin token returns 0. The output of the asin token is in degrees.

acos(<expr>)

The ArcCosine (acos) token evaluates the arccosine function (the inverse of cosine) of an expression. Note that the input argument of the arccosine function should be between -1 and 1. Outside of this range, the arccosine is undefined and the acos token returns 0. The output of the acos token is in degrees.

atan(<expr>)

The ArcTangent (atan) token evaluates the arctangent function (the inverse of tangent) of an expression. The output of the atan token is a value in degrees between -90 and 90.

sinus(<period>,<amplitude>,[<offset>])

The Sinus (sinus) token generates a sinusoidal function with a wave-shaped profile. Arguments include:

Argument

Description

<period>

Expression for the period, or wavelength, of the function from crest to crest, in frames.

<amplitude>

Expression from the maximum height of the function at a crest in SOFTIMAGE units.

[<offset>]

Horizontal offset for the function in frames. This expression is optional. If it is not included, the default offset is 0.

oscil(<sf>,<ef>,<sp>,<ep>,<interp>,<sa>,<ea>,<interp>)

The Oscillation (oscil) token generates a complex oscillating function. Arguments include:

Argument

Description

<sf>

Expression for the start frame of the oscillation. The value is 0 before this frame.

<ef>

Expression for the end frame of the oscillation. The value is 0 after this frame.

<sp>

Expression for the starting half-period (half-wavelength) of the oscillation in frames.

<ep>

Expression for the first half-period of the final oscillation in frames.

<interp>

Interpolation between <sp> and <ep>. This can be one of the interpolation constants:

LinearInterp for Linear Interpolation

SplineInterp for spline (curved) interpolation

<sa>

Expression for the starting amplitude (maximum height) of the oscillation in SOFTIMAGE units.

<ea>

Expression for the end amplitude (maximum height) of the oscillation in SOFTIMAGE units.



Autodesk Softimage v7.5