// Persistence Of Vision raytracer version 3.1 sample file. // File by Alexander Enzmann #include "colors.inc" #include "shapes.inc" #include "textures.inc" #declare phd=1; global_settings { assumed_gamma 2.2 photons { gather 20, 100 radius .1*phd*2, 2, 0 autostop 0 jitter .4 } } camera { location <0, 0, -5> direction <0, 0, 1.2071> look_at <0, 0, 0> } light_source { <-15, 30, -25> color red 1 green 1 blue 1 } light_source { < 15, 30, -25> color red 1 green 1 blue 1 } blob { threshold 0.6 component 1.0, 1.0, <0.75, 0, 0> component 1.0, 1.0, <-0.375, 0.64952, 0> component 1.0, 1.0, <-0.375, -0.64952, 0> pigment { color red 1 green 0 blue 0 filter 1} finish { ambient 0.1 diffuse 0.8 phong 1 } interior { ior 1.2 } scale 1.5 rotate 30*y photons { density 0.02*phd refraction on ignore_photons } } object { Cube scale <7, 0.001, 7>*.4 rotate 90*x translate .6*z pigment { checker color Gray50 color White translate <1, 0, 7> } finish { ambient 0.1 diffuse 0.85 crand 0.015 } }