POV-Ray : Newsgroups : povray.newusers : Perturbing turbulence Server Time
26 Nov 2024 23:44:00 EST (-0500)
  Perturbing turbulence (Message 1 to 3 of 3)  
From: Aaron Plattner
Subject: Perturbing turbulence
Date: 18 Sep 2003 16:09:08
Message: <3f6a10e4$1@news.povray.org>
I'm trying to render some realistic cloud images in POV-Ray for use as
textures in an OpenGL program, and I made one that looks pretty good.  What
I'd like to do now is do something akin to changing the DNoise seed so I can
generate different clouds without making them any more or less turbulent.
How can I do that?

Thanks,
Aaron


Post a reply to this message

From: Mike Williams
Subject: Re: Perturbing turbulence
Date: 18 Sep 2003 19:28:46
Message: <CllcHDAA+ja$EwnD@econym.demon.co.uk>
Wasn't it Aaron Plattner who wrote:
>I'm trying to render some realistic cloud images in POV-Ray for use as
>textures in an OpenGL program, and I made one that looks pretty good.  What
>I'd like to do now is do something akin to changing the DNoise seed so I can
>generate different clouds without making them any more or less turbulent.
>How can I do that?

If you're talking about a cloud pigment on a two dimensional surface,
then just translate the pigment in the third dimension. For example in
this complete scene, replace the 123 by any other number.

#include "textures.inc"

plane {z,10 
 pigment {Bright_Blue_Sky translate z*123}
 finish {ambient 1}
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Aaron Plattner
Subject: Re: Perturbing turbulence
Date: 18 Sep 2003 23:28:36
Message: <3f6a77e4@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Williams wrote:
| Wasn't it Aaron Plattner who wrote:
|
|>I'm trying to render some realistic cloud images in POV-Ray for use as
|>textures in an OpenGL program, and I made one that looks pretty good.
  What
|>I'd like to do now is do something akin to changing the DNoise seed so
I can
|>generate different clouds without making them any more or less turbulent.
|>How can I do that?
|
|
| If you're talking about a cloud pigment on a two dimensional surface,
| then just translate the pigment in the third dimension. For example in
| this complete scene, replace the 123 by any other number.
|
| #include "textures.inc"
|
| plane {z,10
|  pigment {Bright_Blue_Sky translate z*123}
|  finish {ambient 1}
| }
|

Sorry, I meant media clouds using spherical density media with
turbulence.  I managed to get the effect I was looking for by
translating the media, applying the turbulence warp, and then
translating it back.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/alwL5lBcW90Nc7oRAnKAAKCXUZz8IcHHbZiiwwSiz014ItGNRACdFOWb
cctFzNujJNWNM3DZPrISanE=
=nIp3
-----END PGP SIGNATURE-----


Post a reply to this message

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