POV-Ray : Newsgroups : povray.advanced-users : Calculating aperture using f-stops : Re: Calculating aperture using f-stops Server Time
29 Jul 2024 02:19:46 EDT (-0400)
  Re: Calculating aperture using f-stops  
From: Retsam
Date: 26 Mar 2003 13:30:07
Message: <web.3e81f0f0fdc04b3734dff4bb0@news.povray.org>
Matti Karnaattu wrote:
>f-values in camera is calculated using formula:
>
>  f = focal_length / lens_diameter
>
>We know that focal blur on Pov-Ray is maded shooting rays from cube and cube
>side width is aperture value.

>Aperture area in Pov-Ray is cube. We have to solve equation to get cube side
>width from sphere volume.
>
>  x ^ 3 = pi * r ^ 3 * 4 / 3
>
>  x = r * (pi * 36) ^ (1/3) / 3
>

The "aperture" in PovRay is a square, not a cube.  And the area used by a
camera lens is a circle, not a sphere.

And if you use 37 or fewer blur samples, the "aperture" in PovRay is
actually a hexagon, which is even closer to being a circle than a square
is.


Post a reply to this message

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