Nodes/ComfyUI-BrainDead/BD TRELLIS.2 Shape to Textured Mesh
ComfyUI Node

BD TRELLIS.2 Shape to Textured Mesh

Generate PBR textured mesh from shape. Takes shape_result from "BD Image to Shape" node and generates PBR materials: - base_color (RGB) - metallic - roughness - alpha DUAL-INPUT WORKFLOW (Advanced): 1. Fast shape + detailed texture: - Get Conditioning at 512 → shape generation (fast) - Get Conditioning at 1536_cascade → texture_conditioning (detailed voxelgrid) 2. Different images for shape vs texture: - Get Conditioning with outline image → conditioning (for shape) - Get Conditioning with clean render → texture_conditioning (for texture) Returns: - trimesh: The 3D mesh with PBR vertex attributes - voxelgrid: Sparse PBR voxel data for BD Bake Textures node - pbr_pointcloud: Debug point cloud with all 6 PBR channels

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD TRELLIS.2 Shape to Textured Mesh
  • conditioning
  • shape_result
  • texture_conditioning
  • trimesh
  • voxelgrid
  • pbr_pointcloud
  • shape_voxelgrid
  • shape_pbr_pointcloud
seed0
tex_guidance_strength7.5
tex_sampling_steps12
output_shape_voxelgridfalse
Category🧠BrainDead/TRELLIS2

Inputs (7)

NameTypeDefaultDescription
conditioningTRELLIS2_CONDITIONING
shape_resultTRELLIS2_SHAPE_RESULT
seedINT00–2147483647Random seed for texture variation
tex_guidance_strengthFLOAT7.51–20Texture CFG scale
tex_sampling_stepsINT121–50Texture sampling steps
output_shape_voxelgridBOOLEANfalseWhen using dual conditioning, also output voxelgrid from shape conditioning (runs texture twice)
texture_conditioningoptTRELLIS2_CONDITIONINGOptional: Separate conditioning for texture (different resolution/image)

Outputs (5)

NameTypeDescription
trimeshTRIMESH
voxelgridVOXELGRID
pbr_pointcloudTRIMESH
shape_voxelgridVOXELGRID
shape_pbr_pointcloudTRIMESH