POV-Ray : Newsgroups : povray.binaries.tutorials : Lightning? Server Time
28 Mar 2024 07:19:15 EDT (-0400)
  Lightning? (Message 1 to 3 of 3)  
From: dave
Subject: Lightning?
Date: 18 Nov 2004 06:40:00
Message: <web.419c89c1dbb71b825a5e05860@news.povray.org>
Any idea of how to make lightning between two points?

dave


Post a reply to this message

From: Bruce
Subject: Re: Lightning?
Date: 18 Nov 2004 11:04:16
Message: <419cc800$1@news.povray.org>

> Any idea of how to make lightning between two points?

For animation, I used to draw a random succession of cylinders with no 
shadow and a quite high ambient value
It was between 2 sphere, I drew about 10 cylinders (linked to each other 
with spheres, apex of the 1st one was base of the snd one... and so on) 
and I used random value to jitter those points. After some trys, this 
rendered great as a small electrical arc. I suppose you could use 
somehow the same method to modelize a hige lightning
Regards,

-- 
Bruce


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Lightning?
Date: 20 Nov 2004 10:02:26
Message: <419F5C85.541CB1E5@gold.sdsmt.edu>
Rune has an electricity macro for use with MegaPov.
http://runevision.com
It's a little old, and it requires Megapov's Glow object, but it works
rather well.
I'll post a demonstration image in P.B.I.

ADB

dave wrote:

> Any idea of how to make lightning between two points?
>
> dave

--
//Anthony D. Baye, Student - Comp.Sci.
#default{pigment{rgb<0,.4,1>}finish{reflection 0.3 specular 0.6}}#macro
m(a,g,e)#local A=0;
#while(A<360)#local
am=a*.75;cylinder{vrotate(a*x,A*g*z),vrotate(am*x,(A+135)*g*z)e}
#local A=A+90;#end #local B=0;#while(B<360)sphere{a*x,e rotate
B/2*g*z}#local B=B+1;
#end #end m(2,1,.03)m(2,-1,.03)light_source{<-3,10,-15>,rgb
1}camera{location-7*z look_at 0}


Post a reply to this message

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