image {
	width 256
	height 256
	samples 1
}

camera {
	position 1.0 0.5 1.4 center 0.0 0.5 0.0 up 0.0 1.0 0.0
	image_plane 2.0
	aperture 0.1 1
	focal 0.55
}

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

material "plane_material" {
	//action:shadow "light1" 2
	diffuse 0.8 0.8 0.8
	specular 0.2 0.2 0.2
	shininess 3
}
material "glass_material" {
	action:refract 1
	action:reflect 1
	index 1.5 8000.0
	
	diffuse 0.0 0.0 0.0
	specular 1.0 1.0 1.0
	
	absorption 0.3 0.1 0.3
	
	shininess 500
}
material "bubble_material" {
	action:refract 1
	action:reflect 1
	index 1.0 8000.0
	
	diffuse 0.0 0.0 0.0
	specular 1.0 1.0 1.0
	
	film 1000 1.5
	
	shininess 500
}
material "mirror_material" {
	action:reflect 1
	
	diffuse 0.0 0.0 0.0
	specular 1.0 1.0 1.0
	
	shininess 3000
	
	film 120 1.1
}
material "oilywater_material" {
	action:refract 1
	action:reflect 1
	index 1.33 8000.0
	
	diffuse 0.0 0.0 0.0
	specular 1.0 1.0 1.0
	
	film 1000 1.5
	
	shininess 500
}


scene {
	background 64 64 64

	object:plane {
		use "plane_material"
		position 0 -0.001 0
		//position 0 -1.0 0
		normal 0 1 0
	}
	//object:sphere { use "bubble_material" radius 0.5 position 0.0 0.5 0.0 }
	object:sphere { use "mirror_material" radius 0.5 position 0.0 0.5 0.0 }
	//object:sphere { use "glass_material" radius 0.5 position 0.0 0.5 0.0 }
	//object:sphere { use "oilywater_material" radius 0.5 position 0.0 0.5 0.0 }
	//object:obj { use "bubble_material" model "data/slab_glass.obj" }
	//object:obj { use "glass_material" model "data/Spaceshipflat.obj" }
}