You are here: User Guide > Nuke > Stereoscopic Projects > Rendering Stereoscopic Images

Rendering Stereoscopic Images

You can render several views using a single Write node. When using the stereo extensions for the .exr file format, Nuke writes the output of both views into a single file. With any other file types, the views are written into their respective files.

Rendering .exr Files

To render .exr files:

1.   Select Image > Write to insert a Write node in an appropriate place in your script.
2.   In the Write node’s controls, select exr from the file type dropdown menu.
3.   From the views dropdown menu, select the view(s) you want to render, for example left, right.
4.   Adjust any other Write controls as necessary and click Render. Nuke prompts you for the frames to render.

Nuke writes the selected views into a single file.

Rendering Other File Formats

To render files that are not in the .exr file format:

1.   Select Image > Write to insert a Write node in an appropriate place in your script.
2.   In the Write nodes’ controls, select the file type of your images from the file type dropdown menu.
3.   When entering names for the rendered image sequences, you can use the variable %V (with a capital V) to represent the words left and right (or any other full view names) in the file names, for example filename.%V.####.exr. To represent the letters l and r (or the first letters of any views), use the variable %v (with a lower-case v) instead. When rendering, Nuke then fills this in with left, right, l, or r, and renders all views you specify in the next step.
4.   Adjust any other Write controls as necessary and click Render. Nuke prompts you for the frames to render as well as the views to execute (assuming you have set up several views in the project settings).

Nuke renders several views, but writes them into separate files. If you did not specify a view in the file names (using either the name of the view, its first letter, or a variable), you can only render one view.

NOTE:  For command line renders, you can pass the -view argument with a list of view names to render, separated by a comma. If you do not specify a -view argument, Nuke renders all views.