Open Access 2019 | OriginalPaper | Buchkapitel
Precision Improvements for Ray/Sphere Intersection
verfasst von : Eric Haines, Johannes Günther, Tomas Akenine-Möller
Erschienen in: Ray Tracing Gems
Verlag: Apress
The traditional quadratic formula is often presented as the way to compute the intersection of a ray with a sphere. While mathematically correct, this factorization can be numerically unstable when using floating-point arithmetic. We give two little-known reformulations and show how each can improve precision.