https://github.com/ajlekcahdp4/vulkan-triangle-intersection
3D spinning triangles intersection Visualization with Vulkan in C++
https://github.com/ajlekcahdp4/vulkan-triangle-intersection
Last synced: 2 months ago
JSON representation
3D spinning triangles intersection Visualization with Vulkan in C++
- Host: GitHub
- URL: https://github.com/ajlekcahdp4/vulkan-triangle-intersection
- Owner: ajlekcahdp4
- Created: 2023-01-26T07:32:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T14:41:17.000Z (over 2 years ago)
- Last Synced: 2025-02-09T15:46:37.993Z (4 months ago)
- Language: C++
- Homepage:
- Size: 18.7 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 3D Triangle intersection Visualization with Vulkan in C++

# 1. How to build
## Linux
```sh
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
```sh
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](https://github.com/ocornut/imgui).

## Try out different broad phase datastructures:
```sh
./triangles --broad=uniform-grid < ../hw3d/test/intersect/resources/medium0.dat
```