#version 3.5; #include "colors.inc" #declare Photons=off; global_settings { assumed_gamma 1.5 max_trace_level 500 } camera { right x*image_width/image_height location <0,1.6,-5> look_at <0,0.75,0> } light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color spotlight // this kind of light source translate <3, 7, -3> // position of light point_at <0, 0, 0> // direction of spotlight radius 9 // hotspot (inner, in degrees) tightness 20 // tightness of falloff (1...100) lower is softer, higher is tighter falloff 10 // intensity falloff radius (outer, in degrees) } background {rgb .8} difference { sphere {<0,1,0>,.98} box {<-1,1.35,-1>,<2,3,2>} texture {pigment {Clear}} interior {fade_color ior 1.33} scale .999 photons {target refraction on reflection off} normal {ripples .4 frequency 1 scale .6} }