home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / bbs / gfx / anim3d-1.4.lha / Anim3D / Anims / Simple1 < prev    next >
Text File  |  1994-07-26  |  3KB  |  119 lines

  1. % =========================================================================
  2. % ------------------------ The animation info -----------------------------
  3. % =========================================================================
  4.  
  5. ANIMATION:
  6.  
  7.     Version = 1
  8.     MinVer = 1
  9.     NumColours = 2
  10.     NumObjects= 1
  11.     NumObjectInstances = 1
  12.     Title = "Testing Animation"
  13.     Creator = "M. George"
  14.     Date = "February 1994"
  15.  
  16.  
  17. % =========================================================================
  18. % -------------------------- The colours used -----------------------------
  19. % =========================================================================
  20.  
  21. BACKCOLOUR:
  22.  
  23.     Colour = (0, 0, 0)
  24.  
  25.  
  26. COLOURS:
  27.  
  28. #Red:
  29.     Colour = (255, 0, 255)
  30. #Blue:
  31.     Colour = (0, 255, 255)
  32.  
  33.  
  34. % =========================================================================
  35. % ----------------------- The direction of light --------------------------
  36. % =========================================================================
  37.  
  38. LIGHTSOURCE:
  39.  
  40.     Vector = (-5173, 0, 5173)
  41.     NumInstructions = 1
  42.  
  43. _Instructions:
  44.  
  45.         STOP
  46.  
  47.  
  48. % =========================================================================
  49. % --------------------- The viewers initial position ----------------------
  50. % =========================================================================
  51.  
  52. VIEWER:
  53.  
  54.     Position = (0, 0, -200)
  55.     Orientation = (0, 0, 0)
  56.     NumInstructions = 1
  57.  
  58. _Instructions:
  59.  
  60.     STOP
  61.  
  62.  
  63. % =========================================================================
  64. % -------------------------- The object protos ----------------------------
  65. % =========================================================================
  66.  
  67. PROTOS:
  68.  
  69. #Tile:                % The only object in this demo.
  70.     NumVertices = 4
  71.     NumFaces = 2
  72.  
  73. _Vertices:
  74.         Coords = (-50, 50, 0)
  75.     Coords = (80, 50, 0)
  76.     Coords = (50, -50, 0)
  77.     Coords = (-80, -50, 0)
  78.  
  79. _Faces:    
  80.     Colour = #Red
  81.     NumEdges = 4
  82.         Edges = (0, 1, 2, 3, 0)
  83.  
  84.     Colour = #Blue
  85.     NumEdges = 4
  86.     Edges = (0, 3, 2, 1, 0)
  87.  
  88.  
  89. % =========================================================================
  90. % ------------- The object instances and their movement -------------------
  91. % =========================================================================
  92.  
  93. OBJECTS:
  94.  
  95.     Proto = #Tile
  96.     Position = (0, 0, 400)
  97.     Orientation = (0, 0, 0)
  98.     Scale = (8192, 8192, 8192)
  99.     NumInstructions = 13
  100.  
  101. _Instructions:
  102.  
  103.     COUNTER=72
  104.       ROTATE=(0, 5, 0)
  105.       TRANSLATE=(-4, 0, 0)
  106.     LOOP
  107.  
  108.     COUNTER=144
  109.       ROTATE=(0,-5,0)
  110.       TRANSLATE=(4, 0, 0)
  111.     LOOP
  112.  
  113.     COUNTER=144
  114.       ROTATE=(0,5,0)
  115.       TRANSLATE=(-4, 0, 0)
  116.     LOOP
  117.  
  118.     GOTO=4
  119.