Nodes/ComfyUI-BrainDead/BD Blender Decimate
ComfyUI Node

BD Blender Decimate

Full-featured stylized low-poly decimation. CRITICAL FEATURES: - Color Field Input: Sample colors spatially on CLEAN topology (no face splitting) - Planar Grouping: Structure-aware boundary detection from face normals - Color Edge Detection: Marks color boundaries as sharp/seam edges - Planar Decimate with Delimit: Preserves marked edges during decimation - Face-Based Color Transfer: NO color bleeding at vertices Connect color_field directly (from BD_UnpackBundle or BD_SampleVoxelgridColors) to avoid pre-applying colors which splits faces and breaks topology.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Blender Decimate
  • mesh
  • color_field
  • mesh
  • status
target_faces5000
pre_cleanuptrue
detect_color_edgestrue
color_edge_threshold0.15
fill_holestrue
remove_internalfalse
internal_methodSIMPLE
planar_angle7.0
sharp_angle14
preserve_boundariestrue
preserve_colorstrue
fix_normalstrue
use_planar_groupingfalse
planar_group_angle15
planar_group_min_size10
timeout600
debug_path
Category🧠BrainDead/Blender

Inputs (19)

NameTypeDefaultDescription
meshTRIMESH
target_facesINT5000100–500000Target face count after decimation
pre_cleanupBOOLEANtrueFix non-manifold geometry before decimation
detect_color_edgesBOOLEANtrueCRITICAL: Detect color boundaries and mark as sharp/seam edges for preservation
color_edge_thresholdFLOAT0.150.01–1Color difference threshold for edge detection (lower = more edges)
fill_holesBOOLEANtrueFill holes in mesh before decimation
remove_internalBOOLEANfalseRemove internal/hidden faces (jacketing cleanup)
internal_methodCOMBOSIMPLESIMPLE=fast, RAYCAST=more accurate but slower
planar_angleFLOAT7.00–45Angle threshold for planar decimation (merge coplanar faces)
sharp_angleFLOAT140–90Angle threshold for marking sharp edges after decimation
preserve_boundariesBOOLEANtruePreserve mesh boundaries during planar decimation
preserve_colorsBOOLEANtrueTransfer vertex colors with face-based lookup (no bleeding)
fix_normalsBOOLEANtrueRecalculate normals to face outward
use_planar_groupingBOOLEANfalseDetect planar groups from face normals and mark boundaries as sharp/seam
planar_group_angleFLOAT151–90Max angle between normals in same planar group (lower = more groups = more preserved edges)
planar_group_min_sizeINT101–1000Minimum faces per group (smaller groups merged into neighbors)
color_fieldoptCOLOR_FIELD
timeoutoptINT60060–3600Maximum processing time in seconds
debug_pathoptSTRINGOptional: Full path to save debug GLB (e.g., /tmp/decimate_debug.glb)

Outputs (2)

NameTypeDescription
meshTRIMESH
statusSTRING