Auto-dividing a mesh into set of smaller meshes

Hi everyone,

How can a mesh automatically be divided into a set of smaller meshes? Not in a way that the geometry is split up in edit mode or anything like that. I mean the original mesh is replaced by the set of smaller meshes so that they make up the original shape. Let’s say the original mesh is a simple head mesh, then the result should be a number of smaller meshes (let’s say little cubes) that make up that head shape. I hope it’s clear this time what I mean Just in case, here is an illustration:


The original shape (in this case it’s a cube mesh) gets to be represented by several smaller shapes (here also cubes but the smaller shapes don’t necessarily need to be the same as the original one, primitves suffice).

Thanks a lot in advance, I already googled like crazy but it seems not so straight forward as it seems at first.

You could use a particle system set to emit an object from the volume as a grid. See attached example blend file

Attachments

grid.blend (1.14 MB)

Thanks a lot Richard. This is perfect.

If you want the sub-objects to have absolute positioning in space (or use it for still images), another solution is Mask and Dynamic Paint.

Create a 3d-grid of vertices. Assign all verts to new vgroup “Mask”.
Duplicate the sub-object at those verts using Dupliverts.
Assign a Dynamic Paint Canvas to the vertex-grid.
Set Surface Type: Weight, Time: 1, Vertex Group: Mask.

Now select your main object.
Assign a Dynamic Paint Brush. The default settings seem to work fine.