POV-Ray : Newsgroups : povray.newusers : Lightning Effect from A to B : Re: Lightning Effect from A to B Server Time
30 Jul 2024 02:25:59 EDT (-0400)
  Re: Lightning Effect from A to B  
From: Jim Charter
Date: 18 Nov 2004 14:10:55
Message: <419cf3bf$1@news.povray.org>
Ross wrote:
> "Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote in message
> news:Xns95A59042E7E13raf256com@203.29.75.35...
> 
>>davidbritz(at)yahoo(dot)com
>>news:web.419c8890914a8b335a5e05860@news.povray.org
>>
>>
>>>I am looking for a way to simulate lightning going from point A to B.
>>>Is it possible to do so using fractals? Or is there an easy script for
>>>making white lightning between points?
>>
>>I would suggest to make a spheresweep moving along a spline constructed
>>using macro from meany points to with turbulence movment is applyed.
>>
>>Also recursion might make it easy to add several smaller
> 
> lighting-branches.
> 
>>-- 
>>http://www.raf256.com/3d/
>>Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
>>Computer Graphics
> 
> 
> this came up from a google search:
>
http://news.povray.org/povray.text.scene-files/thread/%3C3aed8503%241%40news.povray.org%3E/?mtop=12
> 
> maybe it could be modified to connect to a certain end point.
> 
> Any searches through the web interface of the povray newsgroups for
> "lightning" only shows that people mispell "lighting" as "lightning" way too
> much to make "lightning" a useful search term.
> 
> so i give up. my two cents are, it seems lightning is more tree-like than
> spline-like so i'd go with a fractal-type method. Plus, if the lightning is
> way off in the distance, sphersweeps are unnecesarily slow. some combination
> of cylinders and cones with spheres connecting them would be faster.
> 
> 
> 
> 

I used some sdl posted by someone named
Ben Birdsey
I was sure I got it from either text.scenefiles or b.scenefiles
but I can not find it now.
It indeed  used a method of subdividing between the two points and 
replacing with random cylinder segments and again and again, fractal style
I used it to create this image:
http://tinyurl.com/4qx26

Unfortunately if the sdl I used still exists it is on my old laptop
which I can no longer get to boot.

Anyway it looked like a pretty easy technique for anyone who commonly 
writes recursive fracttal generating routines.  Just not easy for me.

Sorry I couldn't help more


Post a reply to this message

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