image {
	width 1024
	height 1024
	samples 1000
}

camera {
	position 278 273 -800 center 278 273 -799 up 0.0 1.0 0.0
	image_plane 2.7
	aperture 0.1 1
	focal 0.035
}

material "light" {
	diffuse 0.0 0.0 0.0
	specular 0.0 0.0 0.0
	emission 12.0 12.0 12.0
	shininess 3
}
material "white" {
	diffuse 1.0 1.0 1.0
	specular 0.2 0.2 0.2
	shininess 3
}
material "red" {
	diffuse 1.0 0.0 0.0
	shininess 3
}
material "green" {
	diffuse 0.0 1.0 0.0
	shininess 3
}

scene {
	background 64 64 64
	
	//Light
	object:triangle {
		use "light"
		position  343.0 548.5 227.0 
		position2 343.0 548.5 332.0
		position3 213.0 548.5 332.0
	}
	object:triangle {
		use "light"
		position  343.0 548.5 227.0 
		position2 213.0 548.5 332.0
		position3 213.0 548.5 227.0
	}

	//Floor
	object:triangle {
		use "white"
		position  552.8 0.0   0.0
		position2   0.0 0.0   0.0
		position3   0.0 0.0 559.2
	}
	object:triangle {
		use "white"
		position  552.8 0.0   0.0
		position2   0.0 0.0 559.2
		position3 549.6 0.0 559.2
	}
	
	//Ceiling
	object:triangle {
		use "white"
		position  556.0 548.8   0.0
		position2 556.0 548.8 559.2
		position3   0.0 548.8 559.2
	}
	object:triangle {
		use "white"
		position  556.0 548.8   0.0
		position2   0.0 548.8 559.2
		position3   0.0 548.8   0.0
	}

	//Back wall
	object:triangle {
		use "white"
		position  549.6   0.0 559.2
		position2   0.0   0.0 559.2
		position3   0.0 548.8 559.2
	}
	object:triangle {
		use "white"
		position  549.6   0.0 559.2
		position2   0.0 548.8 559.2
		position3 556.0 548.8 559.2
	}
	
	//Left wall
	object:triangle {
		use "red"
		position  552.8   0.0   0.0
		position2 549.6   0.0 559.2
		position3 556.0 548.8 559.2
	}
	object:triangle {
		use "red"
		position  552.8   0.0   0.0
		position2 556.0 548.8 559.2
		position3 556.0 548.8   0.0
	}
	
	//Right wall
	object:triangle {
		use "green"
		position  0.0   0.0 559.2
		position2 0.0   0.0   0.0
		position3 0.0 548.8   0.0
	}
	object:triangle {
		use "green"
		position  0.0   0.0 559.2
		position2 0.0 548.8   0.0
		position3 0.0 548.8 559.2
	}
	
	//Short block
	object:triangle {	use "white"	position  130.0 165.0  65.0 	position2  82.0 165.0 225.0	position3 240.0 165.0 272.0}
	object:triangle {	use "white"	position  130.0 165.0  65.0 	position2 240.0 165.0 272.0	position3 290.0 165.0 114.0}
	object:triangle {	use "white"	position  290.0   0.0 114.0	position2 290.0 165.0 114.0	position3 240.0 165.0 272.0}
	object:triangle {	use "white"	position  290.0   0.0 114.0	position2 240.0 165.0 272.0	position3 240.0   0.0 272.0}
	object:triangle {	use "white"	position  130.0   0.0  65.0	position2 130.0 165.0  65.0	position3 290.0 165.0 114.0}
	object:triangle {	use "white"	position  130.0   0.0  65.0	position2 290.0 165.0 114.0	position3 290.0   0.0 114.0}
	object:triangle {	use "white"	position   82.0   0.0 225.0	position2  82.0 165.0 225.0	position3 130.0 165.0  65.0}
	object:triangle {	use "white"	position   82.0   0.0 225.0	position2 130.0 165.0  65.0	position3 130.0   0.0  65.0}
	object:triangle {	use "white"	position  240.0   0.0 272.0	position2 240.0 165.0 272.0	position3  82.0 165.0 225.0}
	object:triangle {	use "white"	position  240.0   0.0 272.0	position2  82.0 165.0 225.0	position3  82.0   0.0 225.0}
	
	//Tall Block
	object:triangle {	use "white"	position  423.0 330.0 247.0	position2 265.0 330.0 296.0	position3 314.0 330.0 456.0}
	object:triangle {	use "white"	position  423.0 330.0 247.0	position2 314.0 330.0 456.0	position3 472.0 330.0 406.0}
	object:triangle {	use "white"	position  423.0   0.0 247.0	position2 423.0 330.0 247.0	position3 472.0 330.0 406.0}
	object:triangle {	use "white"	position  423.0   0.0 247.0	position2 472.0 330.0 406.0	position3 472.0   0.0 406.0}
	object:triangle {	use "white"	position  472.0   0.0 406.0	position2 472.0 330.0 406.0	position3 314.0 330.0 456.0}
	object:triangle {	use "white"	position  472.0   0.0 406.0	position2 314.0 330.0 456.0	position3 314.0   0.0 456.0}
	object:triangle {	use "white"	position  314.0   0.0 456.0	position2 314.0 330.0 456.0	position3 265.0 330.0 296.0}
	object:triangle {	use "white"	position  314.0   0.0 456.0	position2 265.0 330.0 296.0	position3 265.0   0.0 296.0}
	object:triangle {	use "white"	position  265.0   0.0 296.0	position2 265.0 330.0 296.0	position3 423.0 330.0 247.0}
	object:triangle {	use "white"	position  265.0   0.0 296.0	position2 423.0 330.0 247.0	position3 423.0   0.0 247.0}
}