POV-Ray : Newsgroups : povray.binaries.images : df3 creation revisited ... Server Time
7 Aug 2024 11:20:59 EDT (-0400)
  df3 creation revisited ... (Message 2 to 11 of 21)  
<<< Previous 1 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: LightBeam
Subject: Re: df3 creation revisited ...
Date: 26 May 2006 14:53:30
Message: <44774eaa$1@news.povray.org>
David El Tom wrote...
  > generation of the ascii density file (90x30x60 = 162000 voxels) : 10s
> conversion to binary df3 : < 1s
> 
> comments, critics and suggestions for improvment are welcome (as ever)
> 
> ... dave

Really nice, but what about rendering time ?


Post a reply to this message

From: David El Tom
Subject: Re: df3 creation revisited ...
Date: 26 May 2006 15:11:31
Message: <447752e3$1@news.povray.org>
LightBeam schrieb:
> David El Tom wrote...
>  > generation of the ascii density file (90x30x60 = 162000 voxels) : 10s
>> conversion to binary df3 : < 1s
>>
>> comments, critics and suggestions for improvment are welcome (as ever)
>>
>> ... dave
> 
> Really nice, but what about rendering time ?


Gilles Tran gives a very good comparision between diffrent methods when
it comes to render clouds.

http://www.oyonale.com/ressources/english/sources13.htm

for this one it was appr. 10min with AA and high media-sample settings
(30,100)

... dave


Post a reply to this message

From: Jaap
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 08:15:01
Message: <web.44784205f5631975a8399d8d0@news.povray.org>
David El Tom <dav### [at] t-onlinede> wrote:
> Gilles Tran gives a very good comparision between diffrent methods when
> it comes to render clouds.
> http://www.oyonale.com/ressources/english/sources13.htm

yes very good. I even sucessfully used it in animations.

But the real problem with this method is that you reach the 255 raytrace
limit very soon when one cloud is in front of another.
Would it be possible to hack povray to accept trace levels of >255 ? or at
least not make the pixel black when it reaches the maximum trace level?


Post a reply to this message


Attachments:
Download 'sky_red_cloud.png' (374 KB)

Preview of image 'sky_red_cloud.png'
sky_red_cloud.png


 

From: David El Tom
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 09:08:08
Message: <44784f38@news.povray.org>
Jaap schrieb:
> 
> yes very good. I even sucessfully used it in animations.
> 
> But the real problem with this method is that you reach the 255 raytrace
> limit very soon when one cloud is in front of another.
> Would it be possible to hack povray to accept trace levels of >255 ? or at
> least not make the pixel black when it reaches the maximum trace level?
> 
> 
> ------------------------------------------------------------------------
> 

if you want to use this approach to get a dense cloud cover there are
some drawbacks. You have to make sure that the containers of the cloud
do not overlap -> this will probably give some strange artefacts.

concerning your questions:
it would be quite tedious to modify the source code and tracing all the
dependencies throughout all the files.
Is there an example of a scene showing those black dots?
And which media settings do you use?
Are you aware, that the docs contain an error in the media section?

DEFAULTS

docs		correct
----		-------
intervals 10	intervals 1
samples 1,1	samples 10,10

I'm not really sure but I always thought intervals spwans a new trace
for each interval.

So try keeping the intervals low and instead raise the samples.

....dave


Post a reply to this message

From: Jaap
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 10:00:01
Message: <web.44785a8cf5631975a8399d8d0@news.povray.org>
David El Tom <dav### [at] t-onlinede> wrote:
> concerning your questions:
> it would be quite tedious to modify the source code and tracing all the
> dependencies throughout all the files.
ok.

> Is there an example of a scene showing those black dots?
found one. (attached)

> And which media settings do you use?
> Are you aware, that the docs contain an error in the media section?

I used:
      media{
        scattering{1,GammaColor(C_Sun,0.3)*0.0003*0.75}
        absorption (1-C_SkyBlue_05)*0.001*0.6
        intervals 1 // (or 2)
        density{
          density_file df3 "include/cloud1.df3"
          interpolate 1
        }
      }
I think the problem is with the ~90 layers in the cloud. If you look at the
cloud at an angle it will be 180 layers? I can overlap a small corner of
clouds without running into problems, but it will if two clouds overlap
more than that.

by the way, the clouds look really nice if you fly along them in an
animation!


Post a reply to this message


Attachments:
Download 'water_test_1.png' (403 KB)

Preview of image 'water_test_1.png'
water_test_1.png


 

From: Jaap
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 10:05:01
Message: <web.44785b6af5631975a8399d8d0@news.povray.org>
also, viewing the clouds exactly along the x,y or z axes does not work.
(I renders them like this to manually adjust the bounding box of the media)


Post a reply to this message


Attachments:
Download 'showcloud_1.png' (80 KB)

Preview of image 'showcloud_1.png'
showcloud_1.png


 

From: Jaap
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 10:35:00
Message: <web.44786354f5631975a8399d8d0@news.povray.org>
"Jaap" <jws### [at] yahoocom> wrote:
> David El Tom <dav### [at] t-onlinede> wrote:
> > Is there an example of a scene showing those black dots?
> found one. (attached)

It's the first few frames of this animation:  (8MB on a slow server)
http://jwstolk.xs4all.nl/wisse/f4animation_test10.mpg

For the reaming frames I disabled most of the clouds.

Note that the problem is not caused by overlapping cloud bounding boxes in
3D, that would be easy to avoid. The problem is when two clouds overlap in
the rendered (2D) image.

of course using less layers for each cloud would allow for some clouds to
overlap, but that makes the clouds look less good.


Post a reply to this message

From: David El Tom
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 12:56:32
Message: <447884c0@news.povray.org>
Jaap schrieb:
> also, viewing the clouds exactly along the x,y or z axes does not work.
> (I renders them like this to manually adjust the bounding box of the media)
> 
> 
> ------------------------------------------------------------------------
> 

the rectangular shapes looks more like an coincident surface problem
then a max_trace_level problem.

I will check the problem concerning the viewing angle.
Have to check if it's a inherent problem of the density file or it is a
problem of the macro or the script.

I wonder what you mean with layers as the density file compared to a
desity function is like an image_map compared to a procedural texture.

b.t.w really nice animation

... dave


Post a reply to this message

From: Jaap
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 13:15:00
Message: <web.447888a3f5631975a8399d8d0@news.povray.org>
David El Tom <dav### [at] t-onlinede> wrote:
> the rectangular shapes looks more like an coincident surface problem
> then a max_trace_level problem.
I made sure that the clouds do not overlap in 3D, so unless it's within a
cloud it can't be a coincident surface problem. I think rectangular shapes
make sence if you run out of trace levels becouse another "patch" of cloud
is added.

Gilles decribes them as "vertical lines"


Post a reply to this message

From: Jaap
Subject: Re: df3 creation revisited ...
Date: 27 May 2006 14:30:00
Message: <web.447899baf5631975a8399d8d0@news.povray.org>
David El Tom <dav### [at] t-onlinede> wrote:
> I will check the problem concerning the viewing angle.
> Have to check if it's a inherent problem of the density file or it is a
> problem of the macro or the script.
Just note that I used Gilles Tran make cloud code, not your code.
I don't think the problem with the perpendicular view is very important, I'm
probably the only one dat rendered a cloud along one of the axes, using a
parallel camera, and I just did it to measure the size of the cloud.

> b.t.w really nice animation
tank you. did you see the final render/edit I just posted in
povray.binary.animations ?


Post a reply to this message

<<< Previous 1 Messages Goto Latest 10 Messages Next 10 Messages >>>

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