We denote
At frame
Then we do spatial reuse and we get unbiased weight
Here,
At frame
We expand
At frame
Similarly, we expand
We can calculate this contribution
Here, we can already see
The above analysis is based on some given
Here,
At frame
Here,
We can take
In this case, to simplify the contribution, we take the expectation term as
This is a lot easier for us to analyze the contribution and we just need to care about
In conclusion, our reuse pattern actually controls the contribution weight of pixel
Analysis of
If we only focus on this term, we can find it is actually the expected occurrence of sample
Therefore, it builds a relationship between double counting and the sample weight. Our goal is now clearer: we can control the occurrence to control the sample weight.
Now we analyze the expected occurrence
with the initial value
Contribution Matrix
We can find the recursion can be written as matrix multiplication.
Defining
And we can get
When the contribution matrix keeps changing each frame and we get
The random contribution matrix happens in reality and it is sparse each frame. Instead of using the same contribution matrix with expectations, ReSTIR uses random contribution matrix each frame. But the expected occurrence keeps unchanged.
We can easily write down the contribution matrix of both ReSTIR and cone reuse.
But this analysis is simplied a lot by taking MIS-weight as
Possible Directions:
- Can we get the same final contribution matrix with fewer intermediate matrices?
- Can we get better fianl contribution matrix (how to define this)?
The next questions:
- Now we are also assuming pixel
at frame does not inherit from frame . In reality, we should consider this and know why keeping the same reuse pattern brings that huge problem (I think it brings a exponentially growing weight for each sample). - How to choose a good reuse pattern to weight each sample better (but we should understand the weight better first)?
- How does correlation relate to the reuse pattern and the weighting term?