// SPOTLIGHT / Light Flame '05.01 // by Tsutomu HIGO URL: http://www.asahi-net.or.jp/~nj2t-hg/ #version 3.6; global_settings { max_trace_level 6 assumed_gamma 2.2 } camera { location <0, 2, -30> look_at <2, 3, 0> angle 60 } media { scattering { 2, rgb 0.03} intervals 1 samples 50 method 3 } #declare Intensity = 10; light_source { <-20, -15, 30> color rgb <0.3, 0.3, 1> * Intensity spotlight point_at <15, 15, -30> radius 10 falloff 15 tightness 1 media_attenuation on } union { #declare I = 0; #declare Imax = 50; #while(I, <3*(I-Imax/2), 0, 100>, 0.6 } #declare I = I+1; #end pigment { rgbt <1, 0, 0, 0> } finish { ambient 0.3 reflection 1 diffuse 0.7 phong 1 } }