Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
LDraw animation: Camera.dat and Look_at.dat
|
Newsgroups:
|
lugnet.cad, lugnet.cad.ray
|
Date:
|
Sun, 28 Aug 2005 15:49:54 GMT
|
Viewed:
|
219 times
|
| |
| |
One more thing: I will use CAMERA.dat and LOOK_AT.dat in each Frame file in my
planned LDA (hopefully LDA2005...). I find them very handy, anyone can use them
and move them around in MLCad or whatever LDraw editor. This is how I made them,
but anyone can make his own version of them:
0 ~Camera Position
0 Name: Camera.dat
0 Author: Tore Eriksson
0 Un-official part
2 24 -20 0 0 20 0 0
2 24 0 -20 0 0 20 0
2 24 0 0 -20 0 0 20
0 L3P IFNOTPOV
1 0 0 25 37 1 0 0 0 1 0 0 0 1 30148.dat
0 L3P ENDPOV
0
---------------------------------------------
0 ~Look_at Position
0 Name: look_at.dat
0 Author: Tore Eriksson
0 Un-official part
2 24 -20 0 0 20 0 0
2 24 0 -200 0 0 20 0
2 24 0 0 -20 0 0 20
0 L3P IFNOTPOV
1 42 0 16 0 1 0 0 0 1 0 0 0 1 30153.dat
0 L3P ENDPOV
0
A sample frame may look like this:
0 Testing Camera and More...
0 Name: testing.ldr
0 Author: Tore Eriksson
0 [L3P Parameters]
0 LDA CAMERA_ANGLE 60
1 0 100 -150 0 -1 0 0 0 1 0 0 0 -1 camera.dat
1 0 20 -50 40 1 0 0 0 1 0 0 0 1 look_at.dat
0 [Parent Object]
0 Scene Object cannot have a Parent Object
0 [This Object]
1 16 0 0 0 1 0 0 0 1 0 0 0 1 Scene.dat
0 [Child Objects]
1 1 0 -40 52 1 0 0 0 1 0 0 0 1 970.dat
1 4 0 -72 52 1 0 0 0 1 0 0 0 1 973.dat
1 14 0 -96 52 1 0 0 0 1 0 0 0 1 3626bp01.dat
1 0 0 -96 52 1 0 0 0 1 0 0 0 1 3624.dat
1 2 16 -64 52 0.9855 0.17 0 -0.17 0.9136 -0.4067 0 0.4067 0.9136 981.dat
1 15 23.9875 -44.3382 50.1846 0.9855 0.1241 -0.1088 -0.17 0.4066 -0.8816 0
0.8816 0.4066 983.dat
1 1 -16 -64 52 0.9855 -0.17 0 0.17 0.9136 0.4067 0 -0.4067 0.9136 982.dat
1 10 -23.9875 -51.4722 35.5434 0.9855 -0.1241 0.1088 0.17 0.9272 -0.2878 0
0.2878 0.9272 983.dat
1 1 0 -28 52 1 0 0 0 0.9136 0.4067 0 -0.4067 0.9136 972.dat
1 1 0 -28 52 1 0 0 0 0.9136 -0.4067 0 0.4067 0.9136 971.dat
0
and the animation program will generate this line in the L3P batch file:
"l3p -o testing.ldr -ca60 -cc100,-150,0 -cla20,-50,40"
Sad thing that Lars doesn't want to add support for these things directly in
L3P...! But on the other hand, I plan to make LDA meta-commands that sets light
attributes and maybe more, so I'll likely need this preprocessing anyway.
/Tore
|
|
Message is in Reply To:
61 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|