#include "colors.inc" // The include files contain #include "textures.inc" // pre-defined scene elements #include "shapes.inc" #include "glass.inc" #declare Nick_Green_Glass = material { texture { pigment { color rgbf <0.1, 0.8, 0.2, 1> } finish { ambient 0.3 diffuse 0.2 reflection .3 specular 0.5 roughness 0.1 } } interior{ ior 1.5} } camera { //location <-17, 0, 0> location <0, 0, -7> look_at <0, 0, 0> } light_source { <0, -10, -2> color rgb<1,1,1> fade_distance 3 fade_power 1 } light_source { <0, 8, -2> color rgb<1,1,1> fade_distance 15 fade_power 1 } /* difference { sphere { <0,0,0> 2.5 pigment { color White} // color and clearness } box { <-3,-3,0>, // Near lower left corner <3,3,-3> // Far upper right corner pigment {color White} // color and clearness } } */ difference { sphere { <0,0,0> 2.5 //texture { Jade} // color and clearness pigment { color White} // color and clearness } box { <-3,-3,0>, // Near lower left corner <3,3,-3> // Far upper right corner pigment {color White transmit 1} // color and clearness } } sphere { <0,0,0> 2 material {Nick_Green_Glass} } /* plane { <0, 10, 0>, -10 pigment { checker pigment{Jade}, pigment{White} } } */ /* box { <-10,-10,10>, // Near lower left corner <10,10,-10> // Far upper right corner pigment {color White} } */ /* sphere { <1,1,-3> 0.3 pigment {color Blue} // color and clearness } sphere { <-1,0,-3> 0.3 pigment {color Red} // color and clearness } */ /* sphere { <0,0,0> 1.75 pigment {color Blue} // color and clearness scale <1,1,0.2> } */ /* sky_sphere { pigment { gradient y color_map { [0.000 0.002 color rgb <0.0, 0.0, 1.0> color rgb <0.5, 0.5, 0.9>] [0.002 0.200 color rgb <0.0, 0.0, 1.0> color rgb <0.5, 0.5, 1.0>] } scale 2 translate -1 } pigment { bozo turbulence 0.65 octaves 6 omega 0.7 lambda 2 color_map { [0.0 0.1 color rgb <0.25, 0.85, 0.85> color rgb <0.75, 0.75, 0.75>] [0.1 0.5 color rgb <0.75, 0.75, 0.75> color rgbt <1, 1, 1, 1>] [0.5 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>] } scale <0.2, 0.5, 0.2> } rotate -135*x } */