Precision Improvements for Ray/Sphere Intersection

Eric Haines, Johannes Gunther, Tomas Akenine-Möller

Research output: Chapter in Book/Report/Conference proceedingBook chapterpeer-review


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.
Original languageEnglish
Title of host publicationRay Tracing Gems
Subtitle of host publicationHigh-Quality and Real-Time Rendering with DXR and Other APIs
EditorsEric Haines, Tomas Akenine-Möller
Number of pages8
ISBN (Electronic)978-1-4842-4427-2
ISBN (Print)978-1-4842-4426-5
Publication statusPublished - 2019

Subject classification (UKÄ)

  • Computer Science


Dive into the research topics of 'Precision Improvements for Ray/Sphere Intersection'. Together they form a unique fingerprint.

Cite this