Nodes/ComfyUI-TurntableGSViewer/Gaussians From Point Cloud
ComfyUI Node

Gaussians From Point Cloud

A ComfyUI node in GaussianPack with 7 inputs and 1 output.

By PozzettiAndrea·Created 3 months ago·Updated 2 months ago· 6
Gaussians From Point Cloud
    • ply_path
    ply_path
    output_filenamegaussians_from_pcd
    output_dir
    init_scale1.00
    init_opacity0.100
    knn_k3
    subsample_max0
    CategoryGaussianPack

    Inputs (7)

    NameTypeDefaultDescription
    ply_pathSTRINGPath to an input PLY. Can be a plain point cloud (x/y/z + optional r/g/b) or an existing 3DGS PLY (in which case all fields are read; missing ones get sensible defaults). knn-derived scales OVERRIDE whatever scales the input had.
    output_filenameSTRINGgaussians_from_pcdBasename for the output PLY (no extension).
    output_diroptSTRINGDirectory to write the output PLY. Leave blank to use ComfyUI's output folder.
    init_scaleoptFLOAT1.000.01–10Multiplier on the knn distance when computing initial scales. 1.0 = exactly the mean distance to k nearest neighbors. <1 = smaller gaussians (sharper but possibly under-covered). >1 = larger (smoother but blurrier).
    init_opacityoptFLOAT0.1000.001–0.999Sigmoid-space initial alpha per gaussian. The node applies logit(init_opacity) and writes that to `opacity`. 0.1 matches upstream 3DGS sfm-init.
    knn_koptINT31–10k for the knn lookup. 3 matches upstream 3DGS (mean distance to the 3 nearest neighbors after skipping self). Larger k = smoother scale field.
    subsample_maxoptINT00–50000000Optional random cap on the gaussian count. 0 = no cap (write every input point). Set a positive value (e.g. 2_000_000) if a downstream node OOMs at huge counts. Deterministic seed = N_in.

    Outputs (1)

    NameTypeDescription
    ply_pathSTRING