A simple ray tracing (rasterizing in the future) application that loads and renders 3D meshes from .obj files. Can use the headers and other CPP files for your own applications, but to quickly render can build and pass in an obj path and output path to render and save as a png.
- Eigen
- TinyObjLoader (in submodules)
- OpenCV
- Read Textures
- Radiance model
- BVH
- Animation
- Rasterization
- CUDA
First clone repo, then:
git submodule update --init --recursive
Once submodules have been added and dependencies installed
mkdir build/ && cd build/
cmake ..
make
Image below is just normal map with barycentric interpolation
Image below is with texture mapping as well