LightWave motion file type .MOT and .ENV format 

Proposed Kuper to LightWave conversion screen

  • Axes that need their polarities reversed will have the scale -1 box checked. Some channels, like focal length may need a LUT or trigonometric expression for conversion.

A LightWave .mot file is a motion file containing keyframes for the nine channels of an object such as a camera or model. An .env is a motion file for a motion file containing keyframes for a single channel of motion, such as a focal length, or light intensity. Focal lengths also use envelopes, but are written in the LW zoom factor format.

LWMO

header ID for LW motion file

1

version number (This parameter has been 1 for years)

9

number of channels

1

number of keyframes (variable)

0 0 0 0 0 0 1 1 1

x, y, z, heading, pitch, bank, x scale, y scale, z scale

0 1 0 0 0

keyframe number, linear flag 1 (non-linear 0), tension, continuity, bias

LWEN

header ID for LW envelope file

1

version number (This parameter has been 1 for years)

1

number of channels

1

number of keyframes (variable)

1

value

0 1 0 0 0

keyframe number, linear flag 1 (non-linear 0), tension, continuity, bias

The last two lines repeat for additional keyframes...


LightWave .MOT files are always for a single object or camera. Kuper ASCII files can have different objects motions intermixed.

Kuper keyframe files cannot be read by other systems, but frame per frames can be exported. MotionDump from LightWave are ASCII files with every frame of motion, but they don't contain the Kuper header. The header can be edited in fairly easily.

A zoom factor of 1 equals the focal length that creates 90° vertically. A zoom factor of two represents the FOV of a lens with twice the focal length (confusing, I know).


LightWave .MOT
LWMO
1
9
12
0 0 0 0 0 0 1 1 1
0 0 0 0 0
0.0000 0.0000 0.0 0.0000 0.0 0.0 1 1 1
1 0 0 0 0
1.0000 1.0000 -1.0 1.0000 -1.0 -1.0 1 1 1
2 0 0 0 0
2.0000 2.0000 -2.0 2.0000 -2.0 -2.0 1 1 1
3 0 0 0 0
3.0000 3.0000 -3.0 3.0000 -3.0 -3.0 1 1 1
4 0 0 0 0
4.0000 4.0000 -4.0 4.0000 -4.0 -4.0 1 1 1
5 0 0 0 0
5.0000 5.0000 -5.0 5.0000 -5.0 -5.0 1 1 1
6 0 0 0 0
6.0000 6.0000 -6.0 6.0000 -6.0 -6.0 1 1 1
7 0 0 0 0
7.0000 7.0000 -7.0 7.0000 -7.0 -7.0 1 1 1
8 0 0 0 0
8.0000 8.0000 -8.0 8.0000 -8.0 -8.0 1 1 1
9 0 0 0 0
9.0000 9.0000 -9.0 9.0000 -9.0 -9.0 1 1 1
10 0 0 0 0
10.0000 10.0000 -10.0 10.0000 -10.0 -10.0 1 1 1
11 0 0 0 0
 

Kuper
 
Axes = VTrack, VEW, VNS, VPan, VTilt, VRoll
0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
2.0000 2.0000 2.0000 2.0000 2.0000 2.0000
3.0000 3.0000 3.0000 3.0000 3.0000 3.0000
4.0000 4.0000 4.0000 4.0000 4.0000 4.0000
5.0000 5.0000 5.0000 5.0000 5.0000 5.0000
6.0000 6.0000 6.0000 6.0000 6.0000 6.0000
7.0000 7.0000 7.0000 7.0000 7.0000 7.0000
8.0000 8.0000 8.0000 8.0000 8.0000 8.0000
9.0000 9.0000 9.0000 9.0000 9.0000 9.0000
10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 

 


Kuper ASCII files