POV-Ray : Newsgroups : povray.binaries.images : playing with lights : Re: playing with lights Server Time
5 Nov 2024 20:17:09 EST (-0500)
  Re: playing with lights  
From: asfiXy
Date: 29 May 2005 15:40:00
Message: <web.429a1a0fea4094d6500dca390@news.povray.org>
here is the code:

#macro L(a)
 light_source{
  -y*5
  color -a*30
  fade_power 2
  fade_distance 10
#end

union{
 #declare I=0;
 #while(I<1)
  L(<1-I,.5,I>)
  rotate I*x*180
  rotate I*y*3960
  }
  #declare I=I+1/58;
 #end

 sphere{
  0,4
  pigment{rgbt 1}
  finish{
   specular 0.1
   roughness 1e-3
  }
  clipped_by{ box{-9+9.6*z,9} }
 }
 translate 9*z
}

background{rgb 1}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.