home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / bbs / gfx / anim3d-1.4.lha / Anim3D / Anims / Simple4 < prev    next >
Text File  |  1994-07-26  |  5KB  |  297 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 = 4
  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, 31, 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 = (544, 0, -200)
  55.     Orientation = (0, 45, 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 = (144, 0, 200)
  97.     Orientation = (0, 0, 0)
  98.     Scale = (8192, 8192, 8192)
  99.     NumInstructions = 29
  100.  
  101. _Instructions:
  102.  
  103.     COUNTER=36
  104.       ROTATE=(0, 0, 5)
  105.       TRANSLATE=(-8, 0, 0)
  106.     LOOP
  107.  
  108.     COUNTER=18
  109.       ROTATE=(0, 5, 0)
  110.     LOOP
  111.  
  112.     COUNTER=36
  113.       ROTATE=(0, 0, 5)
  114.       TRANSLATE=(0, 0, 8)
  115.     LOOP
  116.  
  117.     COUNTER=18
  118.       ROTATE=(0, 5, 0)
  119.     LOOP
  120.  
  121.     COUNTER=36
  122.       ROTATE=(0, 0, 5)
  123.       TRANSLATE=(8, 0, 0)
  124.     LOOP
  125.  
  126.     COUNTER=18
  127.       ROTATE=(0, 5, 0)
  128.     LOOP
  129.  
  130.     COUNTER=36
  131.       ROTATE=(0, 0, 5)
  132.       TRANSLATE=(0, 0, -8)
  133.     LOOP
  134.  
  135.     COUNTER=18
  136.       ROTATE=(0, 5, 0)
  137.     LOOP
  138.  
  139.     GOTO = 0
  140.  
  141.  
  142. % Another one
  143.  
  144.     Proto = #Tile
  145.     Position = (144, 0, 200)
  146.     Orientation = (0, 0, 0)
  147.     Scale = (8192, 8192, 8192)
  148.     NumInstructions = 31
  149.  
  150. _Instructions:
  151.  
  152.         COUNTER = 54
  153.         LOOP
  154.  
  155.     COUNTER=36
  156.       ROTATE=(0, 0, 5)
  157.       TRANSLATE=(-8, 0, 0)
  158.     LOOP
  159.  
  160.     COUNTER=18
  161.       ROTATE=(0, 5, 0)
  162.     LOOP
  163.  
  164.     COUNTER=36
  165.       ROTATE=(0, 0, 5)
  166.       TRANSLATE=(0, 0, 8)
  167.     LOOP
  168.  
  169.     COUNTER=18
  170.       ROTATE=(0, 5, 0)
  171.     LOOP
  172.  
  173.     COUNTER=36
  174.       ROTATE=(0, 0, 5)
  175.       TRANSLATE=(8, 0, 0)
  176.     LOOP
  177.  
  178.     COUNTER=18
  179.       ROTATE=(0, 5, 0)
  180.     LOOP
  181.  
  182.     COUNTER=36
  183.       ROTATE=(0, 0, 5)
  184.       TRANSLATE=(0, 0, -8)
  185.     LOOP
  186.  
  187.     COUNTER=18
  188.       ROTATE=(0, 5, 0)
  189.     LOOP
  190.  
  191.     GOTO = 2
  192.  
  193.  
  194. % Another one
  195.  
  196.     Proto = #Tile
  197.     Position = (144, 0, 200)
  198.     Orientation = (0, 0, 0)
  199.     Scale = (8192, 8192, 8192)
  200.     NumInstructions = 31
  201.  
  202. _Instructions:
  203.  
  204.         COUNTER = 108
  205.         LOOP
  206.  
  207.     COUNTER=36
  208.       ROTATE=(0, 0, 5)
  209.       TRANSLATE=(-8, 0, 0)
  210.     LOOP
  211.  
  212.     COUNTER=18
  213.       ROTATE=(0, 5, 0)
  214.     LOOP
  215.  
  216.     COUNTER=36
  217.       ROTATE=(0, 0, 5)
  218.       TRANSLATE=(0, 0, 8)
  219.     LOOP
  220.  
  221.     COUNTER=18
  222.       ROTATE=(0, 5, 0)
  223.     LOOP
  224.  
  225.     COUNTER=36
  226.       ROTATE=(0, 0, 5)
  227.       TRANSLATE=(8, 0, 0)
  228.     LOOP
  229.  
  230.     COUNTER=18
  231.       ROTATE=(0, 5, 0)
  232.     LOOP
  233.  
  234.     COUNTER=36
  235.       ROTATE=(0, 0, 5)
  236.       TRANSLATE=(0, 0, -8)
  237.     LOOP
  238.  
  239.     COUNTER=18
  240.       ROTATE=(0, 5, 0)
  241.     LOOP
  242.  
  243.     GOTO = 2
  244.  
  245.  
  246. % Another one
  247.  
  248.     Proto = #Tile
  249.     Position = (144, 0, 200)
  250.     Orientation = (0, 0, 0)
  251.     Scale = (8192, 8192, 8192)
  252.     NumInstructions = 31
  253.  
  254.  
  255. _Instructions:
  256.  
  257.         COUNTER = 162
  258.         LOOP
  259.  
  260.     COUNTER=36
  261.       ROTATE=(0, 0, 5)
  262.       TRANSLATE=(-8, 0, 0)
  263.     LOOP
  264.  
  265.     COUNTER=18
  266.       ROTATE=(0, 5, 0)
  267.     LOOP
  268.  
  269.     COUNTER=36
  270.       ROTATE=(0, 0, 5)
  271.       TRANSLATE=(0, 0, 8)
  272.     LOOP
  273.  
  274.     COUNTER=18
  275.       ROTATE=(0, 5, 0)
  276.     LOOP
  277.  
  278.     COUNTER=36
  279.       ROTATE=(0, 0, 5)
  280.       TRANSLATE=(8, 0, 0)
  281.     LOOP
  282.  
  283.     COUNTER=18
  284.       ROTATE=(0, 5, 0)
  285.     LOOP
  286.  
  287.     COUNTER=36
  288.       ROTATE=(0, 0, 5)
  289.       TRANSLATE=(0, 0, -8)
  290.     LOOP
  291.  
  292.     COUNTER=18
  293.       ROTATE=(0, 5, 0)
  294.     LOOP
  295.  
  296.     GOTO = 2
  297.