Oink
SplatTrainplatecamerapoints SplatTrain

SplatTrain

Gaussian splats trained from your plate (gsplat, Apache-2.0, in the AI worker).

raw .md

Gaussian splats trained from your plate (gsplat, Apache-2.0, in the AI worker). Connect the plate, an animated Camera (CameraTracker export or any Camera), optionally a mask (alpha = ignore, e.g. AIRoto on moving objects) and initial points (CameraTrackerPointCloud / DepthToPoints). Trains in scene-linear float (HDR kept). The viewer shows live previews; Cancel keeps a checkpoint, Resume continues. Output: splats for the 3D viewer / ScanlineRender; Export writes a standard 3DGS .ply. Mode 3DGS (ellipsoids) or 2DGS (flat discs, sharper surfaces); Densification MCMC (default, fixed budget set by Max Splats) or default.

NodeSplatTrain
MenuAI › SplatTrain
Names in each format
.oink comp (JSON)"type": "OC_N_splattrain"
.nk scriptnone: written as an Oink node
Pythonnuke.createNode("OC_N_splattrain")
Assistant (MCP)create_node(type="SplatTrain")
Tab searchsplattrain, or its initials st

SplatTrain properties

Inputs and outputs

PortNameType
input 0plateimage
input 1camerascene
input 2maskimage
input 3pointsscene
output 0scenescene

Knobs

Panel tab Splattrain, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
frame_rangeframe rangemenuprojectproject, custom
range_firstfirstfloat1-100000 to 100000 (integer)
range_lastlastfloat100-100000 to 100000 (integer)
frame_stepevery Nth framefloat11 to 100 (integer)
holdout_everyhold out everyfloat00 to 100 (integer)Every Nth frame is not trained, only scored (PSNR / SSIM). 0 = train on all
resolution_scaleresolution scalefloat0.50.05 to 1
mask_modemaskmenuexcludenone, exclude (alpha = ignore), include (alpha = train)
iterationsiterationsfloat70001 to 1000000 (integer)
sh_degreeSH degreemenu30 (0 (DC only)), 1, 2, 3Spherical-harmonic bands trained (view-dependent colour)
modemodemenu3dgs3dgs (3DGS), 2dgs (2DGS (surfels))
antialiasedanti-aliased (Mip)boolfalseMip-Splatting 2D filter (3DGS). Note: Oink's renderers draw classic splats
strategydensificationmenumcmcdefault, mcmc (MCMC)
densifydensifybooltrue
densify_fromdensify fromfloat5000 to 1000000 (integer)
densify_untildensify untilfloat150000 to 1000000 (integer)
densify_everydensify everyfloat1001 to 10000 (integer)
grad_thresholdgrow thresholdfloat0.00020 to 0.01Screen-space gradient that clones / splits a splat
opacity_reset_everyopacity reset everyfloat30000 to 1000000 (integer)
max_splatsmax splats (MCMC)float10000001000 to 20000000 (integer)MCMC budget
init_countrandom init splatsfloat100000100 to 5000000 (integer)Without the points input: splats seeded along the camera rays
backgroundbackgroundcolour ×30, 0, 00 to 1Colour behind the splats while training (linear)
preview_everypreview everyfloat5000 to 100000 (integer)Steps between live previews in the viewer (0 = none)
seedseedfloat00 to 1000000 (integer)
display_asdisplay asmenusplatssplats, points
render_shrender SHmenu30 (0 (DC only)), 1, 2, 3
render_splatsrender splatsfloat00 to 20000000 (integer)Most splats rendered, the most visible first (0 = all)
viewer_splatsviewer splatsfloat30000001000 to 20000000 (integer)
run_dirrun foldertextCheckpoint + results (empty = new folder in $OPENCOMP_SPLAT_DIR or the NAS)
export_fileexport filefileStandard 3DGS .ply

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
result_fileResultstring
preview_filePreviewstring
generationGenerationint0-2147483648 to 2147483647
splat_countSplatsint0-2147483648 to 2147483647
trained_stepsTrained Stepsint0-2147483648 to 2147483647
train_psnrTrain PSNRfloat0-3.4028234663852886e+38 to 3.4028234663852886e+38
eval_psnrHeld-out PSNRfloat0-3.4028234663852886e+38 to 3.4028234663852886e+38
eval_ssimHeld-out SSIMfloat0-3.4028234663852886e+38 to 3.4028234663852886e+38
train_secondsTrain Time (s)float0-3.4028234663852886e+38 to 3.4028234663852886e+38
peak_vramPeak VRAM (GB)float0-3.4028234663852886e+38 to 3.4028234663852886e+38

On this page