Category : Printer + Display Graphics
Archive   : DKBDATA.ZIP
Filename : BUMPTEST.DAT

 
Output of file : BUMPTEST.DAT contained in archive : DKBDATA.ZIP

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 checkered floor }
OBJECT
PLANE <0.0 1.0 0.0> -10.0 END_PLANE

AMBIENT 0.2
DIFFUSE 0.8
TEXTURE
{ 0.05 }
CHECKER COLOUR Yellow COLOUR Blue
TURBULENCE 0.0
SCALE < 20.0 20.0 20.0 >
END_TEXTURE
COLOUR Yellow
AMBIENT 0.8
DIFFUSE 0.2
END_OBJECT

{ Now a bumpy sphere floating in space over the ground }

OBJECT
SPHERE <0.0 25.0 0.0> 40.0 END_SPHERE

COLOR White
AMBIENT 0.4
DIFFUSE 0.6
REFLECTION 0.75
BRILLIANCE 5.0

TEXTURE
0.05
BUMPS 0.5
SCALE < 4.0 4.0 4.0 >
END_TEXTURE
END_OBJECT

OBJECT
SPHERE <0.0 0.0 0.0> 2.0 END_SPHERE

TRANSLATE <100.0 120.0 -130.0>
COLOUR RED 1.0 GREEN 1.0 BLUE 1.0
AMBIENT 1.0
DIFFUSE 0.0
LIGHT_SOURCE
END_OBJECT

OBJECT
SPHERE <0.0 0.0 0.0> 2.0 END_SPHERE

TRANSLATE <-100.0 100.0 -130.0>
COLOUR RED 1.0 GREEN 1.0 BLUE 1.0
AMBIENT 1.0
DIFFUSE 0.0
LIGHT_SOURCE
END_OBJECT