// use these command line parameters to set the width/height // (right click on them and select "open include file/insert command line") // +w640 +h320 +AM2 +A0.2 // in any case, use a width that's twice the height. // good preview settings: // +w320 +h160 // I figure we can add black areas at the top and bottom to make a good desktop image out of it when we're done. camera { location <-3,1.7,-6>*.45 up y right 2*x look_at 0 } light_source { <-5,3,-6> rgb 1.3 } // for convenience in figuring out coordinates: /*plane { y,0 pigment {checker} } sphere { // origin 0,.5 pigment {rgb 3} }*/ //Layered Texture #declare Ball_Tex = texture { pigment { bozo color_map { [0 rgb <.8,.3,1>][1 rgb <.3,1,.8>] } scale .3 } } texture { pigment { crackle solid color_map { [0 rgbt <0,0,0,1>] [.75 rgbt <0,0,0,1>] [.75 rgbt <.8,.8,.8,0>] [1 rgbt <1,1,1,0>] } scale .02 } } difference { sphere {0,1} cylinder { <0, .5, -.5>, <0, 2, -2>, .075} cylinder { <0, .5, -.5>, <0, 2, -2>, .075 rotate y*-25 } cylinder { <0, .5, -.5>, <0, 2, -2>, .075 rotate <-20,-12.5,0> } texture { Ball_Tex finish { diffuse 1 ambient 0 brilliance 2 specular .5 roughness .02 metallic } } translate <-1,0,-.5> }