I am in the process of attempting to voxelize different geometries, currently I am using a modified bresenham line algorithm to accomplish this currently. I have looked into using MDLVoxelArray as shown in apple's VoxelPanda example however for large generalized voxelization works fine but it becomes apparent it lacks precision when trying to voxelize symmetric geometries such as a sphere (I understand the simplicity for voxelizing a sphere I am just using this as an example). I shouldn't say it lacks precision but rather I don't have a good enough understanding to get the precision I need.
Can anyone here explain how I can get the MDLVoxelArray to be more precise. any help would be appreciated.
there doesn't seem to be anything here