Nodes/ComfyUI-BrainDead/BD Mesh to OVoxel
ComfyUI Node

BD Mesh to OVoxel

Convert a textured mesh to VOXELGRID format using o_voxel. Voxelizes mesh geometry (flexible dual grid) and extracts PBR material attributes into a sparse voxel tensor. Use cases: - Retexture a mesh onto different topology - Create voxelgrid from imported GLB/FBX for baking - Convert between mesh and voxel representations Outputs VOXELGRID compatible with BD_OVoxelBake and BD_OVoxelTextureBake.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Mesh to OVoxel
  • mesh
  • voxelgrid
  • status
grid_size512
face_weight1.0
boundary_weight0.20
regularization_weight0.010
Category🧠BrainDead/Mesh

Inputs (5)

NameTypeDefaultDescription
meshTRIMESHTextured mesh to voxelize (needs PBR material/textures for attribute extraction)
grid_sizeINT512128–1024Voxel grid resolution. Higher = more detail, more memory
face_weightFLOAT1.00.1–5QEF face term weight for geometry voxelization
boundary_weightFLOAT0.200.01–2QEF boundary term weight
regularization_weightFLOAT0.0100.001–0.5QEF regularization weight

Outputs (2)

NameTypeDescription
voxelgridVOXELGRID
statusSTRING