You can use the DeepCrop node to:
• crop deep data in front of or behind certain planes in depth, or
• crop deep images inside or outside of the crop box in the Viewer (much like the regular Crop node).
Connection Type |
Connection Name |
Function |
Input |
unnamed |
The deep image sequence to crop. This can also be a DeepMerge node with merged deep data. |
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
DeepCrop Tab |
|||
znear |
znear |
1 |
Sets the near depth value of the image. By default, any samples in front of this plane in depth (that is, below this value) are cropped. |
use |
use_znear |
enabled |
Whether to crop samples below the znear value. |
zfar |
zfar |
2 |
Sets the far depth value of the image. By default, any samples behind this plane in depth (that is, above this value) are cropped. |
use |
use_zfar |
enabled |
Whether to crop samples above the zfar value. |
keep outside zrange |
outside_zrange |
disabled |
When enabled, samples between the znear and zfar values are cropped. When disabled, samples outside the znear to zfar range are cropped. |
bbox |
bbox |
N/A |
Set the size of the crop box in the Viewer. By default, any areas outside this box are cropped. You can adjust the following: • x - the distance (in pixels) between the left edge of the image and the left side of the crop box. • y - the distance (in pixels) between the bottom edge of the image and the bottom edge of the crop box. • r - the distance (in pixels) between the left edge of the image and the right side of the crop box. • t - the distance (in pixels) between the bottom edge of the image and the top edge of the crop box. • w - the width of the crop box. This is only available if you click the wh button. • h - the height of the crop box. This is only available if you click the wh button. You can also adjust the crop box in the Viewer by dragging its edges. |
use |
use_bbox |
enabled |
Set whether to use the crop box in the Viewer. |
keep outside bbox |
outside_bbox |
disabled |
When enabled, any samples inside the crop box are cropped. When disabled, any samples outside the crop box are cropped. |