Skip to content

Tyler3D/Ray-Tracing-Renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing Rendering for COMS 4160 @ Columbia University

Usage

./olio_rtbasic --input_scene --output

Test files are available in data/scenes. With the change to material/lighting system some no longer work. The following still work.

Multiple_surfaces_with_mat.scn
Multiple_surfaces_with_mat_2.scn

Here's what they look like

Alt text Alt text

DEPENDENCIES

Installing Dependencies on Ubuntu (20.04):

Set Environment Variables:

export OLIO_THIRD_PARTY=~/olio_third_party

Install Dependencies with apt

sudo apt install build-essential cmake clang pkg-config libeigen3-dev libtbb-dev libjemalloc-dev libspdlog-dev libboost-dev libboost-program-options-dev libboost-filesystem-dev libboost-system-dev libboost-regex-dev libboost-thread-dev libopencv-dev libglm-dev libglfw3-dev libglew-dev

Build Rest of Dependencies

# OpenMesh
mkdir -p ${OLIO_THIRD_PARTY}/OpenMesh
cd ${OLIO_THIRD_PARTY}/OpenMesh
wget https://www.graphics.rwth-aachen.de/media/openmesh_static/Releases/9.0/OpenMesh-9.0.tar.gz
tar zxf OpenMesh-9.0.tar.gz
cd OpenMesh-9.0.0
mkdir build-release; cd build-release
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
make
sudo make install

Installing Dependencies on MacOS:

First, install Xcode from the App Store and Homebrew from https://brew.sh.

Set Environment Variables:

export OLIO_THIRD_PARTY=~/olio_third_party

Install Dependencies with apt

brew install cmake llvm pkg-config boost eigen tbb opencv spdlog glm glfw glew wget

Build Rest of Dependencies

# OpenMesh
mkdir -p ${OLIO_THIRD_PARTY}/OpenMesh
cd ${OLIO_THIRD_PARTY}/OpenMesh
wget https://www.graphics.rwth-aachen.de/media/openmesh_static/Releases/9.0/OpenMesh-9.0.tar.gz
tar zxf OpenMesh-9.0.tar.gz
cd OpenMesh-9.0.0
mkdir build-release; cd build-release
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
make
sudo make install

Build Olio

cd olio
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published