global_settings { assumed_gamma 1.0 max_trace_level 20 radiosity { pretrace_start 0.08 pretrace_end 0.004 count 500 error_bound 0.25 recursion_limit 2 low_error_factor .5 nearest_count 10 brightness 1 gray_threshold 0.0 media on normal on always_sample on } } background { color rgb <0.1, 0.1, 0.2> } camera { location <0, 4, -10> look_at <0, 1, 0> } light_source { <5, 10, -5> color rgb <1, 1, 1> } light_source { <-10, 8, 5> color rgb <0.6, 0.6, 1> } plane { y, 0 texture { pigment { color rgb <0.2, 0.4, 0.6> } finish { reflection 0.4 specular 0.9 } normal { bumps 0.5 scale 0.3 } } } #foreach( $s in $spheres ) sphere { <${s.x}, ${s.y}, ${s.z}>, ${s.radius} texture { pigment { color rgb <${s.r}, ${s.g}, ${s.b}> } finish { specular 0.7 reflection 0.2 } } } #end