ECS 275A Advanced Computer Graphics

Winter Quarter 2011

Setting up OptiX

OptiX is a ray-tracing framework provided by NVIDIA for use on their GPUs.

Getting OptiX

CUDA can be found here.

OptiX can be found here.

Install CUDA first, then OptiX. If you want to compile the SDK examples yourself, then use cmake, which can be found here.

Getting started

Included in the OptiX SDK are several documents in the docs directory. Make sure to read the Programming Guide and and the OptiX Quickstart Gudie.

Following the quickstart guide will go over everything on the slides as well as beyond.

Compiling without CMake

Compiling without CMake is the same as compiling normal CUDA code except that this must be compiled with the "-ptx" flag and then loaded using the OptiX API in order for it to link properly.

If you need more information on CUDA, please refer to the CUDA resources page found here.