POV-Ray : Newsgroups : povray.general : Focal Blur and Lens Glare : Re: Focal Blur and Lens Glare Server Time
8 Aug 2024 10:24:25 EDT (-0400)
  Re: Focal Blur and Lens Glare  
From: Nathan Kopp
Date: 14 Jan 2001 01:19:18
Message: <3a6144e6$1@news.povray.org>
"Ben Chambers" <bdc### [at] hotmailcom> wrote...
> Has anyone tried using focal blur and lens glare at the same time?  I
> haven't tried anything yet, but I was thinking of using both in an
> image, and was wondering about possible side effects from crossing the
> two.

If you're using NKFlare, this should help (it's from the NKFlare.txt file
that comes with NKFlare 5).

Q:  I am using focal blur in my image, and the lens flare disappears.

A:  Change the "disc_size" variable.  This variable affects the size
    of the discs that are used to create the lens flare.  It also
    changes their location.  The value of "disc_size" represents the
    distance from the camera to the discs.  In order for thoes discs
    to be in focus when focal blur is used, they must be at the
    focal point.  If, for example, the focal point was at "f_point",
    you would use the following declaration before including NKFlare.
    #declare disc_size = vlength(f_point - cam_loc)

-Nathan Kopp


Post a reply to this message

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