Skip to content
/ Nova Public

High performance GPU accelerated ray tracer using OpenCL/CUDA

License

Notifications You must be signed in to change notification settings

wchang22/Nova

Repository files navigation

Nova

High performance GPU accelerated ray tracer using OpenCL/CUDA

Examples

fireplace

LivingRoom

Sponza

Dragon

Supported Operating Systems

  • Linux
  • Any operating system capable of running Linux Docker containers (though exposing the GPU and GUI may be tricky)

Supported Hardware

Either:

  • Any CPU or GPU supporting OpenCL 2.1+
  • A CUDA-enabled GPU

Dependencies For Building

Common:

OpenCL:

CUDA:

  • NVIDIA drivers
  • CUDA Toolkit

Included Dependencies

Build and Run

$ git clone https://github.com/wchang22/Nova.git
$ cd Nova && mkdir build && cd build

# Either
$ export CC=/path/to/clang && export CXX=/path/to/clang++
$ cmake .. -DBACKEND=OpenCL
# Or
$ export CC=/path/to/gcc && export CXX=/path/to/g++
$ cmake .. -DBACKEND=CUDA

$ cmake --build .
$ ./nova # Add --headless to run without the GUI

Suggested - Docker (For OpenCL)

$ cd Nova
$ docker build -t nova .
$ xhost local:root
$ docker run -it --rm --name nova -w /root/Nova/ -e DISPLAY \
  -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/root/Nova \
  --device /dev/dri:/dev/dri nova
$ cd Nova && mkdir build && cd build
$ cmake .. -DBACKEND=OpenCL
$ cmake --build .
$ ./nova

About

High performance GPU accelerated ray tracer using OpenCL/CUDA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages