How to find voxels intersected with a cone?

57 Views Asked by At

I have a 3D cube with 128x128x128 voxels. A cone is passing through this 3D cube. How can I find which voxels of cube are inside cone?enter image description here