Voxelization script created for the unity game engine Generate a voxel model of any mesh using the Separating Axis Theorem.
The description and example usage of this script can be found here:
http://nihilistdev.blogspot.it/2012/08/voxelization-in-unity.html
I no longer maintain this code, but last time I checked it was usable (but slow, though)