POV-Ray : Newsgroups : povray.general : focal_point : Re: focal_point Server Time
29 Apr 2024 07:41:10 EDT (-0400)
  Re: focal_point  
From: clipka
Date: 10 Nov 2016 22:21:44
Message: <58253948$1@news.povray.org>
Am 10.11.2016 um 18:38 schrieb Mike Horvath:
> On 11/10/2016 11:50 AM, clipka wrote:
>> Am 10.11.2016 um 14:06 schrieb Mike Horvath:
>>> Can I simulate an f-number of the camera by using the focal length and
>>> aperture in a calculation? Is the aperture supposed to be a physical
>>> measurement? Thanks.
>>
>> The `aperture` setting is the (virtual) size of the diaphragm opening in
>> POV-Ray units, though I keep forgetting whether it is the diameter or
>> the radius.
>>
> 
> Thank you. Could you check whether it is the diameter or radius in the
> code? It is commonly supposed to be diameter according to Wikipedia.

There's a line

    r = camera.Aperture * 0.5

in the source code, indicating that the `aperture` parameter is intended
to specify the diameter.

But maybe someone can check Cousin Ricky's claim that the size is off by
a factor.


Post a reply to this message

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