POV-Ray : Newsgroups : povray.newusers : lightning Server Time
5 Nov 2024 03:17:28 EST (-0500)
  lightning (Message 1 to 2 of 2)  
From: Dick Keuneke
Subject: lightning
Date: 13 Aug 2002 20:59:42
Message: <3d59ab7e@news.povray.org>
Hi,
I'm looking for a way to create lightning for an animation I am creating.

What I want is to have the fork-type lightning near the main object of the
scene.  The lightning frame will be interpolated between the animation
frames to cause it to appear to "flash".
I have managed to create a fair depiction (below) using a sphere and
color_map but would like one with a more branched or forked look.

sphere { <0, -25, 0>, 31
   inverse
   pigment {
      marble
      turbulence 2.9
      colour_map {
        [0.0, 0.95   color Clear  color Clear]
        [0.95, 0.975   color Clear  color Clear]
        [0.975, 1.001 color Yellow  color White]
      }
      scale 325
   }
   finish {
      ambient 1
      diffuse 0
   }
}

Any ideas how I might accomplish that?

Thanks in advance.

dicdoc


Post a reply to this message

From: hughes b
Subject: Re: lightning
Date: 14 Aug 2002 02:27:04
Message: <3d59f838@news.povray.org>
"Dick Keuneke" <dic### [at] quixnetnet> wrote in message
news:3d59ab7e@news.povray.org...
> I'm looking for a way to create lightning for an animation I am creating.

Firstly, I admire people who try to create something already done before.
However I must say that going about this with texture patterns can be pretty
tough to get right, and also difficult to control. Unless you happen to be
great at that sort of thing.

Trying to think of the name of a person who wrote a include file for
lightning bolts made up of cylinders and/or cones.... Jeff Brickley I think
was his name... 'net seaching here...

http://www.geocities.com/SiliconValley/Pines/3210/

Luckily that link to the lightning does still exist, looks like his web page
is aging like all of mine have. It might need a little syntax conversion
from 3.0 to 3.1 or 3.5 but it did animate IIRC. I had modified his work to
be 3.1 compatible, along with 3D bolts. That meaning, before making changes
it uses halo not media and is confined to a plane (I think so, last I knew
of). I put a link to that at a practically defunct web page
http://members.aol.com/xyzunknown/linker.htm
Bear in mind that Jeffry's include file is original stuff and what I changed
in it could have troubles, been a long time since I used it myself just so
you know.


Post a reply to this message

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