Skip to content

IndaPlus22/bwidman-raytracer

Repository files navigation

bwidman-raytracer

This is a simple ""real time"" path tracing engine accelerated with the GPU via the CUDA API. There are camera controls and it will look ugly while it moves but it quickly accumulates frames after stopping.

NOTE: An Nvidia GPU is required to run this!

To compile:

  1. Download Visual Studio 2022 with C++ desktop development
  2. Download CUDA Toolkit 12.0
  3. Open up bwidman-raytracer.sln in Visual Studio and run!

Example renders (newest to oldest)

Specular BRDF & importance sampling

Specular BRDF

Triangle intersection & tone mapping

Edgy pyramid

Gamma correction

Gamma correction

Fundamental path tracing

Path tracing

Specular reflections

Reflections

Lambert's cosine law

Simple shading

First render

Red circle

About

GPU accelerated path tracer with CUDA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages