I’m confused about how to export motion data from Lightwave. I’ve created a .mot file and a scene file both of which work in LW just fine but when I look at them in a text editor the data doesn’t make any sense. For example in my test I move the camera from position 0,1,0 rotation 0,0,0 (frame 0) to 0,1,60 rotation 180,0,0 (frame 59). When I open the scene file or the mot file and look for (for example) “180” I cant find it
nor any of the other values). I’m sure I’m doing something basically wrong but I cant see it. I’ve even keyframed every singleframe but to no avail 
Is there a way toexport the XYZ, HPB and FoV to a text readable file that I can then use,edit etc?
Tia
cyphyr
Camera Motion Data Export
Motionfiles only hold translation, scale and rotation data. If you want to export other settings for the camera (as an example) it is better to use Load From Scene and import just the camera into the new scene; not only do you get the translation, rotation and scale, but you get all the other settings as well.
EDIT: Why do you want to edit the mot? If you want to transfer the data into other apps, try FBX, Collada, Maya2LW2 or PointOven.
Hi and thanks for your answer.
I’m trying to create a .chan file which can be naively output from Maya and Nuke, (both of which I don’t have:() for inporting into Terragen 2. Terragen 2’s animation tool set is very limited and relies on importing a .chan motion file to get complex movement into the scene.
The .chan format goes thus: x y z h p b scalex scaley scalez fov (I think, please correct me if I’m wrong) space separated on a frame by frame basis. All this info is visible on a frame by frame basis in the bottom left info box but I cant seem to get the info through the .scn file or the .mot file. I’ve even key-framed each and every frame but I guess I must be mising something. For a 15sec anim I would have to copy out 2700 numbers and add in the scalex scaley scalez fov (these will remain constant), far too much trouble and the possibility of creating errors is huge.
Any ideas how I can get at this data, just as a simple text file would do? I can re-format the data easily enough.
cyphyr
Ok so I’ve made a VERY simple camera motion. 10 frames camera parented to null, starts at 0,0,0 ~ 0.00°,0.00°,0.00°, and ends at 0,0,10 ~ 90.00°,0.00°,0.00° (ignore the “~” just there for ease of display). Now as I move the slider frame by frame its easy to predict what the vairables will be in the bottom left info box and in the graph editor for the null.
The output I’m looking for would look something like …:
[b]F x y z h p b
0 0 0 0 0 0 0
1 0 0 1 9 0 0
2 0 0 2 18 0 0
3 0 0 3 27 0 0
4 0 0 4 36 0 0
5 0 0 5 45 0 0
6 0 0 6 54 0 0
7 0 0 7 63 0 0
8 0 0 8 72 0 0
9 0 0 9 81 0 0
10 0 0 10 90 0 0[/b]
However the contents of the .scn, .mot, .env and .fbx files don't look remotely similar:
Sorry this goes on a bit …
Heres the scn file:
LWSC
5RenderRangeType 0 FirstFrame 1 LastFrame 60 FrameStep 1 RenderRangeObject 0 RenderRangeArbitrary 1-60 PreviewFirstFrame 0 PreviewLastFrame 10 PreviewFrameStep 1 CurrentFrame 9 FramesPerSecond 30 ChangeScene 0 AddNullObject 10000000 Null ChangeObject 0 ShowObject 7 3 Group 0 SchematicPosition 0.967136 0.231221 ObjectMotion NumChannels 9 Channel 0 { Envelope 11 Key 0 0 0 0 0 0 0 0 0 Key 0 0.033333333333333333 0 0 0 0 0 0 0 Key 0 0.066666666666666666 0 0 0 0 0 0 0 Key 0 0.10000000000000001 0 0 0 0 0 0 0 Key 0 0.13333333333333333 0 0 0 0 0 0 0 Key 0 0.16666666666666666 0 0 0 0 0 0 0 Key 0 0.20000000000000001 0 0 0 0 0 0 0 Key 0 0.23333333333333334 0 0 0 0 0 0 0 Key 0 0.26666666666666666 0 0 0 0 0 0 0 Key 0 0.29999999999999999 0 0 0 0 0 0 0 Key 0 0.33333333333333331 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 1 { Envelope 11 Key 0 0 0 0 0 0 0 0 0 Key 0 0.033333333333333333 0 0 0 0 0 0 0 Key 0 0.066666666666666666 0 0 0 0 0 0 0 Key 0 0.10000000000000001 0 0 0 0 0 0 0 Key 0 0.13333333333333333 0 0 0 0 0 0 0 Key 0 0.16666666666666666 0 0 0 0 0 0 0 Key 0 0.20000000000000001 0 0 0 0 0 0 0 Key 0 0.23333333333333334 0 0 0 0 0 0 0 Key 0 0.26666666666666666 0 0 0 0 0 0 0 Key 0 0.29999999999999999 0 0 0 0 0 0 0 Key 0 0.33333333333333331 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 2 { Envelope 11 Key 0 0 0 0 0 0 0 0.99114098824745367 0 Key 0.99940049648284912 0.033333333333333333 0 0 0 0 0.99976897239685059 0.99976897239685059 0 Key 1.9995379447937012 0.066666666666666666 0 0 0 0 1.0002076029777527 1.0002076029777527 0 Key 2.9998157024383545 0.10000000000000001 0 0 0 0 1.0002951622009277 1.0002951622009277 0 Key 4.0001282691955566 0.13333333333333333 0 0 0 0 1.0003288984298706 1.0003288984298706 0 Key 5.0004734992980957 0.16666666666666666 0 0 0 0 1.000342845916748 1.000342845916748 0 Key 6.0008139610290527 0.20000000000000001 0 0 0 0 1.0003483295440674 1.0003483295440674 0 Key 7.0011701583862305 0.23333333333333334 0 0 0 0 1.0003983974456787 1.0003983974456787 0 Key 8.0016107559204102 0.26666666666666666 0 0 0 0 1.0002660751342773 1.0002660751342773 0 Key 9.0017023086547852 0.29999999999999999 0 0 0 0 0.99919462203979492 0.99919462203979492 0 Key 10 0.33333333333333331 0 0 0 0 0.99004729720186602 0 0 Behaviors 1 1 } Channel 3 { Envelope 11 Key 0 0 0 0 0 0 0 0.15568806120186798 0 Key 0.15698546171188354 0.033333333333333333 0 0 0 0 0.15704332292079926 0.15704332292079926 0 Key 0.31408664584159851 0.066666666666666666 0 0 0 0 0.15711222589015961 0.15711222589015961 0 Key 0.47120991349220276 0.10000000000000001 0 0 0 0 0.15712599456310272 0.15712599456310272 0 Key 0.62833863496780396 0.13333333333333333 0 0 0 0 0.15713129937648773 0.15713129937648773 0 Key 0.78547251224517822 0.16666666666666666 0 0 0 0 0.15713348984718323 0.15713348984718323 0 Key 0.94260561466217041 0.20000000000000001 0 0 0 0 0.15713435411453247 0.15713435411453247 0 Key 1.0997412204742432 0.23333333333333334 0 0 0 0 0.15714222192764282 0.15714222192764282 0 Key 1.2568900585174561 0.26666666666666666 0 0 0 0 0.15712141990661621 0.15712141990661621 0 Key 1.4139840602874756 0.29999999999999999 0 0 0 0 0.15695309638977051 0.15695309638977051 0 Key 1.5707962512969971 0.33333333333333331 0 0 0 0 0.15551622248878164 0 0 Behaviors 1 1 } Channel 4 { Envelope 11 Key 0 0 0 0 0 0 0 0 0 Key 0 0.033333333333333333 0 0 0 0 0 0 0 Key 0 0.066666666666666666 0 0 0 0 0 0 0 Key 0 0.10000000000000001 0 0 0 0 0 0 0 Key 0 0.13333333333333333 0 0 0 0 0 0 0 Key 0 0.16666666666666666 0 0 0 0 0 0 0 Key 0 0.20000000000000001 0 0 0 0 0 0 0 Key 0 0.23333333333333334 0 0 0 0 0 0 0 Key 0 0.26666666666666666 0 0 0 0 0 0 0 Key 0 0.29999999999999999 0 0 0 0 0 0 0 Key 0 0.33333333333333331 0 0 0 0 0 0 0 Behaviors 1 1 ........ it goes on quiyte a bit ...
Heres the Mot export:
LWMO
3NumChannels 9 Channel 0 { Envelope 11 Key 0 0 0 0 0 0 0 0 0 Key 0 0.033333333333333333 0 0 0 0 0 0 0 Key 0 0.066666666666666666 0 0 0 0 0 0 0 Key 0 0.10000000000000001 0 0 0 0 0 0 0 Key 0 0.13333333333333333 0 0 0 0 0 0 0 Key 0 0.16666666666666666 0 0 0 0 0 0 0 Key 0 0.20000000000000001 0 0 0 0 0 0 0 Key 0 0.23333333333333334 0 0 0 0 0 0 0 Key 0 0.26666666666666666 0 0 0 0 0 0 0 Key 0 0.29999999999999999 0 0 0 0 0 0 0 Key 0 0.33333333333333331 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 1 { Envelope 11 Key 0 0 0 0 0 0 0 0 0 Key 0 0.033333333333333333 0 0 0 0 0 0 0 Key 0 0.066666666666666666 0 0 0 0 0 0 0 Key 0 0.10000000000000001 0 0 0 0 0 0 0 Key 0 0.13333333333333333 0 0 0 0 0 0 0 Key 0 0.16666666666666666 0 0 0 0 0 0 0 Key 0 0.20000000000000001 0 0 0 0 0 0 0 Key 0 0.23333333333333334 0 0 0 0 0 0 0 Key 0 0.26666666666666666 0 0 0 0 0 0 0 Key 0 0.29999999999999999 0 0 0 0 0 0 0 Key 0 0.33333333333333331 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 2 { Envelope 11 Key 0 0 0 0 0 0 0 0.99114098824745367 0 Key 0.99940049648284912 0.033333333333333333 0 0 0 0 0.99976897239685059 0.99976897239685059 0 Key 1.9995379447937012 0.066666666666666666 0 0 0 0 1.0002076029777527 1.0002076029777527 0 Key 2.9998157024383545 0.10000000000000001 0 0 0 0 1.0002951622009277 1.0002951622009277 0 Key 4.0001282691955566 0.13333333333333333 0 0 0 0 1.0003288984298706 1.0003288984298706 0 Key 5.0004734992980957 0.16666666666666666 0 0 0 0 1.000342845916748 1.000342845916748 0 Key 6.0008139610290527 0.20000000000000001 0 0 0 0 1.0003483295440674 1.0003483295440674 0 Key 7.0011701583862305 0.23333333333333334 0 0 0 0 1.0003983974456787 1.0003983974456787 0 Key 8.0016107559204102 0.26666666666666666 0 0 0 0 1.0002660751342773 1.0002660751342773 0 Key 9.0017023086547852 0.29999999999999999 0 0 0 0 0.99919462203979492 0.99919462203979492 0 Key 10 0.33333333333333331 0 0 0 0 0.99004729720186602 0 0 Behaviors 1 1 } Channel 3 { Envelope 11 Key 0 0 0 0 0 0 0 0.15568806120186798 0 Key 0.15698546171188354 0.033333333333333333 0 0 0 0 0.15704332292079926 0.15704332292079926 0 Key 0.31408664584159851 0.066666666666666666 0 0 0 0 0.15711222589015961 0.15711222589015961 0 Key 0.47120991349220276 0.10000000000000001 0 0 0 0 0.15712599456310272 0.15712599456310272 0 Key 0.62833863496780396 0.13333333333333333 0 0 0 0 0.15713129937648773 0.15713129937648773 0 Key 0.78547251224517822 0.16666666666666666 0 0 0 0 0.15713348984718323 0.15713348984718323 0 Key 0.94260561466217041 0.20000000000000001 0 0 0 0 0.15713435411453247 0.15713435411453247 0 Key 1.0997412204742432 0.23333333333333334 0 0 0 0 0.15714222192764282 0.15714222192764282 0 Key 1.2568900585174561 0.26666666666666666 0 0 0 0 0.15712141990661621 0.15712141990661621 0 Key 1.4139840602874756 0.29999999999999999 0 0 0 0 0.15695309638977051 0.15695309638977051 0 Key 1.5707962512969971 0.33333333333333331 0 0 0 0 0.15551622248878164 0 0 Behaviors 1 1 } Channel 4 { Envelope 11 Key 0 0 0 0 0 0 0 0 0 Key 0 0.033333333333333333 0 0 0 0 0 0 0 Key 0 0.066666666666666666 0 0 0 0 0 0 0 Key 0 0.10000000000000001 0 0 0 0 0 0 0 Key 0 0.13333333333333333 0 0 0 0 0 0 0 Key 0 0.16666666666666666 0 0 0 0 0 0 0 Key 0 0.20000000000000001 0 0 0 0 0 0 0 Key 0 0.23333333333333334 0 0 0 0 0 0 0 Key 0 0.26666666666666666 0 0 0 0 0 0 0 Key 0 0.29999999999999999 0 0 0 0 0 0 0 Key 0 0.33333333333333331 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 5 { Envelope 11 Key 0 0 0 0 0 0 0 0 0 Key 0 0.033333333333333333 0 0 0 0 0 0 0 Key 0 0.066666666666666666 0 0 0 0 0 0 0 Key 0 0.10000000000000001 0 0 0 0 0 0 0 Key 0 0.13333333333333333 0 0 0 0 0 0 0 Key 0 0.16666666666666666 0 0 0 0 0 0 0 Key 0 0.20000000000000001 0 0 0 0 0 0 0 Key 0 0.23333333333333334 0 0 0 0 0 0 0 Key 0 0.26666666666666666 0 0 0 0 0 0 0 Key 0 0.29999999999999999 0 0 0 0 0 0 0 Key 0 0.33333333333333331 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 6 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 7 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 8 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 }
Heres the .env
{ Envelope
11
Key 0 0 0 0 0 0 0 0.99114098824745367 0
Key 0.99940049648284912 0.033333333333333333 0 0 0 0 0.99976897239685059 0.99976897239685059 0
Key 1.9995379447937012 0.066666666666666666 0 0 0 0 1.0002076029777527 1.0002076029777527 0
Key 2.9998157024383545 0.10000000000000001 0 0 0 0 1.0002951622009277 1.0002951622009277 0
Key 4.0001282691955566 0.13333333333333333 0 0 0 0 1.0003288984298706 1.0003288984298706 0
Key 5.0004734992980957 0.16666666666666666 0 0 0 0 1.000342845916748 1.000342845916748 0
Key 6.0008139610290527 0.20000000000000001 0 0 0 0 1.0003483295440674 1.0003483295440674 0
Key 7.0011701583862305 0.23333333333333334 0 0 0 0 1.0003983974456787 1.0003983974456787 0
Key 8.0016107559204102 0.26666666666666666 0 0 0 0 1.0002660751342773 1.0002660751342773 0
Key 9.0017023086547852 0.29999999999999999 0 0 0 0 0.99919462203979492 0.99919462203979492 0
Key 10 0.33333333333333331 0 0 0 0 0.99004729720186602 0 0
Behaviors 1 1
}
From all this I don’t see how Lightwave can even read its own files, the numbers just dont match up 
Suggestions please 
cyphyr
Google is your friend…
http://www.kevman3d.com/lightwave.asp?section=plugins&sub=layout
Scroll down and find TGS Exporter 1.3[b]
“[/b]A generic LScript that lets you export your LightWave animation out to a Terragen 0.9 script for creating fantastic 3D environments that can be composited with your LW creations!”
Thanks Cageman, I already knew about this one and it works great, for TG 0.943 but not the new version of Terragen, V2.
I may be able to find a way of hacking it to my needs;)
cheers:)
cyphyr
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.