Setting Up Views for the Script

You can import your footage and let Nuke create the views automatically or set up views in advance in the project settings. This allows you to process the individual views separately or both views together, and see the effect of your changes on each view.

If you are likely to need the same views in several projects, you may want to save the views you created in a template.nk script file. For more information on how to do this, see Template Scripts.

Creating Views Automatically

Note:  Automatic view creation is not implemented for multi-view .mov files. See Creating and Managing Views Manually for information on how to create the views.

1.   Read in your multi-view files as normal.

A warning dialog is displayed.

2.   Click Add Views, Replace Views, or No:

Add Views - add the views in the incoming clip to those that exist in the project.

Replace Views - replace all existing project views with those in the incoming clip.

No - import the clip and display only the first view in the file, retaining any existing views in the project.

You can now access the views in your project from the view dropdown menu of certain nodes’ controls. You’ll also notice that each view has its own button in the Viewer controls.

Creating and Managing Views Manually

1.   Select Edit > Project Settings or pres S in the Node Graph.
2.   Go to the Views tab. The exiting views are listed in the views field.

3.   If you want to remove the view called main and add views called left and right, click the Set up views for stereo button.

Note:  If the script is already set up for multiple views, Set up view for mono is displayed. Clicking Set up view for mono deletes all existing views and adds a single main view.

The two new views are assigned colors, red and green by default. To change the colors, double-click on the color field and select another color from the color picker.

If you check Use colors in UI?, these colors are used in Node Graph connections, split views indicators on nodes, and Viewer and ShuffleViews node controls to make it easier to differentiate between views.

4.   If you want to add other new views, click the + button.

A new view is added automatically.

5.   To rename the view, double-click its name in the view list and enter the new name.
6.   Repeat these steps as necessary until you’ve got the views you want. You can assign colors to all views by double-clicking the area on the right of the view name.

7.   To delete an unnecessary view, select the view from the list and click the - button.
8.   To move a view around in the list of views, click the up and down arrows above the views panel.
9.   To select the view that’s displayed whenever you load the project, set the hero dropdown to the appropriate view.

You can now access the views in your project from the view dropdown menu of certain nodes’ controls. You’ll also notice that each view has its own button in the Viewer controls.

If you created many views, you may want them to appear in a dropdown menu rather than as separate buttons in the Viewer and node controls. To switch to using dropdown menus, disable View selection uses buttons? on the Views tab of the Project Settings panel.