POV-Ray : Newsgroups : povray.general : Yo Colefax ! : Re: Yo Colefax ! Server Time
10 Aug 2024 15:16:27 EDT (-0400)
  Re: Yo Colefax !  
From: Chris Colefax
Date: 4 Dec 1999 09:55:00
Message: <38492b44@news.povray.org>
Ken <tyl### [at] pacbellnet> (yes, that Ken!) wrote in a rather
confrontational tone:
>  How come your lens effects are attenuating my background scattering
> media into oblivion ?
>
> I have two very small objects say x*.2 y*.05 in the xy plane which are
> opposing each other translated -x +x a wee bit. In between them is a
> light source and lens effect centered at the origin. Behind this is a
> spot light about 50 units in the +z direction pointing back towards
> the camera's location. Because of the scale of the objects the camera
> is necessarily close i.e. z*-.2. I'm presuming that it is your effects
> and the scale of my scene that is causing my beautiful scattering
media
> to look like randomly placed white spots.
>
> Solution or live with it ?

To be honest I don't have that much experience with scattering media.
Still, I would guess that the problem is not so much with the scale of
the scene as the scale of the lens effects, which appear to be altering
the way the media intervals are evaluated (to make the effects overlay
the rest of the scene the objects involved are scaled down to be 1e-2
units from the camera).

My first suggestion would be to set the effect_always_on_top option to
false: this will create the lens effect as part of the scene, with the
objects actually centred at the effect location.  If this seems to help,
but you want the effects overlaying the other objects you can either
leave the always on top option at false and change the effect location,
or set the always on top option to true and adjust the lens_scale option
(start at, say, 10 and work your way up...).


Post a reply to this message

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