Skip to main content
This node sets up the first shape-generation sampling pass of the Trellis2 pipeline. It takes the dense structure voxel produced by VaeDecodeStructureTrellis2, extracts the sparse coordinates of the filled voxels, creates an empty sparse latent, and attaches the sampling metadata to the conditioning so the model can read it during sampling. For the second shape pass after upsampling, use Trellis2UpsampleStage instead, which combines the cascade and the second-pass stage setup.

Inputs

Notes

  • The voxel grid resolution selects the pipeline stage: a resolution of 32 or lower uses the shape_generation_512 mode with the shape_512 stage; a resolution greater than 32 uses the shape_generation mode with the shape_1024 stage.
  • The voxel must contain at least one filled voxel; an empty voxel raises an error. The batch indices derived from the voxel must be non-negative and contiguous.
  • When the positive conditioning contains a proj_feat_pack (as supplied by Pixal3D conditioning), projection features are computed for the selected stage and the output latent’s model frame is set to y_up. Otherwise, no projection features are attached and the model frame is set to z_up.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 7dbee8a5b6ef7111f07def4dbe1cc4908533e00ffcb775f5a284099360c7eed3