#include "colors.inc" #include "golds.inc" #include "metals.inc" #include "woods.inc" #include "transforms.inc" #include "shapes.inc" #include "math.inc" #include "glass.inc" #include "stones.inc" #include "textures.inc" sor { 7, // # of points <0.4, 0.4> // list of points that will be "spun" around y-axis <0.1, 0.0> <0.6, 0.5> <0.2, 0.8> <0.2, 0.96> <0.28, 1.0> <0.47, 1.1> // [open] texture{ pigment { granite color_map { [0.0 rgb <0.52, 0.39, 0.39>] [0.9 rgb <0.52, 0.39, 0.39>] [0.9 rgb <0.42, 0.14, 0.55>] } scale 2 } finish { specular 1 roughness 0.0001 phong 0.25 phong_size 75 brilliance 4 } } rotate <0,0,79> translate <2,-.25,2> } light_source { <1, 1, 1> color rgb <1,1,1> } light_source { <-1,3,-5> color rgb <1,1,1> } light_source { <1,4,0> color rgb <1,1,1> } light_source { <-1,5,2> color rgb <1,1,1> } camera {location <1.0, 3.0, -5.0> look_at <0, 0, 0>} plane{<0,1,0>, 0 texture{pigment{ rgbf <0.2, 0.2, 0.2, 0.3> } normal {bumps 0.28 scale <1,0.25,0.25>*1 turbulence 0.2 } finish { ambient 0.05 diffuse 0.0 brilliance 5.0 phong 0.2 phong_size 120 reflection 0.6 } } } // sun --------------------------------------------------------------- light_source{<1500,2500,-2500> color White} // sky --------------------------------------------------------------------- sky_sphere { pigment { gradient <0,1,0> color_map { [0.00 rgb <0.6,0.7,1.0>] [0.35 rgb <0.0,0.1,0.8>] [0.65 rgb <0.0,0.1,0.8>] [1.00 rgb <0.6,0.7,1.0>] } scale 2 } // end of pigment } //end of skysphere ------------------------------------- // fog --------------------------------------------------------------- fog{fog_type 2 distance 65 color rgb<1,0.99,0.9> fog_offset 0.1 fog_alt 2.0 turbulence 0.2} //-------------------------------------------------------------------- difference{ sphere { <0,0,0> 1 pigment{ rgb <0.752941, 0.752941, 0.752941>} scale <2,1,.2> } sphere { <0,.5,0> 1.0 pigment{ color Black} scale <2,1,.2> } rotate <180,0,100> translate <-2,0,-1> } #declare paddle = union{ cylinder { <-1, 0, 0>, <1, 0, 0>, .05 pigment{ rgb <0.752941, 0.752941, 0.752941>} } cylinder { <.2, 0, 0>, <-.2, 0, 0>, .05 pigment{ rgb <0.752941, 0.752941, 0.752941>} rotate <0,90,0> translate <-1,0,0> } box { <-.5,.5,.5> <.5,-.5,-.5> pigment{ rgb <0.752941, 0.752941, 0.752941>} scale<1,.1,.5> translate<1,0,0> } } object { paddle translate<2,0,-2>} object { paddle rotate<0,0,-90> translate<-2,0,3>} difference{ box { <1.8,-.5,.7> <-1.8,.5,-.7> pigment{ color Brown } scale <.3,.3,.3> } sphere { <1,0,0> 1 pigment{ Black } scale <.2,.2,.2> } translate<1.2,0,6.5> }