Skip to content

Latest commit

 

History

History
66 lines (38 loc) · 2.17 KB

README.md

File metadata and controls

66 lines (38 loc) · 2.17 KB

pbrt-minus

cuda build

A simpler, less performant, physically based, GPU ray tracer rewritten from PBRT-v4.

feature

set up environment

Linux

Debian/Ubuntu:

$ sudo apt install -y cmake libglu1-mesa-dev libpng-dev libx11-dev xorg-dev

Setting up for other distros should be similar.

Windows

It's recommended to build it with Windows Subsystem for Linux.

CUDA on WSL might help set up CUDA.

build and render

$ git clone --recursive https://github.com/w3ntao/pbrt-minus.git

$ cd pbrt-minus
$ mkdir build; cd build
$ cmake ..; make -j

$ ./pbrt-minus ../example/cornell-box-specular.pbrt --spp 4

gallery

More scenes at https://github.com/w3ntao/pbrt-minus-scenes.