image {
	width 512
	height 512
	samples 100
}

camera {
	position 1.0 -1.0 -1.5 center 0.0 0.0 1.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 1.0
		position 6 0 -2
	}
}

material "plane_material" {
	//action:reflect 0.2 1
	action:refract 0.2 1
	action:shadow "light1" 1
	diffuse 0.05 0.05 1.0
	specular 0.2 0.3 1.0
	shininess 3
}
material  "sphere1_material" {
	action:shadow "light1" 2
	diffuse 1.0 1.0 1.0
	
	//https://atmire.com/labs17/bitstream/handle/123456789/7618/earth-map-huge.jpg?sequence=1
	texture_diffuse "data/earth.png"
	
	specular 0.0 0.0 0.0
	shininess 1
}

scene {
	background 0 0 0
	
	object:sphere {
		use "sphere1_material"
		position 0 0 1
		radius 1
	}
}

//TODO: per-light ambient, diffuse, specular, etc.?
//TODO: material inheritance?
//TODO: determine sample kind
//TODO: "1//sdf" should not be an error
//TODO: are spaces in name strings errors?  Shouldn't be.
//TODO: proper UV mapping for basic primitives

//Notes:
//"0.0/**/0.0" will be treated as "0.0 0.0".
//For colors, if the first number is an int, the numbers will be treated as 0-255
//Else, 0.0-1.0
//Don't prefix your material names with "__", because the .obj loader uses these internally.

















