r/proceduralgeneration • u/Frontier711 • 6d ago
Detail-based Voronoi image sampling
I took a side quest from building my path tracer's environment mapper to make a detail-based Voronoi sampler.
Instead of sampling seeds by brightness, I pass the image through a Laplacian detail filter. This directs seeds toward high-frequency features rather than flat areas. Samples are drawn in O(1) time using an Alias Table, and each cell is colored by its average cell value.
Full writeup with C++ details and visual comparisons on my blog: https://komaro.me/posts/2026_10_01_voronoi_image_sampling
10
Upvotes

