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. 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.
|
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. |