No, OpenGL is not a ray tracer. For depth testing you would typically use a depth buffer (check Wikipedia).
OpenGL scanline algorithm - does it use rays and bounding boxes? [closed]
-
13-04-2022 - |
Question
I'm studying how scanline algorithms work and I'm wondering whether to determine the closest hit per each pixel a ray is shooted like ray tracing algorithms and, in that case, if bounding boxes are used to determine if there's an intersection or not
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow