#include "capacitors.inc" object{Capacitor(1,1,3) translate <-6,3,0>} object{Capacitor(1,2,5) translate < 6,0,0>} light_source {<-200, 200, -200> color rgb<1,1,1>} plane{1*y, 0 pigment{color rgb 0.6}} sphere{0, 2000 pigment{color rgb<1,1,1>} finish{ ambient .15 } hollow } camera { location <-20, 30, -60> look_at <0, 8, 0> angle 23 } #declare Rad=no; #if (Rad) // radiosity (global illumination) settings global_settings { radiosity { pretrace_start 0.08 // start pretrace at this size pretrace_end 0.04 // end pretrace at this size count 100 // higher -> higher quality (1..1600) [35] nearest_count 10 // higher -> higher quality (1..10) [5] error_bound 1.0 // higher -> smoother, less accurate [1.8] recursion_limit 3 // how much interreflections are calculated (1..5+) [3] low_error_factor .5 // reduce error_bound during last pretrace step gray_threshold 0.0 // increase for weakening colors (0..1) [0] minimum_reuse 0.015 // reuse of old radiosity samples [0.015] brightness 1 // brightness of radiosity effects (0..1) [1] adc_bailout 0.01/2 //normal on // take surface normals into account [off] //media on // take media into account [off] //save_file "file_name" // save radiosity data //load_file "file_name" // load saved radiosity data //always_sample off // turn sampling in final trace off [on] //max_sample 1.0 // maximum brightness of samples } } #end