Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.63 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.63 KB

lajolla

UCSD CSE 272 renderer

Build

All the dependencies are included. Use CMake to build. If you are on Unix systems, try

mkdir build
cd build
cmake ..
cmake --build .

It requires compilers that support C++17 (gcc version >= 8, clang version >= 7, Apple Clang version >= 11.0, MSVC version >= 19.14).

Apple M1 users: you might need to build Embree from scratch since the prebuilt MacOS binary provided is built for x86 machines. (But try build command above first.)

Run

Try

cd build
./lajolla ../scenes/cbox/cbox.xml

This will generate an image "image.exr".

To view the image, use hdrview, or tev.

Acknowledgement

The renderer is heavily inspired by pbrt, mitsuba, and SmallVCM.

We use Embree for ray casting.

We use pugixml to parse XML files.

We use pcg for random number generation.

We use stb_image and tinyexr for reading & writing images.

We use miniz for compression & decompression.

We use tinyply for parsing PLY files.

Many scenes in the scenes folder are directly downloaded from http://www.mitsuba-renderer.org/download.html. Scenes courtesy of Wenzel Jakob, Cornell Program of Computer Graphics, Marko Dabrovic, Eric Veach, Jonas Pilo, and Bernhard Vogl.