/BVH

Implementation of a bounding volume hierarchy with a in real-time updating visualization of the underlying tree

Primary LanguageJavaMIT LicenseMIT

BVH

Implementation of a bounding volume hierarchy with a in real-time updating visualization of the underlying tree

Installation

git clone https://github.com/danielroth1/BVH.git && cd BVH && mkdir build && javac src/logic/GameControl.java -d build -sourcepath src/

Execution

cd build
java logic.GameControl

Controls

Key Action
left mouse button Add an object by left clicking anywhere on the left screen.
right mouse button Remove the previously added object by right clicking anywhere.
d Enable the tree view.
arrow keys Move the previously added object around.

Screenshot

grafik