CUDA Real Time Ray Tracing Tutorial

Here is a nice tutorial about how to code a real time ray tracer using CUDA. This tutorial is focused on sending a ray into a loaded triangulated model, computing the first hit position and do simple light calculations. It shows how to send the mesh data to CUDA via CUDA 1D texture or how to communicate between OpenGL and CUDA via PBO (Pixel Buffer Object).

You can download source codes and executables here:
CUDA 2.1 Ray Tracing Tutorial
CUDA 2.3 Ray Tracing Tutorial

More news about CUDA: NVIDIA CUDA @


↑ Grab this Headline Animator