A camera model that approximates a number of real world physical effects. This supports all of the traditional prman perspective camera settings including shaped motion blur and bokeh. @parameters
fov: Field of view (FOV) in degrees. For rectangular images this is normally the FOV along the narrower image dimension.
tilt: Angle in degrees to tilt the lens. Makes the plane of focus non-parallel to the image plane. Has no effect unless depth of field is enabled. Positive tilts up, bringing the focus in the top of the image closer and pushing the focus in the bottom further. Negative does the reverse. Ignored if focus points are set.
roll: Roll the lens clockwise. If the lens tilt is non-zero this can be used to rotate the plane of focus around the image center. Ignored if focus points are set.
focus1: First point to keep in focus. Specified in world space. If all three focus points are set then the tilt angles and focal distance will be automatically solved to match the plane of focus they define. Note that there may not be a solution.
focus2: Second point to keep in focus. Specified in world space. If all three focus points are set then the tilt angles and focal distance will be automatically solved to match the plane of focus they define. Note that there may not be a solution.
focus3: Third point to keep in focus. Specified in world space. If all three focus points are set then the tilt angles and focal distance will be automatically solved to match the plane of focus they define. Note that there may not be a solution.
shiftX: Shift the lens horizontally. This can be used to correct for perspective distortion. Positive values shift towards the right.
shiftY: Shift the lens vertically. This can be used to correct for perspective distortion 'keystone' effects. To keep vertical lines parallel, aim the camera horizontally and adjust this to include the subject. Positive values shift towards the top.
radial1: Quadratic radial lens distortion coefficient. Positive values produce pincushion distortion. Negative values produce barrel distortion.
radial2: Quartic radial lens distortion coefficient. Positive values produce pincushion distortion. Negative values produce barrel distortion.
assymX: Distortion applied only in the X direction. Horizontal lines will remain straight. Positive values produce pincushion-like distortion. Negative values produce barrel-like distortion.
assymY: Distortion applied only in the Y direction. Vertical lines will remain straight. Positive values produce pincushion-like distortion. Negative values produce barrel-like distortion.
squeeze: Anamorphic lens squeeze. Values greater than one decrease the effect of the lens distortion in the X direction. Values less than one increase it.
transverse: Transverse (or lateral) chromatic aberration. This specifies the magnification factors for the red, green, and blue primaries respectively. When unequal, this can produce a tinge which is most pronounced near the image edges. It will increase color noise, however.
axial: Axial (or longitudinal) chromatic aberration. This specifies the chromatic focal shift for the red, green, and blue primaries respectively. When unequal, this can produce a tinge on bokeh and out of focus objects. It will increase color noise, however.
natural: Natural vignetting. When one, directions off of the primary camera axis will be darkened realistically. Wide-angle perspectives will show this effect more strongly. Setting to zero disables this and intermediate values will blend accordingly.
optical: Optical vignetting. Simulates light blockage due to a hood or other additional lens elements. With depth of field enabled, this creates cat’s eye bokeh. However, it also increases image noise.
sweep: Shutter direction. Specifies the direction that the shutter sweeps. The default, down, is the most common direction for rolling shutters.
duration: Exposure duration. Zero means an ideal rolling shutter where each line is exposed instantaneously when read. The default, one, is equivalent to a global shutter where all lines are exposed and read at the same time.