#version 3.5; #declare nobugs = 0; #declare showbug1 = 0; #declare showbug2 = 1;// Do not use more or less than one option at a time! global_settings { photons { spacing 0.01 } } camera { location <-2,4,-7> look_at y*0 } #if(showbug1) light_source { <7,4,.0005>*10000 rgb 1 } #end #if(nobugs) light_source { <7,4,.0005>*100 //It seems to work with value 9996 for some reason rgb 1 } #end #if(showbug2) light_source { <7,4,.0005>*100 rgb 1 area_light <350,0,0><0,0,350> 10,10 // You might want to reduce this } #end plane { y, 0 pigment { rgb 1 } finish { ambient 0 diffuse .786 } clipped_by { box { <-4,-.05,-4><4,.05,4> } } } #declare Mat = material { texture { pigment { rgbt <1,1,1,.98> } finish { reflection { fresnel 1 } phong 6 phong_size 160 conserve_energy } } interior { ior 1.1 fade_distance .5 fade_power 1001 fade_colour <.1,.4,.1> } } sphere { y*1.001, 1 material { Mat } photons{ target 0.9 refraction on reflection off collect off } } sphere { <-1.6,.301,2.7>, .3 material { Mat } photons{ target 0.9 refraction on reflection off collect off } } sphere { <-1.1,.601,-2.9>, .6 material { Mat } photons{ target 0.9 refraction on reflection off collect off } } cylinder { <3,-.1,-2><3,1.75,-2>,.15 material { Mat } photons{ target 0.85 refraction on reflection off collect off } }