A simple ray tracing and rasterizing 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. It also has capabilities with CUDA.
- Eigen
- TinyObjLoader (in submodules)
- OpenCV
- OpenMP (I use some openmp pragmas)
- CUDA
- Radiance model
- Animation
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
Image below is first iteration of rasterization (some math for the projections are wrong and need to be fixed)
Image below is rendered with CUDA (its currently quite slow, ~80ms)



