POV-Ray : Newsgroups : povray.binaries.images : ink diffusion rendering for suggestions. Server Time
31 Jul 2024 16:20:16 EDT (-0400)
  ink diffusion rendering for suggestions. (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: scott
Subject: Re: ink diffusion rendering for suggestions.
Date: 16 Oct 2009 11:00:39
Message: <4ad88a97@news.povray.org>
> I am wondering if somebody can give me some suggestions on this or some 
> other
> media parameter examples and resources.

I had a bit of a tinker with your code, and looked at those videos you 
posted.

IMO the ink in those videos is a little unrealistic, as the under side of 
the ink is too dark (it would be getting lit from the plane below the tank). 
Or maybe I just can't figure out how to copy that effect in POV :-)

Anyway, I'm no expert, but the adjusted media block I came up is below.  I 
also turned off photons and made the light a bit brighter.  (For test 
renders you can reduce "samples" to 5 or so to speed up rendering)

Basically I got rid of the emission, and cranked up the scattering and 
absorption.  I think it certainly looks more "3D" than before.


media {
                absorption 60*<1, 1, 1>
                intervals 1
                samples 20
                method 3
                scattering{ 4,<0.2,0.2,0.8>*50 }


                density{  density_file df3 densFileName
                              interpolate 2
                              scale <1,2,1>
                              translate <-0.5, -1.5, -0.5>
                    color_map {

                    [0.00 rgb 0.0] // density at the border of the media
                    [0.05 rgb 0.2]
                    [1.00 rgb 1.0] // densitiy at the center of the media*/
                               }

                             }
                   }


Post a reply to this message


Attachments:
Download 'phot_met_glass.jpg' (43 KB)

Preview of image 'phot_met_glass.jpg'
phot_met_glass.jpg


 

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 16 Oct 2009 13:20:01
Message: <web.4ad8aadcedf569a01524ae1d0@news.povray.org>
Hi, Scott,

Thank you very much for your help.

The results are indeed much better. However, i think it is some thick and gloom,
not so bright and wispy. I think the density_map need to be adjusted.

I am sorry for the vague expression since it is really hard to express my
thought very accurately. I am not a native English speaker.

I upload two new data files with higher resolution. They are much bigger, and I
have to upload them one by one. The usage of these data file is the same of the
previous ones.

There is some artifacts in the 2.30 mesh file, just ignore them.

And also, I upload two images from the two new data files and the previous pov
file expect  the samples modified to 20.  With the higher resolution data file,
the results seems better, while not good enough.

I am still learning and  working hard to improve the rendering.  Any suggestions
and help will be very appreciated.

Thank you very much.

Regards,
Paean


"scott" <sco### [at] scottcom> wrote:
> > I am wondering if somebody can give me some suggestions on this or some
> > other
> > media parameter examples and resources.
>
> I had a bit of a tinker with your code, and looked at those videos you
> posted.
>
> IMO the ink in those videos is a little unrealistic, as the under side of
> the ink is too dark (it would be getting lit from the plane below the tank).
> Or maybe I just can't figure out how to copy that effect in POV :-)
>
> Anyway, I'm no expert, but the adjusted media block I came up is below.  I
> also turned off photons and made the light a bit brighter.  (For test
> renders you can reduce "samples" to 5 or so to speed up rendering)
>
> Basically I got rid of the emission, and cranked up the scattering and
> absorption.  I think it certainly looks more "3D" than before.
>
>
> media {
>                 absorption 60*<1, 1, 1>
>                 intervals 1
>                 samples 20
>                 method 3
>                 scattering{ 4,<0.2,0.2,0.8>*50 }
>
>
>                 density{  density_file df3 densFileName
>                               interpolate 2
>                               scale <1,2,1>
>                               translate <-0.5, -1.5, -0.5>
>                     color_map {
>
>                     [0.00 rgb 0.0] // density at the border of the media
>                     [0.05 rgb 0.2]
>                     [1.00 rgb 1.0] // densitiy at the center of the media*/
>                                }
>
>                              }
>                    }


Post a reply to this message


Attachments:
Download 'drops_2.76.png' (223 KB)

Preview of image 'drops_2.76.png'
drops_2.76.png


 

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 16 Oct 2009 13:20:05
Message: <web.4ad8ab13edf569a01524ae1d0@news.povray.org>
2.76 mesh file


Post a reply to this message


Attachments:
Download 'watermesh-2.76.pov.gz' (3784 KB)

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 16 Oct 2009 13:25:05
Message: <web.4ad8ab47edf569a01524ae1d0@news.povray.org>
2.76 df3 file


Post a reply to this message


Attachments:
Download 'tracer-2.76.df3.gz' (3565 KB)

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 16 Oct 2009 13:25:06
Message: <web.4ad8ab6bedf569a01524ae1d0@news.povray.org>
2.30 image file


Post a reply to this message


Attachments:
Download 'drops_2.30.png' (216 KB)

Preview of image 'drops_2.30.png'
drops_2.30.png


 

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 16 Oct 2009 13:25:10
Message: <web.4ad8ab97edf569a01524ae1d0@news.povray.org>
2.30 mesh file


Post a reply to this message


Attachments:
Download 'watermesh-2.30.pov.gz' (3849 KB)

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 16 Oct 2009 13:25:14
Message: <web.4ad8abc7edf569a01524ae1d0@news.povray.org>
2.30 df3 file


Post a reply to this message


Attachments:
Download 'tracer-2.30.df3.gz' (3111 KB)

From: Christian Froeschlin
Subject: Re: ink diffusion rendering for suggestions.
Date: 17 Oct 2009 07:25:58
Message: <4ad9a9c6@news.povray.org>
Paean wrote:

> And also, I upload two images from the two new data files and the previous pov
> file expect  the samples modified to 20.  With the higher resolution data file,
> the results seems better, while not good enough.

A higher resolution df3 should help, but for tuning the media
rendering right placing it in a simple water box should be fine and
much less overhead on rendering (and bandwidth) than using a mesh.


Post a reply to this message

From: clipka
Subject: Re: ink diffusion rendering for suggestions.
Date: 17 Oct 2009 11:06:30
Message: <4ad9dd76$1@news.povray.org>
Paean schrieb:

> I upload two new data files with higher resolution. They are much bigger, and I
> have to upload them one by one. The usage of these data file is the same of the
> previous ones.

I think this one looks just about perfect!


Post a reply to this message

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 18 Oct 2009 04:40:00
Message: <web.4adad3f5edf569a01524ae1d0@news.povray.org>
"Paean" <Pae### [at] gmailcom> wrote:
A new result.
Only absorbing media is used.

      interior {
        ior 1.33
        media {
            absorption 1
//            emission rgb<0, 0, 1.1>
            intervals 1
            samples 200
//            samples 50
//            samples 5

            density
               { density_file df3 densFileName interpolate 2 scale <1, 2, 1>
translate < -0.5, -1.5, -0.5>
                 density_map
                       {   [ 0  rgb <1, 1, 0>*0]
                           [ 0.01 rgb< 1, 1, 0>*0]
                           [0.01 rgb <1, 1, 0>*1]
                           [0.05 rgb <1, 1, 0>*6]
                           [0.4 rgb <1, 1, 0>*20]
                           [0.5 rgb <1, 1, 0>*40]
                           [0.6 rgb <1, 1, 0>*50]
                           [ 1  rgb <1, 1, 1>*90]
                        }
                }
              }

      }


Any suggestions or help will be appreciated.

Regards,
Paean
    }


Post a reply to this message


Attachments:
Download 'drops136.png' (168 KB)

Preview of image 'drops136.png'
drops136.png


 

<<< Previous 6 Messages Goto Initial 10 Messages

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