home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
413b.lha
/
dkbtrace_v2.1
/
data
/
pillars.dat
< prev
next >
Wrap
Text File
|
1990-08-27
|
2KB
|
100 lines
INCLUDE "BasicShapes.data"
VIEW_POINT
LOCATION <0.0 20.0 -100.0>
DIRECTION <0.0 0.0 1.0>
UP <0.0 1.0 0.0>
RIGHT <1.333333333 0.0 0.0>
END_VIEW_POINT
{ Put down a wooden floor }
OBJECT
PLANE < 0.0 1.0 0.0 > -10. END_PLANE
AMBIENT 0.3
DIFFUSE 0.7
REFLECTION 0.2
TEXTURE
0.05
WOOD
TURBULENCE 0.1
ROTATE <45.0 0.0 0.0>
SCALE <15.0 8.0 8.0>
COLOUR_MAP
[0.0 0.8 COLOUR RED 0.666 GREEN 0.312 BLUE 0.2
COLOUR RED 0.666 GREEN 0.312 BLUE 0.2]
[0.8 1.01 COLOUR RED 0.4 GREEN 0.133 BLUE 0.066
COLOUR RED 0.2 GREEN 0.065 BLUE 0.033]
END_COLOUR_MAP
END_TEXTURE
END_OBJECT
{ Now, erect two metallic beams that are clipped at the top }
OBJECT
INTERSECTION
UNION
QUADRIC
Cylinder_Y
SCALE <5.0 5.0 5.0>
TRANSLATE <-10.0 0.0 0.0>
END_QUADRIC
QUADRIC
Cylinder_Y
SCALE <5.0 5.0 5.0>
TRANSLATE <10.0 0.0 0.0>
END_QUADRIC
END_UNION
PLANE < 0.0 1.0 0.0 > 40.0 END_PLANE
END_INTERSECTION
AMBIENT 0.3
DIFFUSE 0.7
BRILLIANCE 5.0
SPECULAR 2.0
ROUGHNESS 0.009
COLOUR Green
END_OBJECT
{ Just for fun, add two water beams behind the others }
OBJECT
INTERSECTION
UNION
QUADRIC
Cylinder_Y
SCALE <5.0 5.0 5.0>
TRANSLATE <-30.0 0.0 20.0>
END_QUADRIC
QUADRIC
Cylinder_Y
SCALE <5.0 5.0 5.0>
TRANSLATE <30.0 0.0 20.0>
END_QUADRIC
END_UNION
PLANE < 0.0 1.0 0.0 > 40.0 END_PLANE
END_INTERSECTION
REFLECTION 0.5
REFRACTION 0.5
SPECULAR 1.0
ROUGHNESS 0.01
TEXTURE
RIPPLES 1.0
SCALE <2.0 2.0 2.0>
END_TEXTURE
END_OBJECT
{ Add a light source }
OBJECT
SPHERE <0.0 0.0 0.0> 20.0 END_SPHERE
TRANSLATE < 60.0 50.0 -110.0 >
LIGHT_SOURCE
COLOUR White
AMBIENT 1.0
DIFFUSE 0.0
END_OBJECT