- git clone --recurse-submodules https://github.com/humanx98/rt_framework.git
- bash scripts/build_hiprt.sh
- bash scripts/ninja/configure.sh
- bash scripts/ninja/build_and_run.sh
- bash scripts/vs/configure.sh
- open build/vs/rt_framework.sln
- build solution
- set rt_framework as startup project and run
- Install the NVIDIA CUDA Toolkit (12.3 or newer) so
find_package(CUDAToolkit)can succeed. - Install the OptiX SDK and set
OPTIX_INSTALL_DIR(orOPTIX_ROOT) to the SDK root that containsinclude/optix.h. - Optional: set
OPTIX_COMPUTE_CAPABILITY(default75) to control the PTX target passed tonvcc. - Re-run CMake; the configure step will build the
optix_device_ptxtarget to generateOptixMotionBlur.ptxand link the CUDA renderer intort_framework.