minimal raytracing example with a combination of embree and tinyobjloader
- CMake (>=3.20)
- Embree (>=3)
- OpenMP (Optional)
git submodule update --init
mkdir build
cd build
cmake ..
make
Download .obj
from McGuire Computer Graphics Archive and run examples/main.cpp
Name | Description |
---|---|
camera.h |
ray generation from camera |
core.h |
basic types |
image.h |
image |
material.h |
material |
scene.h |
holding mesh data, ray-scene intersection, loading model |