O_InteraxialShifter

The O_InteraxialShifter node allows you to adjust the interaxial distance of stereo images. Interaxial distance is the distance between the left and right cameras. Using this O_InteraxialShifter node, you can generate two new views at specified positions between the left and right images.

Inputs and Controls

Connection Type

Connection Name

Function

Input

Source

A stereo pair of images. If disparity channels and occlusion masks are not embedded in the images, you need to insert an O_DisparityGenerator and an O_OcclusionDetector node after the image sequence.

Control (UI)

Knob (Scripting)

Default Value

Function

O_InteraxialShifter Tab

Local GPU

gpuName

N/A

Displays the GPU used for rendering when Use GPU if available is enabled. Local GPU displays Not available when:

Use CPU is selected as the GPU Device in the Preferences.

no suitable GPU was found on your system.

it was not possible to create a context for processing on the selected GPU, such as when there is not enough free memory available on the GPU.

You can select a different GPU Device, if available, by navigating to the Preferences and selecting an alternative from the GPU Device dropdown.

Note:  Selecting a different GPU requires you to restart Nuke before the change takes effect.

Use GPU if available

useGPUIfAvailable

enabled

When enabled, rendering occurs on the Local GPU specified, if available, rather than the CPU. The output between the GPU and CPU is identical on NVIDIA GPUs, but using the GPU can significantly improve processing performance.

Note:  Enabling this option with no local GPU allows the script to run on the GPU whenever the script is opened on a machine that does have a GPU available.
You should also select this if you wish to render from the command line with the --gpu option.

Nuke also supports AMD GPUs on any Mac Pro running Mac OS X Mavericks (10.9.3 ), or later, mid 2015 MacBook Pros onward, and late 2017 iMac Pros. Bit-wise equality between GPU and CPU holds in most cases, but for some operations there are limitations to the accuracy possible with this configuration.

Warning:  Although AMD GPUs are enabled on Mac Pros manufactured prior to the late 2013 model, they are not officially supported and are used at your own risk.

GPU processing also requires certain NVIDIA and AMD drivers. For more information on the minimum requirements, refer to the Nuke Release Notes available in Help > Release Notes.

Views to Use

viewPair

Dependent on Source

Sets the two views you want to use to create the new views. These views will be mapped for the left and right eye.

Left Position

leftPosition

0.25

Sets a position between the views where you want to generate the left view. The position is expressed as a fraction of the distance between the views.

Right Position

rightPosition

0.75

Sets a position between the views where you want to generate the right view. The position is expressed as a fraction of the distance between the views.

Edges

Output edges to alpha

outputEdges ToAlpha

disabled

When enabled, output the edges to the alpha channel. Use the alpha channel as an overlay to determine where the edge correction is applied.

Adjust Edges

adjustEdges

0

Sets the size of the edge mask. To dilate the mask, use a positive value. You can use a negative value to erode the mask.

Feather

featherEdges

2

Sets how much feathering to apply to the edges. Increasing the Feather value, softens the edges; decreasing the value, sharpens the edges.