×
Menu

10.8.4 Stereo rendering for virtual reality

 
Virtual Reality sub-section in the Iray section of the camera Attribute Editor
 
In this section a camera can be used to render two images for stereo effects. The difference to the regular Maya workflow is that no special camera rig is necessary. Stereo renderings can be done using only one camera. To configure the stereo camera lens following parameters are available:
 
Stereo
Enables stereo rendering for the selected camera.
 
Focus Distance
Defines the distance of the zero parallax.
 
Note:
The attribute Focus Distance is the same attribute as Focus Distance in [Camera ➤ Depth of Field ➤ Focus Distance]. You have to keep this in mind when using depth of field in combination with stereo rendering.
 
Eye Separation
Controls the distance between the right and the left camera for stereo view. The attribute refers to the selected Maya scene units.
 
Set to Default
Sets the value for Eye separation to a distance of 6 cm. This behaviour is independent of the chosen scene units.
 
 
 
Virtual Reality sub-section in the Iray section of the camera Attribute Editor with Output selected
 
Output
Controls the stereo rendering mode. By default it is set to left which means that only the left camera is rendered.
 
right
Setting this option to right switches to the right camera.
both
Setting this option to render the right and the left camera at the same time. The output will be two images named scenename_left.extension and scenename_right.extension.
 
both, write side-by-side
Setting this option to render the right and the left camera at the same time. The output will be one image containing the left and right camera view placed side-by-side.
 
both, write top-down
Setting this option to render the right and the left camera at the same time. The output will be one image containing the left and right camera view placed one above the other. The right camera view is the top part of the image.
 
Note:
The Output option write side-by-side and write top-down has no effect when exr is selected in the Render Settings as ouput format. To write the left and write camera as one image in exr-format, please check chapter 6.1.4 OpenEXR / OpenEXR multilayer section.
 
Note:
Users can still use the Maya stereo camera rig to create content for stereoscopic viewing. It is not recommended to mix both techniques. Use either one or the other.