home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 23
/
Freelog023.iso
/
SerieTer
/
Terragen
/
_SETUP.1
/
Example.tgs
< prev
next >
Wrap
Text File
|
1999-08-29
|
3KB
|
92 lines
; Example Terragen Script
; ~~~~~~~~~~~~~~~~~~~~~~~
; A line beginning with ';' is ignored by Terragen.
; Each command must start on a separate line.
; Commands are not case sensitive, ie. Hello = hello = HELLO.
; A command must be followed by the correct number of parameters.
; Parameters can be separated by spaces and/or a single comma.
; The decimal separator must be a period, eg one tenth is 0.1 not 0,1
; Animation setup commands (v0.6.26)
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; InitAnim BaseImageFileName,StartFrameNumber
; CloudPos x,y ;the cloud position at frame 0
; CloudVel speed, heading ;cloud scroll speed per frame
; (for entire animation)
; Per-frame commands (v0.7.13)
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; CamPos x,y,z
; TarPos x,y,z
; CamH head
; CamP pitch
; CamB bank
; Zoom zoom
; Exp exposure
; ShadowLight lightness (must be in the range 0 to 100)
; SunDir head,alt
;
; FRend ;(frame render, only works after using InitAnim)
; Some notes about Animation Setup commands:
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; The InitAnim command tells Terragen that an animation is to be
; rendered, and initialises the appropriate variables. It is
; necessary to have this command before any calls to FRend.
; CloudVel is used to automatically scroll the clouds across the
; sky. It will position the clouds correctly for each frame, no
; matter what frame number the script starts at. CloudPos tells
; Terragen where the clouds would be if it were rendering frame 0.
; If you want to break up a script into smaller parts, you must
; make sure that each script begins with the same setup commands
; such as CloudVel and CloudPos. You can then use a different
; frame number with InitAnim, and provided that CloudVel etc.
; are identical in each script, all animation should be seamless.
;
; The folder specified in InitAnim must already exist.
;
; Warning: in Windows 95 and 98, the root directory (eg "C:\")
; cannot hold more than 256 files. It is recommended that you use
; a subdirectory with InitAnim, such as "C:\Anim\" or
; "C:\Anim\pic"
; Some notes about Per-frame commands:
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Per-frame commands can be used at the start of the script.
; There is no restriction on this. Likewise, CloudPos and
; CloudVel can be used for each frame, but changing CloudVel
; in the middle of an animation has weird results. If you want
; non-linear cloud motion, use CloudPos to specify exact
; positions, and set CloudVel to 0,0.
; The following script requires Terragen v0.6.26 or above,
; and the folder specified in InitAnim must already exist.
initanim "C:\temp\tganim", 1
; (necessary before using FRend)
cloudvel 10, 45
sundir 120,50
frend ;render frame and save
frend
frend
frend
frend
frend
frend
frend
frend
frend