POV-Ray : Newsgroups : povray.general : Clouds in POV-Ray Server Time
11 Oct 2026 23:26:47 EDT (-0400)
  Clouds in POV-Ray (Message 1 to 18 of 18)  
From: David Buck
Subject: Clouds in POV-Ray
Date: 4 Feb 2008 11:41:48
Message: <47a7404c$1@news.povray.org>
One question that will likely come up in the FLOSS interview on 
Wednesday is how POV-Ray renders clouds. I have an answer from when I 
used to write cloud textures years ago - procedural textures with shades 
of gray and transparency and a gradient sphere.

Is there a better more modern way to create spectacular clouds?  Many of 
the clouds I'm seeing seem to go beyond the simple texturing technique I 
used to use.

Thanks
David Buck


Post a reply to this message

From: Alain
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 11:47:52
Message: <47a741b8@news.povray.org>
David Buck nous apporta ses lumieres en ce 2008/02/04 11:41:
> One question that will likely come up in the FLOSS interview on 
> Wednesday is how POV-Ray renders clouds. I have an answer from when I 
> used to write cloud textures years ago - procedural textures with shades 
> of gray and transparency and a gradient sphere.
> 
> Is there a better more modern way to create spectacular clouds?  Many of 
> the clouds I'm seeing seem to go beyond the simple texturing technique I 
> used to use.
> 
> Thanks
> David Buck
Volumetric clouds using scattering media.

-- 
Alain
-------------------------------------------------
Lutheran: If shit happens, don't talk about it.


Post a reply to this message

From: nemesis
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 12:10:00
Message: <web.47a745ecbaeb603dfba9d8b70@news.povray.org>
one simpler and cost-effective way to render better clouds than simple textures
is the so-called stacked sky technique as employed by Jaime Vives Piqueres:

http://www.ignorancia.org/en/index.php?page=Stacked_Planes

not as impressive as true scattering media clouds, but insanely faster!  And
much better looking than just single texture.


Post a reply to this message

From: Hymyly
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 12:15:01
Message: <web.47a746bebaeb603d63108fea0@news.povray.org>
David Buck skribis:
> Is there a better more modern way to create spectacular clouds?  Many of
> the clouds I'm seeing seem to go beyond the simple texturing technique I
> used to use.

Project Tierra, an automated landscape generation macro by Jaime Vives Piqueres
has the most beautiful clouds I've ever seen in POV-ray. It contains macros for
both cumulus and cirrus clouds, and the basic technique for creating one cloud
is this (if I read the code correctly).

1. Creating a union of spheres randomly jittered about a central point.
2. Using this union object as a pigment function. (Inside = 1, outside = 0)
3. Adding some turbulence for fluffiness.
4. Using the resulting function as a density function for a scattering medium.

See for yourself at:

http://www.ignorancia.org/en/index.php?page=Project_Tierra

Personally, I like this macro so much I want to have sex with it.

Hymyly.
And there was light.


Post a reply to this message

From: nemesis
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 12:35:01
Message: <web.47a74babbaeb603dfba9d8b70@news.povray.org>
"Hymyly" <chr### [at] hotmailcom> wrote:
> Personally, I like this macro so much I want to have sex with it.

whoa!  You sure know this guy has been raytracing too long! :D


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 13:20:44
Message: <47a7577c$1@news.povray.org>
"David Buck" <dav### [at] simberoncom> wrote in message 
news:47a7404c$1@news.povray.org...
> One question that will likely come up in the FLOSS interview on Wednesday 
> is how POV-Ray renders clouds. I have an answer from when I used to write 
> cloud textures years ago - procedural textures with shades of gray and 
> transparency and a gradient sphere.
>
> Is there a better more modern way to create spectacular clouds?  Many of 
> the clouds I'm seeing seem to go beyond the simple texturing technique I 
> used to use.

I tend to use my own fastclouds macro, which uses a texturing technique that 
is slightly more complicated than the with povray included cloud-textures.

some examples:
http://www.povplace.com/gallery/Experiments/newfastclouds.jpg
http://www.povplace.com/gallery/Experiments/flares_test1.jpg

It's not as goodlooking, or as flexible as volumetric clouds, even stacked 
planes look better (or stacked spheres, as I used here: 
http://www.povplace.com/gallery/IRTC/zee.jpg ), but it renders a LOT faster 
:)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: nemesis
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 13:45:01
Message: <web.47a75ce6baeb603dfba9d8b70@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote:
> http://www.povplace.com/gallery/IRTC/zee.jpg ), but it renders a LOT faster

oh!  I've seen this scene before... very good looking... stacked spheres?!


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 13:48:27
Message: <47a75dfb$1@news.povray.org>
nemesis escribió:
> stacked spheres?!

Concentric, I guess.


Post a reply to this message

From: Warp
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 13:53:53
Message: <47a75f41@news.povray.org>
David Buck <dav### [at] simberoncom> wrote:
> Is there a better more modern way to create spectacular clouds?

  Everyone mentions volumetric clouds, but nobody gives an example,
so here's one:

http://www.oyonale.com/image.php?lang=en&mode=info&code=432&section=2003

-- 
                                                          - Warp


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Clouds in POV-Ray
Date: 4 Feb 2008 14:02:58
Message: <47a76162$1@news.povray.org>
"Nicolas Alvarez" <nic### [at] gmailisthebestcom> wrote in message 
news:47a75dfb$1@news.povray.org...
> nemesis escribió:
>> stacked spheres?!
>
> Concentric, I guess.

yep, that's what I meant :)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: Gilles Tran
Subject: Re: Clouds in POV-Ray
Date: 5 Feb 2008 04:08:21
Message: <47a82785$1@news.povray.org>
"David Buck" <dav### [at] simberoncom> a écrit dans le message de news: 
47a7404c$1@news.povray.org...
> One question that will likely come up in the FLOSS interview on Wednesday 
> is how POV-Ray renders clouds. I have an answer from when I used to write 
> cloud textures years ago - procedural textures with shades of gray and 
> transparency and a gradient sphere.
>
> Is there a better more modern way to create spectacular clouds?  Many of 
> the clouds I'm seeing seem to go beyond the simple texturing technique I 
> used to use.

Here's my (now old) MakeCloud macro based on media and density file formats.
http://www.oyonale.com/modeles.php?lang=en&page=36
There have been other implementations of this idea.

In the FLOSS world, POV-Ray's DF3-based volumetric clouds are certainly the 
best combination of realism and speed. The good folks from Blender are 
looking at this too for the upcoming Peach movie.
http://peach.blender.org/index.php/we-want-volumetric-clouds-in-blender/


G.


-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Rarius
Subject: Re: Clouds in POV-Ray
Date: 5 Feb 2008 06:03:23
Message: <47a8427b@news.povray.org>
That doesn't count... Thats a photograph!!!!! ;-)

Rarius

"Warp" <war### [at] tagpovrayorg> wrote in message 
news:47a75f41@news.povray.org...
> David Buck <dav### [at] simberoncom> wrote:
>> Is there a better more modern way to create spectacular clouds?
>
>  Everyone mentions volumetric clouds, but nobody gives an example,
> so here's one:
>
> http://www.oyonale.com/image.php?lang=en&mode=info&code=432&section=2003
>
> -- 
>                                                          - Warp


Post a reply to this message

From: Jan Dvorak
Subject: Re: Clouds in POV-Ray
Date: 5 Feb 2008 06:31:52
Message: <47a84928$1@news.povray.org>
Rarius napsal(a):
> That doesn't count... Thats a photograph!!!!! ;-)
> snip <

yeah, but a fake one


Post a reply to this message

From: nemesis
Subject: Re: Clouds in POV-Ray
Date: 5 Feb 2008 09:45:00
Message: <web.47a87619baeb603df6bd64af0@news.povray.org>
"Gilles Tran" <gitran_nospam_@wanadoo.fr> wrote:
> http://peach.blender.org/index.php/we-want-volumetric-clouds-in-blender/

hey, from that page I`ve come to this paper:
http://graphics.stanford.edu/papers/vortex_particle-sig05/
very nice!

But probably more interesting is the way M$ Flight Simulator 2004 did it in real
time:
http://ofb.net/~niniane/clouds/

friggin' good enough to me!


Post a reply to this message

From: Sven Littkowski
Subject: Re: Clouds in POV-Ray
Date: 5 Feb 2008 10:28:41
Message: <47a880a9$1@news.povray.org>
Well, Hymyly,

you know how it is with these POV macros: some things you can adjust, but 
not everything. The sex with the cloud macro will be a bit boring, I can 
tell you - you can't do the certain, more exciting techniques, you just can 
follow the given parameters...

Sven



"Hymyly" <chr### [at] hotmailcom> schrieb im Newsbeitrag 
news:web.47a746bebaeb603d63108fea0@news.povray.org...
> David Buck skribis:
>> Is there a better more modern way to create spectacular clouds?  Many of
>> the clouds I'm seeing seem to go beyond the simple texturing technique I
>> used to use.
>
> Project Tierra, an automated landscape generation macro by Jaime Vives 
> Piqueres
> has the most beautiful clouds I've ever seen in POV-ray. It contains 
> macros for
> both cumulus and cirrus clouds, and the basic technique for creating one 
> cloud
> is this (if I read the code correctly).
>
> 1. Creating a union of spheres randomly jittered about a central point.
> 2. Using this union object as a pigment function. (Inside = 1, outside = 
> 0)
> 3. Adding some turbulence for fluffiness.
> 4. Using the resulting function as a density function for a scattering 
> medium.
>
> See for yourself at:
>
> http://www.ignorancia.org/en/index.php?page=Project_Tierra
>
> Personally, I like this macro so much I want to have sex with it.
>
> Hymyly.
> And there was light.
>
>
>


Post a reply to this message

From: SharkD
Subject: Re: Clouds in POV-Ray
Date: 6 Feb 2008 01:55:00
Message: <web.47a95943baeb603d6ad9b9dc0@news.povray.org>
"Hymyly" <chr### [at] hotmailcom> wrote:
> See for yourself at:
>
> http://www.ignorancia.org/en/index.php?page=Project_Tierra
>
> Personally, I like this macro so much I want to have sex with it.
>
> Hymyly.
> And there was light.

I'm curious about Project Tierra. Does it only create flattish surfaces, or can
the terrain be wrapped around a sphere?

Mike


Post a reply to this message

From: Thomas de Groot
Subject: Re: Clouds in POV-Ray
Date: 7 Feb 2008 08:16:36
Message: <47ab04b4@news.povray.org>
I use your macro quite often indeed!!! I might have forgotten it sometimes, 
but I think I have almost always acknowledged you for that part of my scenes 
:-)

Thomas


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Clouds in POV-Ray
Date: 7 Feb 2008 09:15:01
Message: <47ab1265@news.povray.org>
SharkD escribió:
> I'm curious about Project Tierra. Does it only create flattish surfaces, or can
> the terrain be wrapped around a sphere?

It is an isosurface, so it could be changed to a sphere. In fact, I was 
tempted to do so, but finally settled for a plane for simplicity, as all I 
wanted was landscapes, not entire worlds.

--
Jaime


Post a reply to this message

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