POV-Ray : Newsgroups : povray.general : Wanted: Air and Water Server Time
23 Dec 2024 12:07:46 EST (-0500)
  Wanted: Air and Water (Message 1 to 10 of 51)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Sven Littkowski
Subject: Wanted: Air and Water
Date: 10 Feb 2016 21:35:27
Message: <56bbf36f@news.povray.org>
Hi,

does anyone have a realistic way to simulate air and water?

For the air, it should make everything fading in distance to a air blue
and behave in all other ways also like atmosphere.

And the water should have transparency that becomes more bluish in
distance, simply like real water, too.

I intend to use both inside a cylinder, where the air would be in the
shape of a cylinder, and the water in the shape of a difference
(cylinder/cylinder).

Thanks a lot for your help.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 02:53:59
Message: <56bc3e17$1@news.povray.org>
On 11-2-2016 3:35, Sven Littkowski wrote:
> Hi,
>
> does anyone have a realistic way to simulate air and water?
>
> For the air, it should make everything fading in distance to a air blue
> and behave in all other ways also like atmosphere.
>
> And the water should have transparency that becomes more bluish in
> distance, simply like real water, too.
>
> I intend to use both inside a cylinder, where the air would be in the
> shape of a cylinder, and the water in the shape of a difference
> (cylinder/cylinder).
>
> Thanks a lot for your help.
>

The keyword for both is: media.

If you want to learn about POV-Ray, I suggest you first experiment 
deeply with the technique involved and then show us the results 
(successes and failures).

-- 
Thomas


Post a reply to this message

From: Sven Littkowski
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 06:11:31
Message: <56bc6c63@news.povray.org>
Yes, I have used Media in a few cases before. But I find it hard, to
make it having the colors I want, and I indeed (here you're right) don't
have much understanding on how to work with it.

The media I need, would me of a cylindrical shape, thus I would create a
cylinder and fill it with media, that I know. But beyond that, there is
the vast void that I have to conquer, thus I need help to develop the
technologies for that. ;-)


Post a reply to this message

From: Stephen
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 07:21:43
Message: <56bc7cd7@news.povray.org>
On 2/11/2016 11:10 AM, Sven Littkowski wrote:
> Yes, I have used Media in a few cases before. But I find it hard, to
> make it having the colors I want, and I indeed (here you're right) don't
> have much understanding on how to work with it.
>
> The media I need, would me of a cylindrical shape, thus I would create a
> cylinder and fill it with media, that I know. But beyond that, there is
> the vast void that I have to conquer, thus I need help to develop the
> technologies for that. ;-)
>

You can only get a generalised help. From my experience every time I use 
media I have to relearn how to use it. It seems to me that each 
different usage requires different settings.

-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 07:31:09
Message: <56bc7f0d$1@news.povray.org>
On 11-2-2016 12:10, Sven Littkowski wrote:
> Yes, I have used Media in a few cases before. But I find it hard, to
> make it having the colors I want, and I indeed (here you're right) don't
> have much understanding on how to work with it.
>
> The media I need, would me of a cylindrical shape, thus I would create a
> cylinder and fill it with media, that I know. But beyond that, there is
> the vast void that I have to conquer, thus I need help to develop the
> technologies for that. ;-)
>

As for the air, I would say that a scattering media with a slightly 
bluish tint would do the trick. Water is more tricky as it involves 
absorption (red I would guess) in addition to scattering.

-- 
Thomas


Post a reply to this message

From: Sven Littkowski
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 07:45:06
Message: <56bc8252$1@news.povray.org>
Yes, that is exactly the reason, why I find it so difficult to use,
despite of the gains it has.


Post a reply to this message

From: Sven Littkowski
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 07:45:58
Message: <56bc8286$1@news.povray.org>
Thanks. There are two keywords in it, which will help me now to
investigate better: scattering and absorption.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 08:04:08
Message: <56bc86c8$1@news.povray.org>
On 11-2-2016 13:45, Sven Littkowski wrote:
> Thanks. There are two keywords in it, which will help me now to
> investigate better: scattering and absorption.
>

With scattering you might also need to scatter a reddish/orange colour 
to get blue. I think I was wrong in my previous post.

Good starting point for air and water are - as always:

http://www.f-lohmueller.de/pov_tut/
http://www.imagico.de/pov/water/water04.php

-- 
Thomas


Post a reply to this message

From: Stephen
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 09:41:51
Message: <56bc9daf$1@news.povray.org>
On 2/11/2016 12:45 PM, Sven Littkowski wrote:
> Thanks. There are two keywords in it, which will help me now to
> investigate better: scattering and absorption.
>

There is also emission which you could use for the central light source.
I was going to mention Rune Johansen's "electric.inc" but that uses the 
glow keyword which requires MegaPov. So it will not work with the 
official PovRay.
Nevertheless Rune's site does have some good include files that you 
might find useful. I often use his Grass Tex Include File and his 
Particle System is good too.

-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Wanted: Air and Water
Date: 11 Feb 2016 09:45:03
Message: <56bc9e6f$1@news.povray.org>
On 2/11/2016 2:41 PM, Stephen wrote:
> Rune's site

Oops!
http://runevision.com/3d/


-- 

Regards
     Stephen


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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