camera { location<20,20,-30> look_at<0,0,0> right up y } //light_source { <2000,2000,-2000> color White } global_settings{assumed_gamma 1.3 radiosity{ pretrace_start 1 pretrace_end 1 count 400 error_bound 0.05 nearest_count 1 // CHANGE - range from 1 to 3 - should correspond with pretrace_end recursion_limit 1 // CHANGE low_error_factor 1 // leave this gray_threshold 0 // leave this minimum_reuse 0.015 // leave this brightness 1 // leave this adc_bailout 0.01/2 // CHANGE - use adc_bailo } } box { <-14,-10,1.5>,<14,10,3.5> texture { Aluminum } } plane { y,-11 texture { pigment { checker color Black color White } finish { ambient .5 specular 1.0 roughness .001 reflection .2 } scale 10 } } #declare Cap=union { cylinder { <0,5,0>,<0,6,0>,1.25 } difference { sphere { <0,6,0>,1.25 } box { <-10,0,-10>,<10,6,10> } } box { <-1.25,5.25,0>,<1.25,5.75,5> } texture { Aluminum } } #macro florcent_bulb(Height, BulbColor) light_source { <0,0,0> color BulbColor looks_like { union { cylinder { <0,-Height,0>,<0,Height,0>,1 texture { pigment { color BulbColor filter .9 } finish { diffuse 0 ambient .75 } } } cylinder { <0,-Height,0>,<0,Height,0>,.75 texture { pigment { color BulbColor } finish { ambient 1 diffuse 0 } } } no_shadow } } } /* light_source { <0,-4,0> color BulbColor } */ light_source { <0,-3,0> color BulbColor } /* light_source { <0,-2,0> color BulbColor } light_source { <0,-1,0> color BulbColor } light_source { <0,1,0> color BulbColor } light_source { <0,2,0> color BulbColor } */ light_source { <0,3,0> color BulbColor } /* light_source { <0,4,0> color BulbColor } */ #end #macro Neon(BulbColor) union { object { Cap } object { Cap rotate<0,0,180> } florcent_bulb(5, BulbColor) } #end #declare PinkNeon=object { Neon(NeonPink) } #declare BlueNeon=object { Neon(NeonBlue) } #declare GreenNeon=object { Neon(Green) } #declare RedNeon=object { Neon(Red) } #declare OrangeNeon=object { Neon(Orange) } #declare YellowNeon=object { Neon(Yellow) } #declare BlueVioletNeon=object { Neon(BlueViolet) } /* object { RedNeon translate<-10,0,0> } object { OrangeNeon translate<-6,0,0> } object { YellowNeon translate<-2,0,0> } object { GreenNeon translate<2,0,0> } object { BlueNeon translate<6,0,0> } object { BlueVioletNeon translate<10,0,0> } */ object { YellowNeon translate<-2,0,0> } object { GreenNeon translate<2,0,0> } object { PinkNeon translate<-6,0,0> } object { BlueNeon translate<6,0,0> }