home *** CD-ROM | disk | FTP | other *** search
/ Freelog 17 / Freelog017.iso / SerieTer / Terragen / _SETUP.1 / Example.tgs < prev    next >
Text File  |  1999-08-29  |  3KB  |  92 lines

  1. ; Example Terragen Script
  2. ; ~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. ; A line beginning with ';' is ignored by Terragen.
  5. ; Each command must start on a separate line.
  6. ; Commands are not case sensitive, ie. Hello = hello = HELLO.
  7. ; A command must be followed by the correct number of parameters.
  8. ; Parameters can be separated by spaces and/or a single comma.
  9. ; The decimal separator must be a period, eg one tenth is 0.1 not 0,1
  10.  
  11.  
  12. ; Animation setup commands (v0.6.26)
  13. ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  14. ; InitAnim  BaseImageFileName,StartFrameNumber
  15. ; CloudPos  x,y            ;the cloud position at frame 0
  16. ; CloudVel  speed, heading    ;cloud scroll speed per frame
  17. ;                    (for entire animation)
  18.  
  19. ; Per-frame commands (v0.7.13)
  20. ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  21. ; CamPos        x,y,z
  22. ; TarPos        x,y,z
  23. ; CamH          head
  24. ; CamP          pitch
  25. ; CamB          bank
  26. ; Zoom            zoom
  27. ; Exp            exposure
  28. ; ShadowLight   lightness (must be in the range 0 to 100)
  29. ; SunDir        head,alt
  30. ;
  31. ; FRend ;(frame render, only works after using InitAnim)
  32.  
  33.  
  34. ; Some notes about Animation Setup commands:
  35. ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36. ; The InitAnim command tells Terragen that an animation is to be
  37. ; rendered, and initialises the appropriate variables. It is
  38. ; necessary to have this command before any calls to FRend.
  39. ; CloudVel is used to automatically scroll the clouds across the
  40. ; sky. It will position the clouds correctly for each frame, no
  41. ; matter what frame number the script starts at. CloudPos tells
  42. ; Terragen where the clouds would be if it were rendering frame 0.
  43.  
  44. ; If you want to break up a script into smaller parts, you must
  45. ; make sure that each script begins with the same setup commands
  46. ; such as CloudVel and CloudPos. You can then use a different
  47. ; frame number with InitAnim, and provided that CloudVel etc.
  48. ; are identical in each script, all animation should be seamless.
  49. ;
  50. ; The folder specified in InitAnim must already exist.
  51. ;
  52. ; Warning: in Windows 95 and 98, the root directory (eg "C:\")
  53. ; cannot hold more than 256 files. It is recommended that you use
  54. ; a subdirectory with InitAnim, such as "C:\Anim\" or
  55. ; "C:\Anim\pic"
  56.  
  57.  
  58. ; Some notes about Per-frame commands:
  59. ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  60. ; Per-frame commands can be used at the start of the script.
  61. ; There is no restriction on this. Likewise, CloudPos and
  62. ; CloudVel can be used for each frame, but changing CloudVel
  63. ; in the middle of an animation has weird results. If you want
  64. ; non-linear cloud motion, use CloudPos to specify exact
  65. ; positions, and set CloudVel to 0,0.
  66.  
  67.  
  68.  
  69.  
  70.  
  71. ; The following script requires Terragen v0.6.26 or above,
  72. ; and the folder specified in InitAnim must already exist.
  73.  
  74.  
  75. initanim "C:\temp\tganim", 1
  76. ;  (necessary before using FRend)
  77.  
  78. cloudvel 10, 45
  79.  
  80. sundir 120,50
  81.  
  82. frend ;render frame and save
  83. frend
  84. frend
  85. frend
  86. frend
  87. frend
  88. frend
  89. frend
  90. frend
  91. frend
  92.