A Direct Construction of SZ Sequence MatricesHow to generate the best sample sequences for 4D, 16D, 256D...
This post is going to start off describing what SZ Sequences are, and why I think the 4D shuffled-scrambled SZ Sequence should be the default sample sequence many people turn to when implementing something like a path-tracer. Then I’ll point to the open-source code that has them in Using SZ Sequences in Your Renderer.
After that, I suspect the rest of the post will only be interesting to maybe a dozen people. But it’s also where the real contribution is: the New Matrix Construction Algorithm section defines a procedure that’s much simpler and faster than Ahmed et al’s paper. And at the very end, in Hierarchical Faure-Niederreiter Sequences, I’ll expand the construction to other prime bases. The SZ Sequence is just the base-2 HFN Sequence.