POV-Ray : Newsgroups : povray.text.tutorials : Interior Fog? : Re: Interior Fog? Server Time
2 May 2024 22:03:04 EDT (-0400)
  Re: Interior Fog?  
From: Jerry
Date: 3 May 1999 13:08:52
Message: <jerry-0305990908550001@cerebus.acusd.edu>
In article <372CFF60.1545DCC7@tiac.net>, Phil Clute <pcl### [at] tiacnet> wrote:

>Thank you but I meant the "fog" keyword. The pov docs
>indicate that you can put fog into a hollow object. I 
>may have just misinterpreted what the docs say, but regarding
>fog there is a small section refering to solid and hollow
>objects, which I think implies that fog can be contained.
>I could be wrong however...

Yes, I think so.

In POV, some atmospheric effects, such as media and fog, are not visible
if the camera is inside of a non-hollow object. So even though the fog
keyword puts fog everywhere, you won't see any if you put the camera
inside of a 'solid' object.

Also, if fog acts like the other items that are affected by hollowness,
fog will *not* appear inside of a non-hollow object. This means that if
you have a sphere, make it completely clear, and do not specify that it is
hollow, your fog will not 'penetrate' to the inside of that sphere. If you
make the sphere hollow, the fog will penetrate.

You could, I suppose, use this to fake a fog container. Make a huge,
non-hollow sphere which is not invisible, and pretend it is a sky_sphere.
Put all of your scene inside this huge sphere. Put a fog onto your scene.
The fog will only appear inside of objects which you have specified as
hollow. Note that your camera will have to be inside of one of those
objects.

Post the part of the docs that you're talking about, though, and someone
can probably give a better explanation of what it means.

Jerry


Post a reply to this message

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