home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 7
/
FreshFishVol7.bin
/
bbs
/
gfx
/
anim3d-1.4.lha
/
Anim3D
/
Anims
/
Multiple
< prev
next >
Wrap
Text File
|
1994-07-26
|
6KB
|
349 lines
% =========================================================================
% ------------------------ The animation info -----------------------------
% =========================================================================
ANIMATION:
Version = 1
MinVer = 1
NumColours = 4
NumObjects= 3
NumObjectInstances = 5
Title = "Testing Animation"
Creator = "M. George"
Date = "February 1994"
% =========================================================================
% -------------------------- The colours used -----------------------------
% =========================================================================
BACKCOLOUR:
Colour = (0, 0, 0)
COLOURS:
#Grey:
Colour = (127, 127, 127)
#Yellow:
Colour = (255, 255, 0)
#Cyan:
Colour = (0, 255, 255)
#Magenta:
Colour = (255, 0, 255)
% =========================================================================
% ----------------------- The direction of light --------------------------
% =========================================================================
LIGHTSOURCE:
Vector = (-5173, 0, 5173)
NumInstructions = 1
_Instructions:
STOP
% =========================================================================
% --------------------- The viewers initial position ----------------------
% =========================================================================
VIEWER:
Position = (0, 200, -300)
Orientation = (350, 0, 0)
NumInstructions = 1
_Instructions:
STOP
% =========================================================================
% -------------------------- The object protos ----------------------------
% =========================================================================
PROTOS:
#Pyramid: % The only object in this demo.
NumVertices = 5
NumFaces = 5
_Vertices:
Coords = (-50, 0, -50)
Coords = (50, 0, -50)
Coords = (50, 0, 50)
Coords = (-50, 0, 50)
Coords = (0, 80, 0)
_Faces:
Colour = #Yellow
NumEdges = 3
Edges = (0, 4, 1, 0)
Colour = #Cyan
NumEdges = 3
Edges = (1, 4, 2, 1)
Colour = #Yellow
NumEdges = 3
Edges = (2, 4, 3, 2)
Colour = #Cyan
NumEdges = 3
Edges = (3, 4, 0, 3)
Colour = #Magenta
NumEdges = 4
Edges = (0, 1, 2, 3, 0)
#Cylinder: % The only object in this demo.
NumVertices = 12
NumFaces = 8
_Vertices:
Coords = (-50, 0, -30)
Coords = (-25, 43, -30)
Coords = (25, 43, -30)
Coords = (50, 0, -30)
Coords = (25, -43, -30)
Coords = (-25, -43, -30)
Coords = (-50, 0, 30)
Coords = (-25, 43, 30)
Coords = (25, 43, 30)
Coords = (50, 0, 30)
Coords = (25, -43, 30)
Coords = (-25, -43, 30)
_Faces:
Colour = #Yellow
NumEdges = 6
Edges = (0, 1, 2, 3, 4, 5, 0)
Colour = #Grey
NumEdges = 4
Edges = (0, 5, 11, 6, 0)
Colour = #Grey
NumEdges = 4
Edges = (1, 0, 6, 7, 1)
Colour = #Grey
NumEdges = 4
Edges = (2, 1, 7, 8, 2)
Colour = #Grey
NumEdges = 4
Edges = (3, 2, 8, 9, 3)
Colour = #Grey
NumEdges = 4
Edges = (4, 3, 9, 10, 4)
Colour = #Grey
NumEdges = 4
Edges = (5, 4, 10, 11, 5)
Colour = #Grey
NumEdges = 6
Edges = (11, 10, 9, 8, 7, 6, 11)
#Cube:
NumVertices = 8
NumFaces = 6
_Vertices:
Coords = (-50, 50, -50)
Coords = (50, 50, -50)
Coords = (50, -50, -50)
Coords = (-50, -50, -50)
Coords = (-50, 50, 50)
Coords = (50, 50, 50)
Coords = (50, -50, 50)
Coords = (-50, -50, 50)
_Faces:
Colour = #Magenta
NumEdges = 4
Edges = (0, 1, 2, 3, 0)
Colour = #Cyan
NumEdges = 4
Edges = (1, 5, 6, 2, 1)
Colour = #Yellow
NumEdges = 4
Edges = (0, 4, 5, 1, 0)
Colour = #Yellow
NumEdges = 4
Edges = (7, 3, 2, 6, 7)
Colour = #Cyan
NumEdges = 4
Edges = (0, 3, 7, 4, 0)
Colour = #Magenta
NumEdges = 4
Edges = (4, 7, 6, 5, 4)
% =========================================================================
% ------------- The object instances and their movement -------------------
% =========================================================================
OBJECTS:
% Top Pyramid
Proto = #Pyramid
Position = (0, 300, 1500)
Orientation = (0, 0, 0)
Scale = (8192, 8192, 8192)
NumInstructions = 2
_Instructions:
ROTATE = (2, -5, 0)
GOTO = 0
% Bottom Pyramid
Proto = #Pyramid
Position = (0, -300, 1500)
Orientation = (0, 0, 0)
Scale = (8192, 8192, 8192)
NumInstructions = 2
_Instructions:
ROTATE = (-5, 2, 0)
GOTO = 0
% One of the cylinders
Proto = #Cylinder
Position = (0, 0, 1000)
Orientation = (0, 270, 0)
Scale = (8192, 8192, 8192)
NumInstructions = 5
_Instructions:
COUNTER = 360
ROTATE = (0, -2, 5)
DTRANSLATE = (0, 0, -20)
LOOP
GOTO = 0
% The other cylinder
Proto = #Cylinder
Position = (0, 0, 2000)
Orientation = (0, 90, 0)
Scale = (8192, 8192, 8192)
NumInstructions = 5
_Instructions:
COUNTER = 360
ROTATE = (0, -2, 5)
DTRANSLATE = (0, 0, -20)
LOOP
GOTO = 0
% The cube
Proto = #Cube
Position = (0, 0, 1500)
Orientation = (0, 45, 0)
Scale = (8192, 8192, 8192)
NumInstructions = 53
_Instructions:
COUNTER = 10
TRANSLATE = (0, 8, 0)
ROTATE = (0, 5, 0)
LOOP
TRANSLATE = (0, 4, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, 2, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, 1, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, -1, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, -2, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, -4, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
COUNTER = 20
TRANSLATE = (0, -8, 0)
ROTATE = (0, 5, 0)
LOOP
TRANSLATE = (0, -4, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, -2, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, -1, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, 1, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, 2, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
TRANSLATE = (0, 4, 0)
ROTATE = (0, 5, 0)
FRAMEDONE
COUNTER = 20
TRANSLATE = (0, 8, 0)
ROTATE = (0, 5, 0)
LOOP
GOTO = 4