POV-Ray : Newsgroups : povray.binaries.images : ink diffusion rendering for suggestions. Server Time
31 Jul 2024 14:27:55 EDT (-0400)
  ink diffusion rendering for suggestions. (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Paean
Subject: ink diffusion rendering for suggestions.
Date: 13 Oct 2009 06:55:01
Message: <web.4ad45c1d4c643aec1524ae1d0@news.povray.org>
Hi, all.

Attached is a rendering image of ink drop dropped into a water tank.

I got the mesh(mesh2) for the water surface and the density(0~1.) of the ink(df3
file).
But I do not have good knowledge in the media rendering.

I am wondering if somebody can give me some suggestions on this or some other
media parameter examples and resources.

The ink can be black, dark blue, red or any other dark colors.

Any advices will be appreciated.

Thank you very much.

Regards,
Paean


Post a reply to this message


Attachments:
Download 'drops082.png' (201 KB)

Preview of image 'drops082.png'
drops082.png


 

From: Alain
Subject: Re: ink diffusion rendering for suggestions.
Date: 13 Oct 2009 22:41:56
Message: <4ad53a74$1@news.povray.org>

> Hi, all.
> 
> Attached is a rendering image of ink drop dropped into a water tank.
> 
> I got the mesh(mesh2) for the water surface and the density(0~1.) of the ink(df3
> file).
> But I do not have good knowledge in the media rendering.
> 
> I am wondering if somebody can give me some suggestions on this or some other
> media parameter examples and resources.
> 
> The ink can be black, dark blue, red or any other dark colors.
> 
> Any advices will be appreciated.
> 
> Thank you very much.
> 
> Regards,
> Paean
> 
> 
> ------------------------------------------------------------------------
> 

Looking OK.

The default sampling is method 3. With that, the defaults are:

intervals 1 (you should leave it alone, increasing it will cause a huge 
rendering slowdown, it may produce artefacts)
samples 3 (MINIMUM value! Increase as needed)

There is NO second samples value. If you provide one, it will be totaly 
ignored.
"samples 100" is way faster than "intervals 10 samples 10".


Alain


Post a reply to this message

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 14 Oct 2009 04:00:01
Message: <web.4ad583d3edf569a01524ae1d0@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > Hi, all.
> >
> > Attached is a rendering image of ink drop dropped into a water tank.
> >
> > I got the mesh(mesh2) for the water surface and the density(0~1.) of the ink(df3
> > file).
> > But I do not have good knowledge in the media rendering.
> >
> > I am wondering if somebody can give me some suggestions on this or some other
> > media parameter examples and resources.
> >
> > The ink can be black, dark blue, red or any other dark colors.
> >
> > Any advices will be appreciated.
> >
> > Thank you very much.
> >
> > Regards,
> > Paean
> >
> >
> > ------------------------------------------------------------------------
> >
>
> Looking OK.
>
> The default sampling is method 3. With that, the defaults are:
>
> intervals 1 (you should leave it alone, increasing it will cause a huge
> rendering slowdown, it may produce artefacts)
> samples 3 (MINIMUM value! Increase as needed)
>
> There is NO second samples value. If you provide one, it will be totaly
> ignored.
> "samples 100" is way faster than "intervals 10 samples 10".
>
>
> Alain


Hi, Alain,

Can you help me to adjust the parameters? I can give you all the stuff including
the pov file, the mesh file and df3 file (about several Mbs in total).  My Email
is PaeanBall (AT) gmail.com.

Anyone else that can do me a favor will be very appreciated too.

Thank you very much.

Best Regards,
Paean


Post a reply to this message

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 14 Oct 2009 05:15:00
Message: <web.4ad5961dedf569a01524ae1d0@news.povray.org>
"Paean" <Pae### [at] gmailcom> wrote:
> Alain <aze### [at] qwertyorg> wrote:

> > > Hi, all.
> > >
> > > Attached is a rendering image of ink drop dropped into a water tank.
> > >
> > > I got the mesh(mesh2) for the water surface and the density(0~1.) of the ink(df3
> > > file).
> > > But I do not have good knowledge in the media rendering.
> > >
> > > I am wondering if somebody can give me some suggestions on this or some other
> > > media parameter examples and resources.
> > >
> > > The ink can be black, dark blue, red or any other dark colors.
> > >
> > > Any advices will be appreciated.
> > >
> > > Thank you very much.
> > >
> > > Regards,
> > > Paean
> > >
> > >
> > > ------------------------------------------------------------------------
> > >
> >
> > Looking OK.
> >
> > The default sampling is method 3. With that, the defaults are:
> >
> > intervals 1 (you should leave it alone, increasing it will cause a huge
> > rendering slowdown, it may produce artefacts)
> > samples 3 (MINIMUM value! Increase as needed)
> >
> > There is NO second samples value. If you provide one, it will be totaly
> > ignored.
> > "samples 100" is way faster than "intervals 10 samples 10".
> >
> >
> > Alain
>
>
> Hi, Alain,
>
> Can you help me to adjust the parameters? I can give you all the stuff including
> the pov file, the mesh file and df3 file (about several Mbs in total).  My Email
> is PaeanBall (AT) gmail.com.
>
> Anyone else that can do me a favor will be very appreciated too.
>
> Thank you very much.
>
> Best Regards,
> Paean


I want the results to be similar with this.

http://area.autodesk.com/blogs/duncan/ink_in_water_using_maya_fluids

But I am not sure whether POVRay can handle this.  I think no multiple
scattering are provided in POVRay.


Regards,
Paean


Post a reply to this message

From: Christian Froeschlin
Subject: Re: ink diffusion rendering for suggestions.
Date: 14 Oct 2009 15:13:53
Message: <4ad622f1@news.povray.org>
Paean wrote:

> Anyone else that can do me a favor will be very appreciated too.

My suggestion would be make the ink df3 available for
download somewhere and post a link here. Someone might
just feel the itch to try tinkering with it without
the pressure of *having* to produce a result ;)


Post a reply to this message

From: Paean
Subject: Re: ink diffusion rendering for suggestions.
Date: 14 Oct 2009 21:40:02
Message: <web.4ad67ce3edf569a01524ae1d0@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> Paean wrote:
>
> > Anyone else that can do me a favor will be very appreciated too.
>
> My suggestion would be make the ink df3 available for
> download somewhere and post a link here. Someone might
> just feel the itch to try tinkering with it without
> the pressure of *having* to produce a result ;)

Hi, Christian,

Good Suggestion.

I have attached the files required(it is much smaller than i think after
compression).

Uncompress the tar.gz and then povray mesh2.ini.

Anyone can do me a favor to adjust the media parameters will be very
appreciated. I am learning the media rendering too, but I do not have much
rendering experience and it seems hard to make the media look like you want.

Thank you very much.

Regards,
Paean


Post a reply to this message


Attachments:
Download 'povrayink.tar.gz' (1429 KB)

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)

Goto Latest 10 Messages Next 6 Messages >>>

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