Oink
Nodes

DepthToPoints

DepthToPoints: turns the depth layer into 3D through the camera (cam input or focal knobs): a displaced, textured card mesh (ScanlineRender can re-render it from new views) or a coloured point cloud.

raw .md
NodeDepthToPoints
Type idOC_N_depthtopoints
Menu3D › DepthToPoints
Nuke classnone: saved in .nk files as an Oink node
Codeopencomp_core/nodes/three_d/depth_points.py

DepthToPoints properties

Inputs and outputs

PortNameType
input 0Imageimage
input 1camscene
output 0scenescene

Knobs

Panel tab Depthtopoints, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
modeoutputmenumeshmesh (displaced card), points (point cloud)
stepstep (px)float81 to 256 (integer)Sample every N pixels
edge_thresholdedge thresholdfloat0.10 to 10Drop mesh triangles whose depths differ by more than this fraction
point_sizepoint sizefloat00 to 1Octahedron radius for renderers (0 = 1/3 of the sample spacing)
depth_layerdepth layertextdepth
depth_conventiondepth ismenuinvinv (1/Z), z (Z)
focalfocalfloat501 to 2000
haperturehoriz aperturefloat24.5760.1 to 100

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / valuesNuke knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Nuke equivalent

No Nuke class. In a .nk file this node is written as an Oink node that Nuke will not recognise.

On this page