POV-Ray : Newsgroups : povray.binaries.tutorials : Lightning? : Re: Lightning? Server Time 1 Jun 2023 01:08:13 EDT (-0400)
 Re: Lightning?
 From: Anthony D  Baye Date: 20 Nov 2004 10:02:26 Message: <419F5C85.541CB1E5@gold.sdsmt.edu>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#419F5C85.541CB1E5%40gold.sdsmt.edu",
"dateCreated": "2004-11-20T15:02:26+00:00",
"datePublished": "2004-11-20T15:02:26+00:00",
"author": {
"@type": "Person",
"name": "Anthony D  Baye"
}
}
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.

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}
```