raytracing.github.io
raytracing.github.io copied to clipboard
Book 3 Section 12.3 : It’s good to check the math on all such calculations
I usually plug in the extreme cases (thank you for that concept, Mr. Horton — my high school physics teacher). For a zero radius sphere cos(θmax)=0, and that works. It should be cos(θmax)=1.
Reading your book was a joyful experience ! Thanks