Voxel modeling and simulation