RayTK Tutorial: Volumetric Sampling
This tutorial covers using RayTK scenes to sample voxels in space for geometry instancing.
This technique can also be used for things like LED pixel mapping.
Download the toolkit:
https://github.com/t3kt/raytk/releases
Completed project file:
https://github.com/t3kt/raytk/raw/master/examples/tutorial-pointMap-v2-final.toe
Raymarching theory:
https://adrianb.io/2016/10/01/raymarching.html