Nodes/ComfyUI-BrainDead/BD Sample Voxelgrid Colors
ComfyUI Node

BD Sample Voxelgrid Colors

Sample colors from TRELLIS2 voxelgrid to mesh vertices. Modes: - face (CORNER): 1 solid color per face, NO bleeding. Works with BD_BlenderEdgeMarking. Splits vertices. - sharp (POINT/k=1): Per-vertex nearest neighbor. Colors shared at edges - edge marking won't detect boundaries. - smooth (POINT/k=4): Per-vertex blended. Smooth gradients - edge marking won't detect boundaries.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Sample Voxelgrid Colors
  • mesh
  • voxelgrid
  • mesh
  • color_field
  • status
sampling_modeface
default_color0.5,0.5,0.5,1.0
distance_threshold3.0
Category🧠BrainDead/Mesh

Inputs (5)

NameTypeDefaultDescription
meshTRIMESH
voxelgridVOXELGRID
sampling_modeoptCOMBOfaceface=CORNER domain (edge marking works) | sharp=POINT k=1 | smooth=POINT k=4 blended
default_coloroptSTRING0.5,0.5,0.5,1.0
distance_thresholdoptFLOAT3.01–10Max voxels distance before using default color

Outputs (3)

NameTypeDescription
meshTRIMESH
color_fieldCOLOR_FIELD
statusSTRING