Ray voxel intersection

前端 未结 2 1673
走了就别回头了
走了就别回头了 2021-01-13 05:49

I want to test for an intersection of a ray with a voxel field.

I could naively crawl through the voxel field by calculating a ray-box intersection with the edge of

2条回答
  •  不思量自难忘°
    2021-01-13 06:24

    Here's an implementation of Bresenham's in 3D. It's in matlab; if you don't speak that you can see a C implementation here.

提交回复
热议问题