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.
BD Mesh to OVoxel
- mesh
- voxelgrid
- status
◄grid_size512►
◄face_weight1.0►
◄boundary_weight0.20►
◄regularization_weight0.010►
Category🧠BrainDead/Mesh
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| mesh | TRIMESH | Textured mesh to voxelize (needs PBR material/textures for attribute extraction) | |
| grid_size | INT | 512128–1024 | Voxel grid resolution. Higher = more detail, more memory |
| face_weight | FLOAT | 1.00.1–5 | QEF face term weight for geometry voxelization |
| boundary_weight | FLOAT | 0.200.01–2 | QEF boundary term weight |
| regularization_weight | FLOAT | 0.0100.001–0.5 | QEF regularization weight |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| voxelgrid | VOXELGRID | — |
| status | STRING | — |