Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.1 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.1 KB

3D Triangle intersection Visualization with Vulkan in C++

1. How to build

Linux

git submodule init
git submodule update
cmake -S ./ -B build/ -DCMAKE_BUILD_TYPE=Release
cd build/
make -j12 install

Windows

Try your luck, this application should compile on Windows, but there are no guarantees.

2. How to run program

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

3. Preview

Configure runtime parameters:

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.

Try out different broad phase datastructures:

./triangles --broad=uniform-grid < ../hw3d/test/intersect/resources/medium0.dat