mmp / pbr-book-website

Other
456 stars 62 forks source link

3.8.2 Spherical Polygons, Equation 3.6 #17

Open steimich96 opened 8 months ago

steimich96 commented 8 months ago

Formula 3.6 for calculating the area of a spherical triangle: Link

I might be misunderstanding but this formula does not make sense to me. Is this a typo? If it is correct, it would maybe help to add some context for deriving the formula (maybe in the Appendix).

Following from the code, the numerator should be dot(a, cross(b, c)).

massile commented 8 months ago

I came to the same conclusion, I think it is a typo I created a PR with the corresponding change and explanations here

mmp commented 7 months ago

It is a typo, thanks for reporting! I'll push an update to the online errata and the book website in a little while.

@steimich96 let me know how you want to be credited in the errata.