Skip to content

BachiLi/lajolla_public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

UCSD CSE 272 renderer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published