POV-Ray : Newsgroups : povray.binaries.images : Cloud with fill light Server Time
19 Apr 2024 11:10:04 EDT (-0400)
  Cloud with fill light (Message 11 to 20 of 20)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: And
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 00:45:01
Message: <web.5c5139d68da54bb2b65c28970@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:web.5c503bec8da54bb25536cfec0@news.povray.org And wrote:
>
> > I have to develop some method to generate the cloud shape (using
> > tolerance, pattern, etc) to output df3 files.
> >
>
> Hope this helps, I'm not good at clouds but it gives an idea
>
> ingo
>
> ---%<------%<------%<---
> #version 3.7;
> global_settings{ assumed_gamma 1.0 }
> #default{ finish{ ambient 0.1 diffuse 0.9 }}
> #include "arrays.inc"
> #include "functions.inc"
>
> #declare Pigm = pigment {
>   function{(f_granite(x*10,y*10,z*10))}
>   warp{
>     turbulence 0.6
>     octaves 10
>     omega 0.5
>     lambda 0.2
>   }
>   color_map {
>     [0.0 color rgb 0.0 ]
>     [1.0 color rgb 1.0 ]
>   }
>   scale 0.4
> };
>
> #declare Fluff = function{pigment{Pigm}};
>
> #declare Container = pigment {
>   function{f_spherical(x,y,z)}
>   warp{
>     turbulence 0.6
>     octaves 3
>     omega 0.7
>     lambda 0.8
>   }
>   scale 0.4
>   translate 0.5
> };
> #declare fn_Container=function{pigment{Container}};
>
> #declare Cloud = function{
>   Fluff(x,y,z).gray*fn_Container(x,y,z).gray
> }
>
>
> #declare ResX = 50;
> #declare ResY = 50;
> #declare ResZ = 50;
> #declare DF_arr = array[ResX][ResY][ResZ];
> #for(Z,0,1-1/ResZ,1/ResZ)
>   #for(Y,0,1-1/ResY,1/ResY)
>     #for(X,0,1-1/ResX,1/ResX)
>       #declare Value = eval_pigment(pigment{function{Cloud(x,y,z)}},
> <X,Y,Z>);
>       #declare DF_arr[X*ResX][Y*ResY][Z*ResZ] = Value.gray;
>     #end
>   #end
> #end
>
> ARRAYS_WriteDF3(DF_arr, "test.df3", 16)
>

Well, you use a combination of two pattern. I should think of a more complex
method.

Thank


Post a reply to this message

From: Thomas de Groot
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 02:31:22
Message: <5c5152ca$1@news.povray.org>
On 29-1-2019 17:14, jhu wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> On 29-1-2019 7:45, And wrote:
>>> I found that using fill light and some emission it is easy to simulate cloud.
>>>
>>>
>>
>> Welcome to the Cloud Club! ;-) Founding Fathers: Gilles Tran and Abe.
>>
>> You can also add a bit of absorption.
>>
>> --
>> Thomas
> 
> Did you forget the first rule of Cloud Club? Yo do not talk about Cloud Club!
> 

Ach! That will cost me a full hour under the cold hose pipe at the 
least! And in winter too!

So excited to welcome a new potential member that I forgot.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 02:43:23
Message: <5c51559b@news.povray.org>
On 29-1-2019 15:10, ingo wrote:
> in news:web.5c503bec8da54bb25536cfec0@news.povray.org And wrote:
> 
>> I have to develop some method to generate the cloud shape (using
>> tolerance, pattern, etc) to output df3 files.
>>
> 
> Hope this helps, I'm not good at clouds but it gives an idea
> 
> ingo
> 

The writing of the density to df3 opens a door to all kinds of 
experimentations. Thank you indeed; if I had not known how to fill my 
days I would have a purpose now. :-)

-- 
Thomas


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 03:41:12
Message: <5c516328$1@news.povray.org>
And wrote on 29/01/2019 07:52:
> Another high resolution version
> 
These clouds look promising!
Paolo


Post a reply to this message

From: Kenneth
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 09:30:01
Message: <web.5c51b4a28da54bb2cd98345b0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 29-1-2019 12:41, And wrote:
> > Thomas de Groot <tho### [at] degrootorg> wrote:

>
> Abe Madey's cloudscapes date back to 2006:
>
>
http://news.povray.org/povray.binaries.scene-files/thread/%3Cweb.4447da16ade663f78069ddd30@news.povray.org%3E/?ttop=2
43615&toff=50
>
> originally for Megapov but easily converted to the latest official versions.
>

Yes (although it initially gave me pause, because of the 'megapov' stuff-- until
I simply commented-out two lines...)

#version 3.7;  // or 3.71 or 3.8
global_settings{
 max_trace_level 100
// exposure 1 // in megapov?
// exposure_gain 1  // ditto
 assumed_gamma 1.0
}


Post a reply to this message

From: Kenneth
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 10:00:00
Message: <web.5c51ba1b8da54bb2cd98345b0@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:web.5c503bec8da54bb25536cfec0@news.povray.org And wrote:
>
> > I have to develop some method to generate the cloud shape (using
> > tolerance, pattern, etc) to output df3 files.
> >
>
> Hope this helps, I'm not good at clouds but it gives an idea
>
> ingo
>
> [code]

Searching through old newsgroup threads, I came upon something interesting re:
df3 files...

http://203.29.75.35/povray.general/thread/%3C40bfe2bc@news.povray.org%3E/?ttop=266599&toff=1850


........which includes a post from Christoph Hormann in 2004. Apparently, there
was an unofficial patched version of POV-Ray (3.5xx) that could create df3 files
*directly* from a pigment or pattern. He referenced this patch, from 2002...

https://staff.aist.go.jp/r-suzuki/e/povray/iso/df_body.htm

I guess this never made it into an official release. It would certainly save
time and coding effort (also, no pattern-to-.tga image slices to deal with in
order to 'build' a df3, AFAIU.)


Post a reply to this message

From: ingo
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 12:51:47
Message: <XnsA9E7BFE3AD892seed7@news.povray.org>
in news:web.5c51ba1b8da54bb2cd98345b0@news.povray.org Kenneth wrote:

> https://staff.aist.go.jp/r-suzuki/e/povray/iso/df_body.htm
> 

Mr. Suzuki did many nice things for isosurfaces, DF3 etc. I remember using 
that a quite a lot.

ingo


Post a reply to this message

From: jr
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 13:10:01
Message: <web.5c51e7518da54bb248892b50@news.povray.org>
hi,

"Kenneth" <kdw### [at] gmailcom> wrote:
> ... Apparently, there was an unofficial patched version of POV-Ray (3.5xx)
> that could create df3 files *directly* from a pigment or pattern.
> He referenced this patch, from 2002...
> https://staff.aist.go.jp/r-suzuki/e/povray/iso/df_body.htm
> I guess this never made it into an official release. It would certainly save
> time and coding effort

if you can lay your hands on the data, "df3util" will convert R Suzuki style
EDFD to DF3.  </shameless-plug>

> (also, no pattern-to-.tga image slices to deal with in order to 'build' a
> df3, AFAIU.)


regards, jr.


Post a reply to this message

From: Kenneth
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 17:05:01
Message: <web.5c521f098da54bb2cd98345b0@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

>
> Searching through old newsgroup threads, I came upon something interesting re:
> df3 files...
>
> http://203.29.75.35/ blah blah blah...

Wow, that link showed up really garbled in the newsgroups' web interface, and
quite useless.

Here's a better link to that thread...I hope...

http://news.povray.org/povray.general/thread/%3Ck8tvb0tcdj2r8c9q01qod0ii20cclvqe33%404ax.com%3E/


Post a reply to this message

From: And
Subject: Re: Cloud with fill light
Date: 30 Jan 2019 23:00:00
Message: <web.5c5271a78da54bb22d67b4480@news.povray.org>
@@


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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