Implementation
Render slice by slice, ray = -OZ (glOrtho)
Count # positive (negative) intersections:
- Disable Z-buffer
- Set blend function to ADD
- Cull front (back)-facing faces
- Set near clip plane to current slice
- Render mesh & read back buffer
Subtract buffers & classify voxels