/* Spot Light Test by Rafał 'Raf256' Maj (C) 2002 pov@raf256.com 1:1 started 20.07.2002, last ver 0.05 20.07.2002 for 3.5win */ camera { location <0,15,-5> look_at <0,0,0> angle 15 } background { color rgb <.3,.3,1> } #declare _rad = 1.0; // <-- configuration #declare _dist = 5.0; cylinder { <0,-1,0>, <0,0.10,0>, _rad pigment { color rgb <.7,1.0,.7> } finish { ambient .4 } } light_source { <40,160,-100>*1e3 color rgb .4 } // ambient light_source { // SPOT <0,_dist,0> color rgb 1 spotlight point_at <0,0,0> #declare _f = sin(_rad/_dist)*57; radius _f falloff _f tightness 1 } plane { y,0 pigment { checker color rgb <.5,.5,1> color rgb <1,.5,1>} }