
172 II Rendering
Bin Particles
Render Metavoxels
For each metavoxel
covered
for each particle
For each
nonempty
metavoxel
Append Particle to
Metavoxel’s Bin
Fill Metavoxel
Pre-metavoxel
Particle Bin
Propagate Light
Raymarch Metavoxel
from Eye
Figure 5.5. High-level algorithm.
may be more useful in the coming years as compute efficiency will almost certainly
continue to outpace bandwidth efficiency. Ray-marching multiple metavoxels one
at a time can be more efficient than ray-marching a larger volume. The metavoxel
localizes the sample points to a relatively small volume, potentially improving
cache hit rates and minimizing expensive off-chip bandwidth.
We fill a metavoxel ...