Filled polygon voxelization

Feb 11, 2014 at 6:47 AM
Is there an easy way to reliably fill the voids inside a model, since the polygon model voxelization creates thin shell models instead of solid shapes?

I'm creating a rendering scheme that takes MagicaVoxel models as input and generates voxel normal maps, but it currently doesn't take kindly to 1 voxel thin sections, since it doesn't know which side should be considered facing out.

I tried using Attach Face combined with the Move tool to see the cross-section to get all the little voids inside the model but this proved very error-prone when working on something large like the Dragon example.
Coordinator
Feb 11, 2014 at 6:55 AM
Hi phort99,

Use Edit->Aux-> | C, it will fill all invisible space with current color ( as long as the surface is watertight )

While Edit->Aux->Flood will remove all invisible voxels ( 1 voxel thin )

Image
Marked as answer by phort99 on 2/11/2014 at 12:28 AM
Feb 11, 2014 at 7:09 AM
Perfect, thanks for the tip.

I'm not really clear on what Edit->Aux->Flood does, but the C button does what I need.

For your viewing pleasure, normal-mapped voxels!

Image
Coordinator
Feb 11, 2014 at 10:15 AM
Awesome! What is the related project?

Flood is to remove all the invisible voxels and only keep the shell :
left : Original middle : Flood right : C
Image