raytracing.github.io
raytracing.github.io copied to clipboard
Book 3.3.5: Function parameters are used inconsistently
In Chapter 3.5 we can't seem to settle on which letter to use as a parameter for the CDF and keep switching between $x$ and $r$. This is not a big deal, just a bit disorienting. Here is a sample:
This also occurs throughout other parts of the book, but just happened to catch my attention here.
Moving into the v4.0.0 milestone for consideration. We may or may not punt this for the actual v4.0.0 release, depending on our progress.
Note that this flipping between $x$ and $r$ is also reflected in accompanying figures.
I think the problem here is that unfortunately P(r) refers to the PDF of one function, while P(x) is used to refer to a different function.
I think that just renaming all P(r) to P(x) would create more confusion.
Another option maybe is to use a letter different from P for one of them? Just an idea.