Ray voxel intersection

前端 未结 2 1674
走了就别回头了
走了就别回头了 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:23

    I believe the octree-algorithm does what your asking for.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题