Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers



Implementing Ray Tracing on a GPU using the OpenGL Shading Language

feature graphic

This pdf paper and supplementary source code presents a way to implement Whitted style (classicӔ) recursive ray tracing on current generation consumer level GPUs using the OpenGL Shading Language (and HLSL). Ray tracing is implemented using a simplified, abstracted stream programming model for the GPU, written in C++. A ray tracer on current graphics hardware reaches the speed of a good CPU implementation already. Combined with classic triangle based real time rendering, the GPU based ray tracing algorithm could already be used today for certain special effects in computer games. The web site also includes GPU Ray Tracing shader source code using the OpenGL Shading Language.

Jan 21, 2005 | Category: Developers


<< Back to main

Column Footer