POV-Ray : Newsgroups : povray.binaries.scene-files : Lightning code : Re: Lightning code Server Time
2 Sep 2024 14:16:44 EDT (-0400)
  Re: Lightning code  
From: Nekar Xenos
Date: 10 May 2001 02:16:45
Message: <3afa324d@news.povray.org>
Thanks!

Nekar Xenos


--
#local N=<-4,8,20>;#local K=<4,-8,20>;#local R=seed(0);union{#while((K-N).x>0)
#local X=N;#local N=N+<rand(R),rand(R),1>/30;#local N=(vlength(N-K)<vlength(X-K
)?N:2*X-N);sphere{<N.y,-N.x,N.z>,.2}sphere{N,.2}sphere{<-N.x-8,N.y,N.z>,.1//-NX
pigment{rgb N}}sphere{<N.x+8,-N.y,N.z>,.1 pigment{rgb N}}#end pigment{rgb 9}}


Post a reply to this message

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