#include "metals.inc" #include "colors.inc" #include "skies.inc" global_settings { adc_bailout 0 max_trace_level 60 max_intersections 256 ambient_light 0 } sky_sphere { pigment { P_Cloud1 color_map {[0 rgb <.5, .5, .5>] [1 rgb <0, 0, .5>]} scale .1} } plane {y,-2.8 pigment {checker color White*.1 color White*20} scale 40 } torus {50, 5 pigment {color rgbt <.99, .99, 1, .4> } finish {phong 2 refraction 1 ior 1.02} normal { bumps 1.5 scale .7} } /* #declare RINGMAX = 130 #declare A=0 #while (A < RINGMAX) #declare RAD=2.8 torus {10, RAD rotate <0, 0, 90> translate <0, 0, 50> rotate <0, (A/RINGMAX) * 360, 0> pigment {color rgbf <1, 1, 1, .9>} finish {phong 1 refraction 1 ior 1.05} normal { bumps 1} } #declare A = A + 1 #end */ #declare FD=4 #declare FP=1 light_source { <0, 0, 0> color Red fade_distance FD fade_power FP translate <0, 0, 50> rotate y*0 looks_like { sphere {0, .5 pigment { color rgbt <1, 1, 1, .8> } finish {phong 2 refraction 1 ior 1.3} } } } light_source { <0, 0, 0> color Orange fade_distance FD fade_power FP translate <0, 0, 50> rotate y*60 looks_like { sphere {0, .5 pigment { color rgbt <1, 1, 1, .8> } finish {phong 2 refraction 1 ior 1.3} } } } light_source { <0, 0, 0> color Yellow fade_distance FD fade_power FP translate <0, 0, 50> rotate y*120 looks_like { sphere {0, .5 pigment { color rgbt <1, 1, 1, .8> } finish {phong 2 refraction 1 ior 1.3} } } } light_source { <0, 0, 0> color Green fade_distance FD fade_power FP translate <0, 0, 50> rotate y*180 looks_like { sphere {0, .5 pigment { color rgbt <1, 1, 1, .8> } finish {phong 2 refraction 1 ior 1.3} } } } light_source { <0, 0, 0> color Blue fade_distance FD fade_power FP translate <0, 0, 50> rotate y*240 looks_like { sphere {0, .5 pigment { color rgbt <1, 1, 1, .8> } finish {phong 2 refraction 1 ior 1.3} } } } light_source { <0, 0, 0> color Light_Purple fade_distance FD fade_power FP translate <0, 0, 50> rotate y*300 looks_like { sphere {0, .5 pigment { color rgbt <1, 1, 1, .8> } finish {phong 2 refraction 1 ior 1.3} } } } camera { location <50*cos(clock*6.28), 1, -50*sin(clock*6.28)> right <640/480, 0, 0> look_at <50*cos(clock*6.28+.1), 1, -50*sin(clock*6.28+.1)> angle 90 }