ComfyUI Node
BD Transfer Vertex Colors
Transfer vertex colors from source mesh to target mesh using spatial lookup. Transfer modes: - face: Per-face colors with NO bleeding - splits vertices so each face has unique verts. RECOMMENDED for stylized/low-poly looks. Triples vertex count but ensures clean colors. - face_center: Per-face lookup but assigns to shared vertices (may bleed at edges) - vertex_nearest: Per-vertex k=1 nearest neighbor (may bleed) - barycentric: Smooth interpolation for high-poly blended looks Typical workflow: 1. Sample colors to high-poly mesh (BD_SampleVoxelgridColors) 2. Decimate mesh (BD_SmartDecimate) 3. Transfer colors back (BD_TransferVertexColors) with face mode for clean edges
BD Transfer Vertex Colors
- source_mesh
- target_mesh
- mesh
- status
◄transfer_modeface►
◄default_color1.0,0.0,1.0,1.0►
Category🧠BrainDead/Mesh
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| source_mesh | TRIMESH | High-poly mesh with vertex colors | |
| target_mesh | TRIMESH | Decimated mesh to receive colors | |
| transfer_modeopt | COMBO | face | face=NO bleed (splits verts), face_center=sharp, vertex_nearest=per-vertex, barycentric=smooth |
| default_coloropt | STRING | 1.0,0.0,1.0,1.0 | Fallback color (magenta) for missing coverage |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mesh | TRIMESH | — |
| status | STRING | — |