C_NewView

Use the C_NewView node to reconstruct a view using the pixels from another view. For example, you can choose to reconstruct the left view using the pixels from the right view. This can be useful if you want to manipulate one view (with a gizmo, node, or graphics editor for example) and replicate the changes into the other view.

Note:  C_NewView requires disparity vectors from an upstream C_DisparityGenerator to reconstruct views.

Inputs and Controls

Connection Type

Connection Name

Function

Input

CleanPlate

A clean background plate used to fill areas of occlusion when Correction is set to Use CleanPlate.

Source

A stereo pair of images.

Note:  If disparity channels aren’t embedded in the images, you should add a C_DisparityGenerator node after the image sequence.

Control (UI)

Knob (Scripting)

Default Value

Function

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

CaraVR supports AMD GPUs on late 2013 Mac Pro 6,1, mid 2015 Mac Pro 11,5, and and late 2016 MacBook Pro 13,3, running OS X 10.9.3 'Mavericks', or later. While, in some cases the bit-wise equality between GPU and CPU holds, for some operations there are limitations to the accuracy possible with this configuration.

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.

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

Left View

leftView

main

Select the two views you want to use to generate the new view. These views are mapped for the left and right eye.

Right View

rightView

main

View to Build

viewRebuilt

Left from Right

Sets which view is created from the input pair.

Pass through other view

passThrough
OtherView

enabled

When enabled, output both the new, rebuilt view and the original source view.

When disabled, only the new view is output.

Occlusions

Output occlusions to alpha

outputOcclusions
ToAlpha

disabled

When enabled, output the occlusions to the alpha channel. Occlusions occur when some pixels are not visible in the source view, and therefore cannot be used to create the new view. You can use the alpha channel as an overlay to determine where the occlusion correction is applied.

Correction

occlusionCorrection

Use original

Determines how occluded regions are dealt with:

Use original - retain the original view in the occluded regions. For example, if you are using the original left view to build a new right view, the original right view is retained in the occluded regions to help build the new right view.

Expand foreground - fill occluded regions by expanding the surrounding area from the original source view. For example, if you are using the original left view to build a new right view, the foreground of the original left view is expanded to help build the new right view.

Note:  Expanding the foreground may offset the edges.

Use CleanPlate - fill occluded areas using a clean background which is connected using the CleanPlate input.

None - do not fill the occluded regions.

Edges

Output edges to alpha

outputEdgesTo
Alpha

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.

Correction

edgeCorrection

Match original

Determine how image edges at depth boundaries are handled:

Match original - match the appearance of the original view at the edges. For example, if you are using the original left view to build a new a right view, the edges are matched from the original right view to help build the new right view.

Match foreground - match the edges from the original source view that was used to build the new view. For example, if you are using the original left view to build a new right view, the edges are matched from the original left view to help build the new right view.

None - do not apply edge correction.

Adjust Edges

adjustEdges

0

Sets the extent of the region where the edge correction is applied. To blend the correction into the background, use a positive value. To restrict the correction to the edges, use a negative value.