#include "rad_def.inc" #declare RADIOSITY = off; global_settings { assumed_gamma 1 #if( RADIOSITY ) radiosity { pretrace_start .08 pretrace_end .002 count 1000 nearest_count 10 error_bound .1 recursion_limit 1 low_error_factor .6 gray_threshold 0 minimum_reuse .015 brightness 1 adc_bailout .01 / 2 } #end } camera { location <7.5, 7.25, 0> * .8 look_at <-3, 1, -.5> } background { color rgb 1 } #declare porcelin = finish { ambient 0 brilliance 0 diffuse .75 phong 1 phong_size 175 specular 0 roughness .001 reflection { .2, 1 falloff 2 exponent 1 } conserve_energy } #declare subScatter = interior { ior .9 } #declare spheres = object { union { sphere { <0, 0, 0>, 2.5 pigment { color rgbt <0, 0, .5, .25> } finish { porcelin } translate <-5, 2.5, -3> } sphere { <0, 0, 0>, 2 pigment { color rgb <.5, 0, 0> } finish { porcelin } translate <-4, 2, 2.5> } sphere { <0, 0, 0>, 1.5 pigment { color rgb <0, .15, 0> } finish { porcelin } interior { subScatter } translate <0, 1.5, -1> } } photons { target reflection on refraction off } no_shadow } light_source { <1500, 500, 750> color rgb .5 photons { reflection on refraction off } } object { spheres } plane { y, 0 pigment { color rgb 1 } finish { ambient 0 diffuse .5 } }