The Digital Differential Analyzer (DDA) algorithm, adapted to 3D, is exactly the thing one needs to travel along a line (or a ray) through a grid of voxels.

This article is a stub. Perhaps help us expand it?

References