git submodule init
git submodule update
cmake -S ./ -B build/ -DCMAKE_BUILD_TYPE=Release
cd build/
make -j12 install
Try your luck, this application should compile on Windows, but there are no guarantees.
cd build/
# Available options:
# -h [ --help ] Print this help message
# --broad arg (=octree) Algorithm for broad phase (bruteforce, octree, uniform-grid)
./triangles --broad=uniform-grid < ../hw3d/test/intersect/resources/large0.dat
Variables such as colors of different objects, lighting intensity as well as color and direction can be configured through the GUI implemented with Dear ImGui.
./triangles --broad=uniform-grid < ../hw3d/test/intersect/resources/medium0.dat