|
![](/i/fill.gif) |
"jansb000" <jan### [at] wxs nl> wrote in message
news:3b1b5d2d$1@news.povray.org...
>
> I would like to add some realistic clouds and ... thunder. Any ideas how
> this can be done? The thunder does not have te be visible directly. Just
the
> illumination on the clouds. (I saw this in the movie 7 days, 7 nights).
Easy enough. Well, easy if you know media.
Place several light sources in and around the media clouds and set them to
flash randomly.
// WhereCloudsAre would be the confines of media container or therein.
#declare LightningPlace=rand(seed(123*clock))*WhereCloudsAre;
#declare Flash=rand(seed(321*clock));
#if (Flash<.5) #declare Flash=0; #end // limiter
light_source {LightningPlace,Flash}
There are some fine examples of media clouds in the newsgroups here,
povray.binaries.scene-files or the p.t.s-f.
You did ask for realism so media is about it for that. Then again you might
be able to use the textured layered plane or sphere method.
Bob H.
Post a reply to this message
|
![](/i/fill.gif) |