This page gives details on how the settings work for the V-Ray Physical Camera.
The VRayPhysicalCamera uses real-world camera settings such as f-stop, focal length, and shutter speed to set up the virtual CG camera. It also makes it easier to use light sources with real-world illumination, such as VRayLight with physical units or VRaySun and VRaySky.
Note: In 3ds Max 2016, the VRayPhysicalCamera is not directly accessible through the menu. Instead, the new 3ds Max Physical camera type can be used. The documentation on the Max Physical camera can be accessed from Max's Help menu > Autodesk 3ds Max Help... and then searching for "Physical Camera". For more details, see V-Ray Physical Camera in 3ds Max 2016 below.
Image courtesy of Ken Vollmer
||Create Menu|| > Cameras > V-Ray > VRayPhysicalCamera
||V-Ray Toolbar|| > Physical Camera button
type – Determines the type of the camera. This mostly has an effect on the motion blur effect produced by the camera.
Still cam – Simulates a still photo camera with a regular shutter.
Cinematic camera – Simulates a motion-picture camera with a circular shutter.
Video camera – Simulates a shutter-less video camera with a CCD matrix.
targeted – Specifies whether the camera has a target in the 3ds Max scene or not.
film gate (mm) – Specifies the horizontal size of the film gate in millimeters. Note that this setting takes into account the system units configuration to produce the correct result. Vertical film gate size is calculated by accounting image aspect ratio (vertical film size = horizontal film size / aspect ratio).
focal length (mm) – Specifies the equivalent focal length of the camera lens. This setting takes into account the system units configuration to produce the correct result.
fov – When enabled, sets the field of view directly without having to set up the film gate and focal length.
zoom factor – Specifies a zoom factor. Values greater than 1.0 zoom into the image; values smaller than 1.0 zoom out. This is similar to a blow-up rendering of the image. For more information, see The Zoom Factor example below.
horizontal shift – Horizontally offsets the camera field of view as a fraction of the current view. For example, a value of 0.5 will offset the camera one-half of the current image width to the left.
vertical shift – Vertically offsets the camera field of view as a fraction of the current view. For example, a value of 0.5 will offset the camera one-half of the current image height upwards.
f-number – Determines the width of the camera aperture and, indirectly, exposure. If the Exposure option is checked, changing the f-number will affect the image brightness. For more information, see Exposure Control - f-number (s-top) example below.
target distance – Specifies the distance to the camera target for a targeted camera.
vertical tilt and horizontal tilt – Allows the simulation of tilt lenses for 2-point perspective. Changing these parameters is similar to applying a camera correction modifier. Use the Guess vert tilt and Guess horiz tilt buttons in order to achieve the 2-point perspective. For more information, see Vertical Tilt example below.
auto guess vert. – When enabled, preserves the vertical tilt when the camera is being animated.
specify focus – Specifies a focus distance different from the camera target distance.
focus distance – If specify focus is enabled, specifies the distance at which objects are in focus.
exposure – When enabled, the f-number, shutter speed, and film speed ( ISO) settings will affect the image brightness. For more information, see Exposure, Field of View and Focus Distance example below.
vignetting – When enabled, simulates the optical vignetting effect of real-world cameras. The strength of the vignetting effect can be specified, where 0.0 is no vignetting and 1.0 is normal vignetting. For more information, see Vignetting example below.
white balance – Allows additional modification of the image output. Objects in the scene that have the specified color will appear white in the image. Note that only the color hue is taken into consideration; the brightness of the color is ignored. There are several presets that can be used, most notably the Daylight preset for exterior scenes. For more information, see White Balance example below.
shutter speed (s^-1) – Specifies the shutter speed, in inverse seconds, for the still photographic camera. For example, shutter speed of 1/30 s corresponds to a value of 30 for this parameter. For more information, see Exposure Control - Shutter Speed example below.
shutter angle (deg) – Specifies the shutter angle (in degrees) for the cinematic camera.
shutter offset (deg) – Specifies the shutter offset (in degrees) for the cinematic camera.
latency (s) – Specifies the CCD matrix latency, in seconds, for the video camera.
film speed (ISO) – Determines the film power (i.e. sensitivity). Smaller values make the image darker, while larger values make it brighter. For more information, see Exposure Control: Film Speed (ISO) example below.
Example: Zoom Factor
This parameter determines the zooming (In and Out) of the final image. It doesn't move the camera forward nor backwards.
Exposure is on, f-number is 8.0, shutter speed is 60.0, film speed (ISO) is 200.0, vignetting is on, white balance is white.
zoom factor = 1.0
zoom factor = 2.0
zoom factor = 0.5
Example: Exposure Control – f-number (f-stop)
The f-number parameter controls the aperture size of the virtual camera. Lowering the f-number value increases the aperture size and so makes the image brighter since more light enters the camera. In reverse, increasing the f-number makes the image darker, as the aperture is closed. This parameter also determines the amount of the Depth of Field (DOF) effect. See the Depth of Field Example for more information.
Exposure is on, shutter speed is 60.0, film speed (ISO) is 200, vignetting is on, white balance is white.
f-number = 8.0
f-number = 6.0
f-number = 4.0
Example: Vertical Tilt (Camera Correction)
Using this parameter you can achieve 2-point perspective. To have that done automatically, use the Guess vert tilt button.
vertical tilt = Guess (2 point)
vertical tilt = -0.5
vertical tilt = 0.5
Example: Exposure, Field of View and Focus Distance
The focus distance of the physical camera (as specified by either the camera target distance or the focus distance parameter) affects the exposure of the image and the field of view for the camera, especially if the focus distance is close to the camera. This is an effect than can be observed with real-world cameras as demonstrated in the images below.
The set up is a white board with a small black rectangle and a camera in front of it. Notice how changing the focus distance produces images with different brightness even though the illumination and all other camera parameters are the same in both cases. Also notice the change in the field of view.
The camera is focused on the white board; the grey color is approximately RGB 104, 104, 104.
The camera is focused at infinity; the grey color is approximately RGB 135, 135, 135.
Side view of the camera focused on the white board.
Side view of the camera focused at infinity.
This parameter control the optical vignetting effect of real-world cameras.
vignetting is 0.0 (vignetting is disabled)
vignetting is 1.0
Example: White Balance
Using the white balance color allows additional modification of the image output. Objects in the scene that have the specified color will appear white in the image. E.g. for daylight scenes this should be peach color to compensate for the color of the sun light etc.
Exposure is on, f-number is 8.0, shutter speed is 200.0, film speed (ISO) is 200.0, and vignetting is off.
white balance is white (255, 255, 255)
white balance is blueish (196, 226, 255)
white balance is peach (255, 214, 191)
Example: Exposure Control – Shutter Speed
The shutter speed parameter determines the exposure time for the virtual camera. The longer this time is (small shutter speed value), the brighter the image would be. In reverse - if the exposure time is shorter (high shutter speed value), the image would get darker. This parameter also affects the motion blur effect, see the Motion Blur Example.
Exposure is on, f-number is 8.0, film speed (ISO) is 200, vignetting is on, and white balance is white.
shutter speed is 60.0
shutter speed is 30.0
shutter speed is 125.0
Example: Exposure Control: Film Speed (ISO)
The film speed (ISO) parameter determines the sensitivity of the film and consequently the brightness of the image. If the ISO value is high (film is more sensitive to the light), the image is brighter. Lower ISO values mean that the film is less sensitive and produces a darker image.
Exposure is on, shutter speed is 60.0, f-number is 8.0, vignetting is on, and white balance is white.
film speed (ISO) is 400
film speed (ISO) is 800
film speed (ISO) is 1600
These parameters control the bokeh effects when depth-of-field is enabled.
blades – Defines the shape of the camera aperture. When disabled, a perfectly circular aperture is simulated. When enabled, a polygonal aperture is simulated, with the specified number of blades.
rotation (deg) – Defines the rotation of the blades in degrees.
center bias – Defines a bias shape for the bokeh effects. Positive values make the outer edge of the bokeh effects brighter; negative values make the center of the effect brighter.
anisotropy – Allows stretching of the bokeh effect horizontally or vertically to simulate anamorphic lenses.
optical vignetting – Controls the strength of the optical vignetting, also known as and cat's eye vignetting. This effect is due to the fact that the shape of the bokeh highlights resembles the shape of the aperture. As the distance to the optical axis increases, the bokeh highlights are progressively narrowed and begin to resemble the shape of a cat's eye. The larger the distance from the image center, the narrower the cat's eye becomes. Optical vignetting tends to be stronger in wide angle lenses and large aperture lenses, but the effect can be noticed with most photographic lenses.
Optical vignetting is currently very slow to calculate; it may introduce noise in the image that is difficult to clean.
bitmap aperture – Enables the use of an image (specified in the field below) to control the aperture shape as well as any dirt or scratches that may affect the bokeh. White signifies transparent areas and black signifies opaque areas.
affect exposure – When enabled, the bokeh effects will affect the overall exposure of the image.
bitmap resolution – Specifies the resolution at which the texture will be sampled when calculating the bokeh effects.
These parameters control the sampling for the virtual camera.
depth-of-field – Enables depth of field sampling. For more information, see the Depth Of Field example below.
motion blur – Enables motion blur sampling. For more information, see the Motion Blur example below.
Example: Depth Of Field (DOF)
To enable the DOF effect you need to turn on the depth-of-field option in the Sampling rollout of the physical camera. The effect is most strongly seen when the camera is close to some object, like when doing a macro photo. For a strong DOF effect, the camera aperture must be open wide (i.e. small f-number value). That may lead to a very burnt and bright image, so to preserve the same illuminosity over the whole image, the shutter speed must be shortened. And at last but not at least the focus distance determines which part of the scene will be actually on focus. To get the focus near, you would need a small value and reverse - higher value for far focus.
Exposureis on, f-number is 1.0, shutter speed is 4000.0, film speed (ISO) is 100.0, vignetting is off.
depth-of-field is off
depth-of-field is on, focus distance is 327cm
depth-of-field is on, focus distance is 1154cm
Example: Motion Blur (MB)
To enable the motion blur effect, you need to enable the motion blur option in the Sampling rollout of the physical camera. The amount of the motion blur is determined by the speed of the moving object itself as well as the shutter speed setting of the camera. Long shutter speeds will produce more motion blur, as the movement of the object is tracked over a longer time. In reverse, short shutter speeds will produce less motion blur effect. Keep in mind that to preserve the same brightness over the whole image, the f-number value has to be corrected as well.
Note that in the example the far object is moving quicker than the near one, which cases the difference in the motion blur effects.
Exposure is on, film speed (ISO) is 200.0, and vignetting is on.
motion blur is off
motion blur is on, f-number is 16.0, shutter speed is 30.0
motion blur is on, f-number is 8.0, shutter speed is 125.0
The options in this roll-out control the lens distortion of the camera.
distortion type – Specifies how the distortion is determined.
Quadratic – The default distortion type. It uses a simplified formula that is easier to calculate than the Cubic method.
Cubic – Used in some camera tracking programs like SynthEyes, Boujou, etc. If you plan on using one of these programs, this distortion type should be used.
Lens file – Uses a .lens file generated with the V-Ray Lens Analysis tool and specified in the Lens file field.
Texture – Uses a texture file generated in a third party application (i.e. Nuke) and specified in the distortion map field.
distortion amount – Specifies the distortion coefficient for the camera lens when the Distortion type is set to either Quadratic or Cubic. A value of 0.0 means no distortion; positive values produce "barrel" distortion, while negative values produce "pillow" distortion. For more information, see The Distortion example below.
The difference between the two types of distortion is slightly visible. The Cubic type should be used in some camera tracking programs like SynthEyes, Boujou, etc.
distortion is 1.0, distortion type is Quadratic
distortion is -1.0, distortion type is Quadratic
distortion is 1.0, distortion type is Cubic
distortion is -1.0, distortion type is Cubic
These parameters control various additional aspects of the camera.
horizon line – When enabled, displays the camera horizon line in the viewport.
clipping – When enabled, turns on the camera clipping.
near/far clipping plane – Specifies the near/far clipping range when clipping is enabled.
near/far environment range – Specifies the near/far environment range (used by some atmospheric effects in 3ds Max).
show cone – Controls whether and when to show a preview of the camera field of view and focus plane.
Selected – Only shows the preview when the camera is selected.
Always – Constantly enables the preview.
Never – Constantly disables the preview.
V-Ray Physical Camera in 3ds Max 2016
Please note than in 3ds Max 2016 the VRayPhysicalCamera is not directly accessible through the menu. Instead the new 3ds Max Physical camera type can be used:
The 3ds Max Physical camera matches the VRayPhysicalCamera functionality. When you create a Physical camera, a new Exposure Control will be created automatically. You can use it to control the exposure of the rendered image.
Alternatively, you create a VRayPhysicalCamera by running the following command in the MaxScript Listener:
- The Camera correction modifier will not work with the VRayPhysicalCamera. Instead, use the vertical tilt parameter of the camera for the same purpose.
- There are three types of FoV (field of view): horizontal, vertical, and diagonal. Horizontal FoV depends on the film gate size, focal length, focus distance, and zoom factor. In addition to those four parameters, the vertical and diagonal FoV depend on the image aspect ratio. The VRayPhysicalCamera always uses horizontal FOV.
- The DOF settings in the Render Scene dialogue have no effect when the VRayPhysicalCamera is used. Instead, you must use the DOF settings of the camera itself.
- Some motion blur settings (Duration, etc.) have no effect on the VRayPhysicalCamera. Instead, motion blur is controlled by the camera itself (through the Shutter speed, etc. parameters). See also the Motion blur render parameters.
auto guess vert. – When enabled, preserves the vertical tilt when the camera is being animated.