POV-Ray : Newsgroups : povray.animations : View from an airplane -2- : Re: View from an airplane -2- Server Time
28 Jul 2024 10:14:28 EDT (-0400)
  Re: View from an airplane -2-  
From: Bob H 
Date: 4 Jun 2001 13:46:56
Message: <3b1bc990$1@news.povray.org>
"jansb000" <jan### [at] wxsnl> 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

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