home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
284.lha
/
DkbTrace_v1.1
/
DesertMirage.data
< prev
next >
Wrap
Text File
|
1989-09-10
|
1KB
|
79 lines
INCLUDE "BasicShapes.data"
VIEW_POINT
LOCATION <0.0 10.0 200.0>
DIRECTION <0.0 0.0 -1.0>
UP <0.0 1.0 0.0>
RIGHT <1.333333 0.0 0.0>
END_VIEW_POINT
{ Define the desert floor }
OBJECT
QUADRIC
Plane_XZ
TRANSLATE <0.0 -10.0 0.0>
END_QUADRIC
COLOUR RED 1.0 GREEN 0.66 BLUE 0.2
AMBIENT 0.3
DIFFUSE 0.7
TEXTURE
0.05 { This value dithers the colours }
RIPPLES 0.5
FREQUENCY 200.0
SCALE <50000.0 50000.0 50000.0>
END_TEXTURE
END_OBJECT
{ Put a pond of water into the desert }
OBJECT
INTERSECTION
QUADRIC
Sphere
SCALE <30.0 25.0 35.0>
TRANSLATE <10.0 0.0 100.0>
END_QUADRIC
QUADRIC
Plane_XZ
TRANSLATE <0.0 -9.99 0.0>
END_QUADRIC
END_INTERSECTION
REFLECTION 1.0
TEXTURE
RIPPLES 0.6
FREQUENCY 5000.0
SCALE <10000.0 10000.0 10000.0>
END_TEXTURE
END_OBJECT
{ Now draw the sky }
OBJECT
QUADRIC
Plane_XZ
TRANSLATE <0.0 200.0 0.0>
END_QUADRIC
COLOUR BLUE 1.0 GREEN 0.6
AMBIENT 0.3
DIFFUSE 0.7
TEXTURE
0.05
END_TEXTURE
END_OBJECT
{ Now to cast some light on the subject }
OBJECT
QUADRIC
Sphere
SCALE <20.0 20.0 20.0>
END_QUADRIC
LIGHT_SOURCE
TRANSLATE <10.0 80.0 20.0>
COLOUR RED 1.0 GREEN 1.0 BLUE 0.5
AMBIENT 1.0
DIFFUSE 0.0
END_OBJECT