Povray example

by Oliver Knill
camera{ up y right x location <0,1,-3> look_at <0,0,0> }
light_source { <0,300,-100> colour rgb <1,1,1> }
light_source { <-10,3,-100> colour rgb <1,1,1> }
background { rgb<1,1,1> }

#macro r(c) 
  pigment{rgb c} finish {phong 1 ambient 0.5 diffuse 0.5}
#end

#declare S=difference { 
  sphere   { <0,0,0>, 1 texture { r(<1,1/2,0>)} } 
  cylinder { <0,-2,0>,<0,2,0>, 0.6 texture { r(<0,1,0>)} } 
  cylinder { <0,0,-2>,<0,0,2>, 0.6 texture { r(<1,0,0>)} } 
  cylinder { <-2,0,0>,<2,0,0>, 0.6 texture { r(<1,0,0>)} } 
}

union { object{S} rotate <-70,10,35>+clock*y*360 }