To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 6426
6425  |  6427
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
LDA2001: My first working animation script
Newsgroups: 
lugnet.cad, lugnet.cad.dev
Date: 
Mon, 10 Sep 2001 06:53:30 GMT
Viewed: 
358 times
  
Progress report:
The script below is now being correctly compiled.


Remarks:
Three object are created: Scene(Scene.dat), Bubbla(Beetle.dat), and Polis(Police.dat)
At the first frame, Bubbla is at [-50 -28 100] and Polis is at [50 -28 50]
Then, Polis is set to move -10 LDU per frame, and Bubbla twice as fast, -20 LDU
At the second frame, Bubbla has moved to [-50 -28 80] and Polis is at [50 -28 40]
...
At the last frame, Bubbla has moved to [-50 -28 -100] and Polis is at [50 -28 -50]

I have added DeltaA..DeltaI, but program is so far ignoring those properties.

I think it would be much easier if I have a DAT file of the first frame:
1 2  0 0 0  1 0 0  0 1 0  0 0 1  Scene.dat
1 4  -50 -28 100  1 0 0  0 1 0  0 0 1  Beetle.dat
1 1  50 -28 50  1 0 0  0 1 0  0 0 1  Police.dat
... and let the program and author interactively create the script.
That first frame DAT file should have the static scene first (no offset or rotation)
and all its child objects, but no grandchild objects.


LDraw Animation Script File

Description: Beetle passing police car
Name: Ani1.txt
Author: Tore Eriksson

Scene.Create  1 2  0 0 0  1 0 0  0 1 0  0 0 1  Scene.dat
Bubbla.Create  1 4  -50 -28 100  1 0 0  0 1 0  0 0 1  Beetle.dat
Polis.Create  1 1  50 -28 50  1 0 0  0 1 0  0 0 1  Police.dat
Camera.Shoot
Polis.DeltaZ = -10
Bubbla.DeltaZ = -20
Camera.Shoot
Camera.Shoot
Camera.Shoot
Camera.Shoot
Camera.Shoot
Camera.Shoot
Camera.Shoot
Camera.Shoot
Camera.Shoot
Camera.Shoot



Message has 1 Reply:
  Re: LDA2001: My first working animation script
 
... and the result is... (URL) Kb Mpeg, [pov 800x600, AA 0.3], 256 colors nearest color optimized octree, DivX Mpeg-4, Quality=900) Each frame took 3-3½ minutes on my PII-450/128 Models are: Police Car from Datsville by Jonathan Wilson 2000 Beetle (...) (23 years ago, 10-Sep-01, to lugnet.cad, lugnet.cad.dev)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR