Share your code.
Converts a mesh into a binvox stream.
//Load Stanford bunnyvar bunny =//Voxelize mesh and write to stdoutbunnycells bunnypositions 01
require("mesh-to-binvox")(cells, positions, resolution)
Converts a mesh to a binvox file and writes it to a stream.
cellsare the triangles of the mesh
positionsare the vertices of the mesh
resolutionis the resolution of the binvox file to emit
through stream representing a binvox file containing the mesh
(c) 2013 Mikola Lysenko. MIT License