- AutoPan - Controls camera auto-spin. When "on", camera points toward origin
and spins its position around the origin at whatever radius it is at.
Same as typing s, for auto-spin, while viewing. But this command can be
embedded within WFL scripts.
The autopan command allows you to turn the camera-spin on or off,
for a given time-range, as well as set the direction of spin.
Example:
<autopan state=on/off T1=xx T2=xx RotDir=clkwise/cntrclkwise />
The autopan_rel version interprets the time amounts as relative to the current time.
- Camera Follow - Causes the camera to follow the named object, beginning at the
specified time. The camera will point at the object, and its position will be
offset from the object by the distance in the specified offset amounts for each axis.
Example:
<camera_follow name=objname T=T1 xoffset=x, yoffset=y, zoffset=z />
The camera_follow__rel version interprets the time amount as relative to the current time.
- Sleep Until - Causes the WFL reader to pause until the specified time. Rendering continues.
Example:
<sleep_until T="xx" />
- Set Origin - Sets the effective origin coordinate, used when pointing camera to the
origin, by pressing the "o" key during viewing.
Example:
<set_origin X="x" Y="y" Z="z" />
- Set Light OnOff - Turns the named light on or off.
There are eight available lights, numbered 0 through 7, which control the scene lighting.
Equivalent to: WF3D_Set_Light_OnOff( int light_num, int on_off ).
Example:
<set_light_onoff light="x" state="on/off" />
- Set Light Dir - Set the named light's pointing direction.
There are eight available lights, numbered 0 through 7.
Equivalent to: WF3D_Set_Light_Position( int light_num, float x, float y, float z ).
Example:
<set_light_dir light="x" x="x" y="y" z="z" />
- Set Light Position - Set the named light's location.
There are eight available lights, numbered 0 through 7.
Equivalent to calling interface: WF3D_Set_Light_Direction( int light_num, float x, float y, float z ).
Example:
<set_light_pos light="x" x="x" y="y" z="z" />
- Set Light Color - Set the named light's color.
There are eight available lights, numbered 0 through 7.
Equivalent to calling interface: WF3D_Set_Light_Color( int light_num, float r, float g, float b ).
Example:
<set_light_col light="x" r="r" g="g" b="b" />
- Exit After Time - Causes WF3D to exit at the specified time.
Example:
<exit t="t" />