Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 734 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 734 Bytes

embree-tinyobj-example

minimal raytracing example with a combination of embree and tinyobjloader

Requirements

  • CMake (>=3.20)
  • Embree (>=3)
  • OpenMP (Optional)

Build

git submodule update --init
mkdir build
cd build
cmake ..
make

Run

Download .obj from McGuire Computer Graphics Archive and run examples/main.cpp

Structure

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

Externals