ComfyUI > Nodes > ComfyUI-SAM3DObjects > SAM3D Gaussian Decode

ComfyUI Node: SAM3D Gaussian Decode

Class Name

SAM3DGaussianDecode

Category
SAM3DObjects
Author
PozzettiAndrea (Account age: 0days)
Extension
ComfyUI-SAM3DObjects
Latest Updated
2026-03-21
Github Stars
0.17K

How to Install ComfyUI-SAM3DObjects

Install this extension via the ComfyUI Manager by searching for ComfyUI-SAM3DObjects
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-SAM3DObjects in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

SAM3D Gaussian Decode Description

Transforms SLAT data into Gaussian splats for 3D point cloud generation, outputting a PLY file.

SAM3D Gaussian Decode:

The SAM3DGaussianDecode node is designed to transform SLAT (Sparse Latent Array Transform) data into Gaussian splats, which are essentially colored point cloud representations. This process is a crucial step in the 3D object generation pipeline, allowing you to visualize and manipulate 3D data efficiently. The node leverages a Gaussian decoder to perform this transformation quickly, typically within 15 seconds, making it a fast and effective solution for generating 3D point clouds. The output of this node is a PLY file, a common format for storing 3D data, which can be further processed or used in texture baking with tools like SAM3DTextureBake. This node is particularly beneficial for artists and developers working with 3D models, as it simplifies the conversion of complex latent data into a more tangible and usable format.

SAM3D Gaussian Decode Input Parameters:

slat_decoder_gs

This parameter represents the Gaussian decoder model used for the transformation process. It is essential for decoding the SLAT data into Gaussian splats. The model is typically loaded from a pre-trained SAM3D model, ensuring that the decoding process is accurate and efficient. There are no specific minimum or maximum values for this parameter, but it must be a valid SAM3D model.

slat

The slat parameter is a string that specifies the path to the SLAT data file generated by the SAM3DGenerateSLAT node. This input is mandatory as it contains the latent data that needs to be decoded into Gaussian splats. The path must be correctly specified to ensure successful decoding.

up_axis

This optional parameter determines the coordinate system used for the output PLY file. It can be set to either "Y-up (standard)" or "Z-up", with "Y-up (standard)" being the default. This setting is important for ensuring that the output aligns with the coordinate system expectations of various 3D viewers and applications.

world_coordinates

The world_coordinates parameter is a boolean that specifies whether the output should be in world coordinates, derived from depth estimation, or centered at the origin. By default, this is set to False, meaning the output will be centered. Enabling this option can be useful when integrating the output with other 3D data that uses world coordinates.

SAM3D Gaussian Decode Output Parameters:

ply_filepath

The ply_filepath output parameter is a string that provides the path to the saved Gaussian PLY file. This file contains the decoded point cloud data and is essential for further processing or visualization. The PLY format is widely used for 3D data, making it compatible with many 3D applications and tools.

SAM3D Gaussian Decode Usage Tips:

  • Ensure that the slat path is correctly specified and points to a valid SLAT file generated by SAM3DGenerateSLAT to avoid errors during decoding.
  • Choose the appropriate up_axis setting based on the requirements of your 3D viewer or application to ensure correct orientation of the output.
  • Consider enabling world_coordinates if you need the output to align with other 3D data that uses world coordinates, especially in complex scenes.

SAM3D Gaussian Decode Common Errors and Solutions:

PLY file was not generated

  • Explanation: This error occurs when the decoding process fails to produce a PLY file, possibly due to incorrect input paths or model issues.
  • Solution: Verify that the slat path is correct and that the slat_decoder_gs is a valid SAM3D model. Ensure that all required inputs are provided and correctly configured.

Invalid SLAT path

  • Explanation: The specified SLAT path does not point to a valid file, leading to a failure in the decoding process.
  • Solution: Double-check the SLAT file path for typos or errors and ensure the file exists at the specified location.

SAM3D Gaussian Decode Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-SAM3DObjects
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.