Class HaltonWithMemory
java.lang.Object
com.marginallyclever.ro3.apps.pathtracer.halton.HaltonWithMemory
In practice I get better results with just random numbers.
HaltonWithMemory
is a HaltonSequence
sequence with memory for multiple channels. Each channel has its
own index counter stored in memory. This is useful for path tracing where different dimensions (channels)
need to be sampled independently but consistently across multiple samples.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HaltonWithMemory
public HaltonWithMemory()
-
-
Method Details
-
resetMemory
public void resetMemory(long seed) -
nextDouble
public double nextDouble(int channel)
-