POV-Ray : Newsgroups : povray.advanced-users : How to avoid or remove fog from the backgound? : Re: How to avoid or remove fog from the backgound? Server Time
28 Jul 2024 12:36:52 EDT (-0400)
  Re: How to avoid or remove fog from the backgound?  
From: Thomas de Groot
Date: 3 Aug 2005 04:02:35
Message: <42f07a1b$1@news.povray.org>
"Elmar Krieger" <elm### [at] cmbirunl> schreef in bericht
news:web.42e72a35808d84e1e78d3d640@news.povray.org...
> Hi!
>
> Two things I'm chewing on:
>
> 1) Create fog that doesn't start immediately at the camera, but only at a
> certain distance from it, so that some close objects are not fogged at
all.
> Comparable to the OpenGL GL_FOG_MODE GL_LINEAR feature that allows to
> specify where the fog starts and where it reaches the maximum density.
>

One very simple solution is using a completely transparant, not hollow,
vertical plane between the camera and the background. The orientation of the
plane's normal determines where the fog will be invisible, on the camera
side or the background side. I used this trick in the past and it works to
complete satisfaction.

Thomas


Post a reply to this message

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