home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
413b.lha
/
dkbtrace_v2.1
/
data
/
phongtst.dat
< prev
next >
Wrap
Text File
|
1990-08-27
|
1KB
|
61 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.33333 0.0 0.0>
END_VIEW_POINT
{ Put down the beloved famous raytrace green/yellow checkered floor }
OBJECT
PLANE <0.0 1.0 0.0> -10.0 END_PLANE
COLOUR Yellow
AMBIENT 0.1
DIFFUSE 0.9
TEXTURE
0.05
CHECKER COLOUR Yellow COLOUR Green
SCALE < 20.0 20.0 20.0 >
END_TEXTURE
END_OBJECT
{ Now a blue plastic sphere floating in space over the ground }
OBJECT
SPHERE <0.0 25.0 0.0> 40.0 END_SPHERE
COLOR Blue
AMBIENT 0.2
DIFFUSE 0.6
BRILLIANCE 1.0
PHONG 1.0
PHONGSIZE 20
END_OBJECT
{ A Light near the horizon, to the right and behind the camera to test spots }
OBJECT
SPHERE <0.0 0.0 0.0> 2.0 END_SPHERE
TRANSLATE <100.0 -9.99 -130.0>
COLOUR RED 1.0 GREEN 1.0 BLUE 1.0
AMBIENT 1.0
DIFFUSE 0.0
LIGHT_SOURCE
END_OBJECT
{ Finally, a Light above and behind the right of the sphere to test edges... }
OBJECT
SPHERE <0.0 0.0 0.0> 2.0 END_SPHERE
TRANSLATE <100.0 120.0 40.0>
COLOUR RED 1.0 GREEN 1.0 BLUE 1.0
AMBIENT 1.0
DIFFUSE 0.0
LIGHT_SOURCE
END_OBJECT