home *** CD-ROM | disk | FTP | other *** search
/ The Party 1994: Try This At Home / disk_image.bin / source / vexsrc / formscn.txt < prev    next >
Text File  |  1995-03-30  |  2KB  |  137 lines

  1. .scn file:
  2. ----------
  3.   object tree
  4.   textures
  5.   starfield
  6.   palette
  7.  
  8. object tree:
  9. ------------
  10. one of the below
  11.   -node
  12.   -object
  13.   -light source
  14.  
  15. node:
  16. -----
  17.   0 number of nodes
  18.     number of nodes * ( objecttree )
  19.     move list
  20.  
  21. object:
  22. -------
  23.   1 filename.dat
  24.     status list
  25.     move list
  26.  
  27. light source:
  28. -------------
  29.   2
  30.     move list
  31.  
  32. move/status list:
  33. ----------
  34.   time/sec  movecommand/statuscommand     (time==0 => time=lasttime)
  35.   time/sec  movecommand/statuscommand
  36.   ...
  37.   10000
  38.  
  39. movecommand:
  40. ------------
  41.   -pos  x y z
  42.     position object
  43.  
  44.   -move dx dy dz
  45.     move object
  46.  
  47.   -accel ddx ddy ddz
  48.     accelerate object
  49.  
  50.   -smove deltatime/sec  x y z  dx dy dz
  51.     smooth move:
  52.       move object from current pos/speed to pos x y z / speed dx dy dz
  53.  
  54.   -angle x y z
  55.     set angle
  56.  
  57.   -rot dx dy dz
  58.     rotate object
  59.  
  60.   -aaccel ddx ddy ddz
  61.     angle acceleration
  62.  
  63.  
  64. status command:
  65. ---------------
  66.   -enable
  67.     makes this object visible
  68.  
  69.   -disable
  70.     makes this object invisible
  71.  
  72.   -setcut cutnum   (objects only)
  73.     enables spacecut for this object, will be intersected with all objects
  74.      of the same cutnum
  75.     cutnum==-1 => disable spacecut
  76.  
  77.   -setspeed speed  (starfield only)
  78.     sets the speed of the stars
  79.  
  80.   -setmaxcol maxcol (starfield only)
  81.     set the maximum color of the stars
  82.  
  83.  
  84. textures:
  85. ---------
  86.   number of textures
  87.     number of textures * ( texture )
  88.  
  89. texture:
  90. --------
  91. one of the below:
  92.   -imagemap
  93.   -plasma
  94.   -sineplasma
  95.  
  96. imagemap:
  97. ---------
  98.   0 filename.tga
  99.     256 color uncompressed cmap
  100.  
  101. plasma:
  102. -------
  103.   1 xybit xaux yaux cbit roughness seed
  104.       wid=2^(xybit+xaux), hgt=2^(xybit+yaux), col=2^cbit
  105.  
  106. sineplasma:
  107. -----------
  108.   2 wid hgt col numop numop * (p dp f a w)
  109.      numop rotating sine waves
  110.       sine operator:
  111.         p:phase, dp:change of phase/pixel, f:change of phase/second
  112.       angle:
  113.         a:phase, w:change of phase/second
  114.  
  115. starfield:
  116. ----------
  117.   status list
  118.   move list
  119.  
  120.  
  121. palette:
  122. --------
  123.   time/sec palcommand
  124.   time/sec palcommand
  125.   ...
  126.   10000
  127.  
  128.  
  129. palcommand:
  130. -----------
  131. one of the below:
  132.   -setpali                 basecol colnum  sr sg sb  er eg eb
  133.     interpolates the colors from color basecol to color basecol+colnum-1
  134.       from  sr sg sb  to  er eg eb
  135.   -fadepali deltatime/sec  basecol colnum  sr sg sb  er eg eb
  136.     crossfade (see setpali)
  137.