image {
	//width 1280
	//height 800
	//samples 10
	
	width 256
	height 160
	samples 1
}

camera {
	//position -0.3 0.7 -0.5 center 0.0 0.2 0.0 up 0.0 1.0 0.0
	image_plane 1.5
	position -1.4 2.5 -1.6 center 0.0 1.0 0.0 up 0.0 1.0 0.0
	
	aperture 0.05 1
	focal 0.33
}

light "light1" {
	color 1.0 1.0 1.0
	object:sphere {
		radius 1.0
		position 0 1000 0
	}
}

material "plane_material" {
	//action:shadow "light1" 1
	diffuse 0.8 0.8 0.8
	specular 0.2 0.2 0.2
	shininess 3
}
material "oil_covered_water_material" {
	action:refract 1
	action:reflect 1
	//film 300 1.5
	index 0.5 8000.0
	action:shadow "light1" 1
	diffuse 0.0 0.0 0.0
	specular 1.0 1.0 1.0
	shininess 128
}

scene {
	background 64 64 64

	object:plane {
		use "plane_material"
		position 0 -0.01 0
		//position 0 -1.51 0
		normal 0 1 0
	}
	//object:obj {
	//	use "oil_covered_water_material"
	//	model "data/glass.obj"
	//	//position 0.0 0.0 0.0
	//}
	object:sphere {
		use "oil_covered_water_material"
		radius 0.9
		position 0.0 1.0 0.0
	}
}