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

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

INCLUDE "BasicShapes.data"

VIEW_POINT
LOCATION <0.0 0.0 -80.0>
DIRECTION <0.0 0.0 1.0>
UP <0.0 1.0 0.0>
RIGHT <1.0 0.0 0.0>
END_VIEW_POINT


OBJECT
INTERSECTION

PLANE <0.0 0.0 1.0> 1.0 END_PLANE
PLANE <0.0 0.0 1.0> -1.0 INVERSE END_PLANE
PLANE <1.0 0.0 0.0> 1.0 END_PLANE
PLANE <1.0 0.0 0.0> -1.0 INVERSE END_PLANE
PLANE <0.0 1.0 0.0> 1.0 END_PLANE
PLANE <0.0 1.0 0.0> -1.0 INVERSE END_PLANE

SCALE <20.0 20.0 20.0>
ROTATE <10.0 30.0 20.0>
END_INTERSECTION

TEXTURE
0.05
CHECKER COLOUR Yellow COLOUR Black
SCALE <5.0 5.0 5.0>
ROTATE <10.0 120.0 20.0>
END_TEXTURE

COLOUR Red
AMBIENT 1.0
DIFFUSE 0.0
END_OBJECT

OBJECT
PLANE <0.0 1.0 0.0> 500.0 END_PLANE

COLOUR RED 1.0 GREEN 1.0 BLUE 0.5
AMBIENT 0.1
DIFFUSE 0.5
END_OBJECT

OBJECT
PLANE <0.0 0.0 1.0> 1000000.0 END_PLANE

COLOUR RED 1.0 GREEN 1.0 BLUE 0.5
AMBIENT 0.1
DIFFUSE 0.1
END_OBJECT

OBJECT
PLANE <0.0 1.0 0.0> -20.0 END_PLANE

TEXTURE
WAVES 0.05
FREQUENCY .50
SCALE <3.0 4.0 5.0>
END_TEXTURE

COLOUR RED 0.5 GREEN 1.0 BLUE 1.0
AMBIENT 0.1
DIFFUSE 0.5
END_OBJECT

OBJECT
SPHERE <0.0 0.0 0.0> 5.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