Option "display" "imageviewer" "xv"
Option "render" "integrator" "raycast"

Format 100 100 1
PixelSamples 2 2
Display "grade_hw2.tiff" "file" "rgba"

#Projection "perspective" "fov" 45
Projection "flyseye" "radius" 0.5 "pitch" 1 "fov" 180.0
#Projection "lenticular" "radius" 0.25 "pitch" 0.5 "fov" 180.0


LightSource "distantlight" 1


Translate 0.0 0.0 30.0

WorldBegin

#Rotate 40 1 0 0


Surface "matte"

AttributeBegin
	Color 1.0 0.4 0.4
	Translate 4.0 2.0 -4.0
	Polygon "P" [-.3 -.3 0.1  .3 .3 0.1  .3 -.3 0.1]
	Translate -4.0 -2.0 4.0
AttributeEnd

AttributeBegin
	Color 0.4 1.0 0.4
	Translate -4.0 2.0 -4.0
	Polygon "P" [-2 -2 0.1  2 2 0.1  2 -2 0.1]
	Translate 4.0 -2.0 4.0
AttributeEnd

AttributeBegin
	Color 0.4 1.0 1.0
	Translate 0.0 0.0 7.0
	Polygon "P" [-20 -20 0 20 -20 0 20 20 0]
	Color 1.0 0.4 1.0
	Polygon "P" [-20 -20 0 20 20 0 -20 20 0]
	Translate 0.0 0.0 -7.0
AttributeEnd

AttributeBegin
	Color 0.2 1.0 0.2
	Translate 0.0 0.0 50.0
	Polygon "P" [-500 -500 0 500 -500 0 500 500 0 -500 500 0]
AttributeEnd

WorldEnd