You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to be able to specify depth of field (DOF) settings within the Blender scene and use those on the rs-pbrt side.
For .pbrt files those should work correctly already, but forparse_blend_file we still need a way how to translate the settings from the Blender UI to camera settings, which can be used for e.g. the struct PerspectiveCamera. Here an example from the Italian Flat scene:
In Blender version 2.79 the two settings in questions are shown here:
The depth of field distance can be used as parameter focaldistance directly, but Blender's f-stop value has to be translated somehow to PBRT's lensradius (in this example I used lensradius = 0.0125):
It would be useful to be able to specify depth of field (DOF) settings within the Blender scene and use those on the
rs-pbrt
side.For
.pbrt
files those should work correctly already, but forparse_blend_file
we still need a way how to translate the settings from the Blender UI to camera settings, which can be used for e.g. the structPerspectiveCamera
. Here an example from the Italian Flat scene:In Blender version 2.79 the two settings in questions are shown here:
The depth of field distance can be used as parameter
focaldistance
directly, but Blender's f-stop value has to be translated somehow to PBRT'slensradius
(in this example I usedlensradius = 0.0125
):The best solution would be to look into Blender's source code to find a proper translation hint.
The text was updated successfully, but these errors were encountered: