# lines beginning with '#' are comments
# the x, y, z coordinates of the eye position
eye { 0 1 20 } 

# the x,y,z coordinates of each of the four corners of the image window
image { <-8 8 0> <8 8 0> <8 -8 0> <-8 -8 0> } 

# the x,y,z coordinates of the position of the point light source
light_position { 10 20 20 }

# the x,y,z coordinates of the position of the point light source
# light_position { -10 10 20 }

# the material properties:
#   diffuse color (r,g,b)
#   specular color (r,g,b)
#   ambient, diffuse, specular coefficients, specular exponent
#   transparency
#   index of refraction of environment
#   index of refraction of object
# material { <0.8 0.3 0.0> <0.8 0.8 0.4> <0.2 0.5 1.0 15> 0.0 <1.0 1.0> }
material { <1.0 1.0 1.0> <0.8 0.8 0.4> <0.2 0.5 1.0 15> 0.0 <1.0 1.0> }

# a sphere definition: center (x,y,z) and radius
sphere { <0, 0, -5>, 4 }

material { <0.5 0.0 1.0> <0.5 0.0 0.0> <0.2 0.5 0.0 15> 0.5 <1.2 1.0> }
sphere { <1, 3, 2>, 1 }

# note that the material property should apply to all objects below it,
# unless superceded by another material property definition
# this is so that when you later get into rendering polygal objects you don't
# have to specify the material properties repeatedly for each triangle


