3D scan-conversion algorithms for voxel-based graphics