Skip to content

Commit

Permalink
fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflinger authored and plepers committed Dec 9, 2023
1 parent 3ed6c19 commit 4c45d42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/Filament.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@
\end{equation}$$

However, in practice we're using _importance sampling_ which needs to take the $pdf$ of the distribution
into account and adds a term $\frac{\left<\VoH\right>}{D(h_i, \alpha)\left<\NoH\right>}$.
into account and adds a term $\frac{4\left<\VoH\right>}{D(h_i, \alpha)\left<\NoH\right>}$.
See Importance Sampling For The IBL section:

$$\begin{equation}\label{iblImportanceSampling}
Expand Down Expand Up @@ -3486,15 +3486,15 @@
**do not** have the same PDF as $h_i$. The PDF of a transformed distribution is given by:

$$\begin{equation}
p(T_r(x)) = p(x) |J(T_r)|
p(T_r(x)) = p(x) |J(T_r)|^{-1}
\end{equation}$$

Where $|J(T_r)|$ is the determinant of the Jacobian of the transform. In our case we're considering
the transform from $h_i$ to $l_i$ and the determinant of its Jacobian is given in \ref{iblPDF}.

$$\begin{equation}\label{iblPDF}
p(l,v,\Theta) = D(h,\alpha) \left< \NoH \right> |J_{h \rightarrow l}| \\
|J_{h \rightarrow l}| = \frac{1}{4 \left< \VoH \right>}
p(l,v,\Theta) = D(h,\alpha) \left< \NoH \right> |J_{h \rightarrow l}|^{-1} \\
|J_{h \rightarrow l}| = 4 \left< \VoH \right>
\end{equation}$$

### Choosing important directions
Expand Down

0 comments on commit 4c45d42

Please sign in to comment.