Deep Read Node

Note: The tiled OpenEXR 2.0 files are not supported by Nuke.

Deep Merge Node

DeepTransform Node

DeepReformat Node

DeepSample Node

DeepToImage Node

DeepWrite Node

DeepColorCorrect Node

Note: You can use the DeepSample node to know the precise depth values and then enter them in the A, B, C, and D fields.

DeepToPoints Node

TUTORIAL

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Note: You can also adjust the size of the bounding box. To do so, adjust the crop box in the Viewer. Alternatively, enter values in the x, y, r and t fields corresponding to the bbox parameter. Select the keep outside bbox check box to keep the samples outside the bounding box. You can use the xnear and zfar parameters to crop samples in depth. Select the keep outside zrange check box if you want to keep the samples outside the range defined by the xnear and zfar parameters.

Figure 8

Note: In the DeepToImage tab of the DeepToImage1 node properties panel, the volumetric composition check box is selected by default. On clearing this check box, Nuke assumes that samples do not overlap and it takes only the front depth of each pixel into consideration. Also, the processing time will be reduced. However, if you have overlapping pixels, the output may be different than expected.

Figure 9

Figure 10

Nuke's powerful deep compositing tools set gives you ability to create high quality digital images faster. Deep compositing is a way to composite images with additional depth data. It helps in eliminating artifacts around the edges of the objects. Also, it reduces the need to re-render the image. You need to render the background once and then you can move the foreground objects at different places and depth in the scene. Deep images contain multiple samples per pixel at various depths. Each sample contains per pixel information about color, opacity, and depth.Thenode is used to read the deep images to the script. In Nuke, you can read deep images in two formats:(Generated by Pixar's PhotoRealistic Renderman Pro Server) and ScanlineThe parameters in thenode properties panel are similar to that of thenode.Thenode is used to merge multiple deep images. It has two inputs:and. You can use these inputs to connect the deep images you want to merge. The options in thedrop-down in thetab of thenode properties panel are used to specify the method for combining the deep images. By default,is selected in this drop-down. As a result, Nuke combines samples from theandinputs. Thecheck box will be only available, if you selectfrom thedrop-down. When this check box is selected, all the samples that have an alpha value of 1 and are behind other samples will be discarded. If you selectfrom thedrop-down, the samples from theinput will be hold out by the samples in theinput. As a result, samples in theinput will be removed or fade out that are occluded by the samples in theinput.Thenode is used to re-position the deep data along the x, y, and z axes. You can use the, and z fields corresponding to theparameter are used to move the deep data. Theparameter is used to scale the z depth values of the samples. If you want to limit the z translate and z scale effects to the non-black areas of the mask, connect an image to theinput of thenode.Thenode is thenode for deep images.Thenode is used to sample a pixel in the deep image. When you add anode in thepanel, awidget will be displayed in thepanel. Move the widget in thepanel to display the sample information in thenode properties panel.Thenode is used to flatten a deep image. It converts a deep image to a regular 2D image.The DeepWrite is thenode for deep images. It is used to render all upstream deep nodes to OpenEXR 2.0 format. The tiled OpenEXR files are not supported by this node.Thenode is thenode for deep images with an additionaltab. The options in this tab are used to control the depth range where the effect of the color-correction will be visible. Select thecheck box and then adjust the trapezoid curve; the values in the, andfields will change. The value infield indicates the depth where the color correction will start, values in theandfields indicate the range where the color correction will be at full effect, and value in thefield indicates the depth where the color-correction effect stops. You can use theslider to blend between the color corrected output and the original image.Thenode is used to create a point cloud using the deep data. You can use the points for position reference. To create the point cloud, connect theinput of thenode to the deep image. If you want to view the cloud through a camera, connect theinput to thenode and then switch to 3D view. In the properties panel of thenode, you can use theandparameters to change the density and size of the points, respectively.Before you starting the tutorial, navigate to the following link and then download the file to your hard drive: http://www.mediafire.com/download/34h9mew93ff6izh/nt008.zip . Next, extract the contents of the zip file.Create a new script in Nuke.Open thepanel and then selectfrom thedrop-down.Choose theoption from themenu; thedialog box will be displayed. In this dialog box, select thefile. Next, choose thebutton; thenode will be inserted in thepanel.Next, press 1; the output of thenode will be displayed in thepanel, as shown in Figure 1.Similarly, read in thefile. Next, press 1; the output of thenode will be displayed in thepanel, as shown in Figure 2.Select theoption from thedrop-down; the deep data will be displayed in thepanel, as shown in Figure 3. Next, select rgba from thedrop-down.Next, you will sample a pixel in the deep image.Select thenode and then addnode from themenu; thenode will be connected to thenode. Make sure thenode is selected and then press 1 to connect it to theMove thewidget in the. You will notice that the information about the pixel underneath thewidget is displayed in thenode properties panel, refer to Figure 4.Delete thenode from thepanel.Select thenode and then choosefrom themenu; the inputof thenode will be connected with thenode.Make sure thenode is selected and then press 1 to connect it to thenode.Connect theinput of thenode with thenode; the output of thenode will be displayed in the, refer to Figure 5.Next, we will move the result of thenode using thenode.Select thenode and then choosefrom themenu; thenode will be inserted between theandnodes.In thetab of thenode, enterin thefield corresponding to theparameter; the tree will move at the new position. Figure 6 and 7 display the position of the tree with the y value set toand, respectively. Experiment with different values.Notice in Figure nt8-7 that the bounding box is outside the frame size. Next, you will use thenode to crop the result of thenode.Select thenode and then choosefrom themenu; thenode will be inserted between theandnodes.You will notice that tree has disappeared. Next, you will fix it.In thetab of thenode, select thecheck box.In thetab of thenode properties panel, selectfrom thedrop-down; a holdout will be created. Figure 8 display the holdout in the alpha channel.Now, selectfrom thedrop-down.Next, you will merge a standard image with the deep data. You need to flatten the image using thenode.Select thenode and then choosefrom themenu; thenode is connected with thenode.Read in thefile using thenode; thenode will be added to thepanel. Next, press 1 to view its output in thepanel.Make sure thenode is selected and then add anode from themenu; thenode is connected with thenode.In thetab of thenode properties panel, selectfrom thedrop-down.Make sure thenode is selected and then press M; theinput of thenode is connected with thenode.Connect theinput of thenode with thenode.Select thenode and press 1 to view the output in theSelect thenode and then press T; thenode will be inserted between theandnodes. Next, adjust the position of the clouds using the Transform widget in the Viewer.In thetab of thenode properties panel, selectfrom thedrop-down. Figure 9 shows the output of the merge operation.Figure 10 display the network of the nodes in the script.