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

  1. % =========================================================================
  2. % ------------------------ The animation info -----------------------------
  3. % =========================================================================
  4.  
  5. ANIMATION:
  6.  
  7.     Version = 1
  8.     MinVer = 1
  9.     NumColours = 4
  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. #Pink:
  29.     Colour = (255, 0, 255)
  30. #Cyan:
  31.     Colour = (0, 255, 255)
  32. #Yellow:
  33.     Colour = (255, 255, 0)
  34. #White:
  35.     Colour = (255, 255, 255)
  36.  
  37.  
  38. % =========================================================================
  39. % ----------------------- The direction of light --------------------------
  40. % =========================================================================
  41.  
  42. LIGHTSOURCE:
  43.  
  44.     Vector = (-5173, 0, 5173)
  45.     NumInstructions = 1
  46.  
  47. _Instructions:
  48.  
  49.         STOP
  50.  
  51.  
  52. % =========================================================================
  53. % --------------------- The viewers initial position ----------------------
  54. % =========================================================================
  55.  
  56. VIEWER:
  57.  
  58.     Position = (0, 0, -300)
  59.     Orientation = (0, 0, 0)
  60.     NumInstructions = 1
  61.  
  62. _Instructions:
  63.  
  64.     STOP
  65.  
  66.  
  67. % =========================================================================
  68. % -------------------------- The object protos ----------------------------
  69. % =========================================================================
  70.  
  71. PROTOS:
  72.  
  73. #Tile:                % The only object in this demo.
  74.     NumVertices = 8
  75.     NumFaces = 6
  76.  
  77. _Vertices:
  78.         Coords = (-50, 50, -50)
  79.     Coords = (50, 50, -50)
  80.     Coords = (50, -50, -50)
  81.     Coords = (-50, -50, -50)
  82.         Coords = (-50, 50, 50)
  83.     Coords = (50, 50, 50)
  84.     Coords = (50, -50, 50)
  85.     Coords = (-50, -50, 50)
  86.  
  87. _Faces:    
  88.     Colour = #Pink
  89.     NumEdges = 4
  90.         Edges = (0, 1, 2, 3, 0)
  91.  
  92.     Colour = #Cyan
  93.     NumEdges = 4
  94.         Edges = (1, 5, 6, 2, 1)
  95.  
  96.     Colour = #White
  97.     NumEdges = 4
  98.     Edges = (0, 4, 5, 1, 0)
  99.  
  100.     Colour = #White
  101.     NumEdges = 4
  102.     Edges = (7, 3, 2, 6, 7)
  103.  
  104.     Colour = #Cyan
  105.     NumEdges = 4
  106.     Edges = (0, 3, 7, 4, 0)
  107.  
  108.     Colour = #Pink
  109.     NumEdges = 4
  110.     Edges = (4, 7, 6, 5, 4)
  111.  
  112.  
  113. % =========================================================================
  114. % ------------- The object instances and their movement -------------------
  115. % =========================================================================
  116.  
  117. OBJECTS:
  118.  
  119.     Proto = #Tile
  120.     Position = (0, 0, 400)
  121.     Orientation = (00, 0, 0)
  122.     Scale = (8192, 8192, 8192)
  123.     NumInstructions = 19
  124.  
  125. _Instructions:
  126.  
  127.     COUNTER=36
  128.       TRANSLATE=(-10, 0, 0)
  129.     LOOP
  130.  
  131.     COUNTER=72
  132.       TRANSLATE=(10, 0, 0)
  133.     LOOP
  134.  
  135.     COUNTER=36
  136.       TRANSLATE=(-10, 0, 0)
  137.     LOOP
  138.  
  139.     COUNTER=24
  140.       TRANSLATE=(0, -10, 0)
  141.     LOOP
  142.  
  143.     COUNTER=48
  144.       TRANSLATE=(0, 10, 0)
  145.     LOOP
  146.  
  147.     COUNTER=24
  148.       TRANSLATE=(0, -10, 0)
  149.     LOOP
  150.  
  151.     GOTO=0
  152.