Khai-J-Bach opened this issue on Aug 27, 2010 · 1684 posts
adp001 posted Sat, 02 October 2010 at 10:36 PM
Quote - > Quote - ? for ADP...
Newest D/L version 1_30g, tyring the DOF and looking for the param "**lensradius"...
**
You have change the Camera section in the .lxs file to add the autofocus, lensradius, focaldistance parameters:
Camera "perspective"
"float fov" [26.1033306842]*** "bool autofocus" ["false"]***
*** "float lensradius" [0.00625]***
*** "float focaldistance" [4.0]***
To calculate the lensradius based on the f/stop number divide 0.0175 by the f-number.
Computing this value makes things harder, I think. Means, the focusdistance must be set very precisely for low f/stop and low distance because the "area of sharpness" is very small.
Maybe I should make a config entry for "compute lensradius [true/false]" to be able to overwrite manually?