Optical System

The Optics section of the UVR Camera Settings component defines the lens of the sensor. Two types of lenses are supported :


  • The Perfect Pinhole is a model of a pinhole camera : the lens has no physical radius and is perfectly reduced to a single point. Using a pinhole camera, no blur appears in the image when an object is out of focus.


  • The Lens type is a model of a physical camera : the lens is defined by its radius, the larger the radius the more blur there will be in the image for objects out of focus. A Lens optics requires additional settings :

  • The Lens Radius is the radius of the optical system, in the same unit as the scene (see the Scene Settings section). If the radius is set to 0, the Perfect Pinhole model will be used instead of the Lens model.

  • The Focus Distance is the distance at which the image will be sharp, in the same unit as the scene (see the Scene Settings section) : an object that is seen from a distance similar to the focus distance will be sharp, an object that is seen from closer/further away will be blurred.

  • If the Auto Focus is enabled, the focus distance will be automatically computed so that the point in the middle of the image is sharp. When the autofocus is enabled, 3 additional buttons appear next to the Auto Focus field :

        • The pen button on the left defines whether the focus point is circled on the image or not,

        • The pipette button on the right enables you to pick a point on the image that will be use to compute the focus distance (this option is only available when using the Engine view),

        • The square button in the middle reset the focus point to the center of the image.

Difference between a scene defined with a Perfect Pinhole optical system (left) and a Lens optical system focused on the red sphere (right)

The optical system settings can be edited at run time.