 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
A challenge was given a week or two ago to
produce realistic lightning in povray. I thought I'd have
a go at it.
The pictures below are of a very preliminary version
of my lightning macro.
Comments? Criticisms? Suggestions?
Gail
--
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
Attachments:
Download 'lightning1.jpg' (10 KB)
Download 'lightning2.jpg' (8 KB)
Download 'lightning3.jpg' (8 KB)
Preview of image 'lightning1.jpg'

Preview of image 'lightning2.jpg'

Preview of image 'lightning3.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Gail Shaw wrote:
>
> A challenge was given a week or two ago to
> produce realistic lightning in povray. I thought I'd have
> a go at it.
>
> The pictures below are of a very preliminary version
> of my lightning macro.
>
> Comments? Criticisms? Suggestions?
>
Sure :-)
-The shape looks good, but the decrease in width is too strong IMO (in many
cases, the width/brightness of a lightning stays quite constant during the path)
-It would be good to have the color fading from white to black/darkblue at the
edges. (you seem to use objects for the lightning, so this is probbaly not that
easy)
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> -It would be good to have the color fading from white to black/darkblue at
the
> edges. (you seem to use objects for the lightning, so this is probbaly not
that
> easy)
Yes it is, with the blob pattern.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Looks fine to me.
Rick
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> -It would be good to have the color fading from white to black/darkblue at the
> edges. (you seem to use objects for the lightning, so this is probbaly not that
> easy)
Actually I did this for my (well, not only my) IRTC-entry for History.
I just filled the object with a constant media with a very light blue.
At the edges, where there is less media to look through, it looks more
blue than inside the object (which is white because very light blue +
very light blue = white, well, in povray anyway :-)
ZK
http://www.povplace.be.tf
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Christoph Hormann" <Chr### [at] schunter etc tu-bs de> wrote in
message news:39B8D89E.A28789A8@schunter.etc.tu-bs.de...
|
| -The shape looks good, but the decrease in width is too strong IMO (in
many
| cases, the width/brightness of a lightning stays quite constant during the
path)
| -It would be good to have the color fading from white to black/darkblue at
the
| edges. (you seem to use objects for the lightning, so this is probbaly not
that
| easy)
I concur. This would do well for cloud to cloud lightning but in the case
of cloud to ground it should probably have a near constant main bolt. If a
large diffuse and lower ambient is used the edges will fade but since that's
light source dependant that could not work right. Transparency could be
used along with a strong highlight but once again is too dependant on
external light.
Tony's idea to use media is possibly the best answer I can think of too.
Bob
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Looks promising! Can you make it hit (as well as originate from) a
specific point?
Abe
Gail Shaw wrote:
>
> A challenge was given a week or two ago to
> produce realistic lightning in povray. I thought I'd have
> a go at it.
>
> The pictures below are of a very preliminary version
> of my lightning macro.
>
> Comments? Criticisms? Suggestions?
>
> Gail
> --
> ********************************************************************
> * gsh### [at] monotix co za * System.dat not found. *
> * http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
> ********************************************************************
> * If at first you don't succeed, call it version 1.0 *
> ********************************************************************
>
> [Image]
>
> [Image]
>
> [Image]
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
The general appearance looks very good to me. Just curious - does your
lightning emit light? I tried adding media to a bolt of lightning to get the
halo effect, but it didn't light up anything around it. (Plus, it looked
like crap.) Maybe adding some bluish-colored fade_power light sources along
the length of the bolt would do the trick, in order to light up the clouds
that the lightning is coming from...
Dave
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Well done, Gail! :)
Grim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
How about combining this with the new Glow light in MegaPov+ ?
Gail Shaw wrote:
> A challenge was given a week or two ago to
> produce realistic lightning in povray. I thought I'd have
> a go at it.
>
> The pictures below are of a very preliminary version
> of my lightning macro.
>
> Comments? Criticisms? Suggestions?
>
> Gail
> --
> ********************************************************************
> * gsh### [at] monotix co za * System.dat not found. *
> * http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
> ********************************************************************
> * If at first you don't succeed, call it version 1.0 *
> ********************************************************************
>
> [Image]
>
> [Image]
>
> [Image]
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <39BB49BC.CB7DE99E@home.com>, Thomas Lake <tla### [at] home com>
wrote:
> How about combining this with the new Glow light in MegaPov+ ?
No lights, mostly default radiosity settings, my own macro:
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
Attachments:
Download 'Lightning.jpg' (20 KB)
Download 'Lightning2.jpg' (14 KB)
Preview of image 'Lightning.jpg'

Preview of image 'Lightning2.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sun, 10 Sep 2000 12:59:12 -0500, Chris Huff wrote...
> In article <39BB49BC.CB7DE99E@home.com>, Thomas Lake <tla### [at] home com>
> wrote:
>
> > How about combining this with the new Glow light in MegaPov+ ?
>
> No lights, mostly default radiosity settings, my own macro:
Pretty...
I think I'm going to have to start playing more seriously with radiosity,
especially in conjunction with glows.
Bye for now,
Jamie.
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Fabien Mosen
Subject: Re: Lightning (3 pics 30kbu) - attached files (1/1)
Date: 10 Sep 2000 17:06:55
Message: <39BBF6B6.3B88C22C@skynet.be>
|
|
 |
|  |
|  |
|
 |
Chris Huff wrote:
> No lights, mostly default radiosity settings, my own macro:
It gets more and more interesting every day !
I was wondering : would it be possible to implement other (simple)
shapes than sphere ? I'm thinking of the ability to use cylindrical
glows for neon lights, or boxed glows for box lights...
Fabien.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Christoph Hormann <Chr### [at] schunter etc tu-bs de> wrote in message
news:39B8D89E.A28789A8@schunter.etc.tu-bs.de...
>
>
>
> Sure :-)
>
> -The shape looks good, but the decrease in width is too strong IMO (in
many
> cases, the width/brightness of a lightning stays quite constant during the
path)
the macro takes as a parameter the percentage width of the next section.
I've been
using 97%, but higher would probably be better.
> -It would be good to have the color fading from white to black/darkblue at
the
> edges. (you seem to use objects for the lightning, so this is probbaly not
that
> easy)
The texture is applies before rotation of the sections of the lightning.
Therefore
an onion (??) pattern can be applied. I plan to change the texture to a
material
so that media can be used.
> Christoph
>
Gail
--
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Abe <bul### [at] taconic net> wrote in message
news:39B94917.CA2E49CC@taconic.net...
> Looks promising! Can you make it hit (as well as originate from) a
> specific point?
>
> Abe
>
not at the moment. I thought of doing that, but couldn't work out a way
to keep the random nature of the bolt while making it hit a specific
spot. If I come up with a usable idea, I'll implement it.
Gail
--
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Dave Blandston <gra### [at] earthlink net> wrote in message
news:39b9a95b@news.povray.org...
> The general appearance looks very good to me. Just curious - does your
> lightning emit light? I tried adding media to a bolt of lightning to get
the
> halo effect, but it didn't light up anything around it. (Plus, it looked
> like crap.) Maybe adding some bluish-colored fade_power light sources
along
> the length of the bolt would do the trick, in order to light up the clouds
> that the lightning is coming from...
>
No light at the moment. I'll add that as an option.
Gail
--
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Gail Shaw
Subject: Re: Lightning (3 pics 30kbu) - attached files (1/1)
Date: 11 Sep 2000 04:58:19
Message: <39bc9eab@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Chris Huff <chr### [at] mac com> wrote in message
news:chrishuff-3D13C6.12591210092000@news.povray.org...
> In article <39BB49BC.CB7DE99E@home.com>, Thomas Lake <tla### [at] home com>
> wrote:
>
> > How about combining this with the new Glow light in MegaPov+ ?
>
> No lights, mostly default radiosity settings, my own macro:
>
OOOOhh!!!! Nice!! Source??
I'll think about adding glows to my lighting.
Gail
--
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Gail Shaw
Subject: Re: Lightning (3 pics 30kbu) - attached files (1/1)
Date: 12 Sep 2000 08:13:29
Message: <39be1de9@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Chris Huff <chr### [at] mac com> wrote in message news:chrishuff->
> It will be in the next version of the demo scenes. If you don't want to
> wait, I could post it now.
>
I'll be patient.
Thanks
Gail
--
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |