Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: Experimenting with camera.dat and look_at.dat
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 24 Jan 2005 21:41:56 GMT
|
Viewed:
|
1917 times
|
| |
 | |
In lugnet.cad.dev, Tore Eriksson wrote:
> 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
>
>
>
> - - - - -
>
> ... 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.
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 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 -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 42 0 16 0 1 0 0 0 1 0 0 0 1 30153.dat
0 L3P ENDPOV
0
|
|
Message is in Reply To:
 | | Experimenting with camera.dat and look_at.dat [DAT]
|
| 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 (...) (20 years ago, 23-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
|
|
|
|