Oink
DepthToPointscam 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
Menu3D › DepthToPoints
Names in each format
.oink comp (JSON)"type": "OC_N_depthtopoints"
.nk scriptnone: written as an Oink node
Pythonnuke.createNode("OC_N_depthtopoints")
Assistant (MCP)create_node(type="DepthToPoints")
Tab searchdepthtopoints, or its initials dtp

DepthToPoints properties

Inputs and outputs

PortNameType
input 0Imageimage
input 1camscene
output 0scenescene

Knobs

Panel tab Depthtopoints, in panel order.

KnobLabelTypeDefaultRange / values.nk 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 / values.nk 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

On this page