Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Experimenting with camera.dat and look_at.dat
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sun, 23 Jan 2005 19:59:32 GMT
|
Viewed:
|
1690 times
|
| |
| |
I created these three files and ran them through L3P:
- - - - -
0 Test
0 Name: test000.ldr
0 Author: Tore Eriksson
1 2 0 0 0 0 0 -1 0 1 0 1 0 0 700.dat
1 15 0 -24 100 1 0 0 0 1 0 0 0 1 3001.dat
1 4 0 -48 100 1 0 0 0 1 0 0 0 1 3001.dat
1 15 0 -72 100 1 0 0 0 1 0 0 0 1 3001.dat
1 16 0 -300 -80 1 0 0 0 1 0 0 0 1 light.dat
1 16 0 -72 0 -1 0 0 0 1 0 0 0 -1 camera.dat
1 16 0 -36 80 1 0 0 0 1 0 0 0 1 look_at.dat
0 REM This sample line below can be optionally added by any LCad Viewer
2 14 0 -72 0 0 -36 80
0
0 ~Camera Position
0 Name: Camera.dat
0 Author: Tore Eriksson
0 Un-official part
2 24 -4 0 0 4 0 0
2 24 0 -4 0 0 4 0
2 24 0 0 -4 0 0 4
1 0 0 25 37 1 0 0 0 1 0 0 0 1 30148.dat
0
0 ~Look_at Position
0 Name: Look_at.dat
0 Author: Tore Eriksson
0 Un-official part
2 24 -4 0 0 4 0 0
2 24 0 -4 0 0 4 0
2 24 0 0 -4 0 0 4
1 42 0 16 0 1 0 0 0 1 0 0 0 1 30153.dat
0
- - - - -
... and it gave:
object { camera_dot_dat matrix <-1,0,0,0,1,0,0,0,-1,0,-72,0> }
object { look__at_dot_dat matrix <1,0,0,0,1,0,0,0,1,0,-36,80> }
... in the test000_dot_ldr declaration
A POV post-processor can easily locate them, REM them out and replace the camera
statements.
I found that without any objects but lines, L3P will ignore files like
camera.dat, so I added a Lego part in each of them.
If Lars plans to include camera.dat support, we might need to think about how we
wish it to work. So this is my discussion starter.
|
|
Message has 3 Replies: | | Re: Experimenting with camera.dat and look_at.dat
|
| (...) POV-Ray cameras can do alot. Besides just having a location and direction, you can have a zoom, focus, you can specify the direction in the form of "look at", and more. If you are going to have a camera.dat, you might consider having it be (...) (20 years ago, 24-Jan-05, to lugnet.cad.dev)
| | | Re: Experimenting with camera.dat and look_at.dat [DAT]
|
| (...) I updated the camera.dat and look_at.dat so they don't need to be REMmed out: 0 ~Camera Position 0 Name: Camera.dat 0 Author: Tore Eriksson 0 Un-official part 2 24 -4 0 0 4 0 0 2 24 0 -4 0 0 4 0 2 24 0 0 -4 0 0 4 0 L3P IFNOTPOV 1 0 0 25 37 1 0 (...) (20 years ago, 24-Jan-05, to lugnet.cad.dev)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|