Skip to content

Ashe/4D-Geometry-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

Ashley Rose - 4D Geometry Viewer

What is this?

This project is an interactive simulation for visualising 4D geometry. See report.pdf for a full writeup about what this project is and how it was made.

How do I use it?

Use WASD to move the camera with space and c to go upwards and downwards. Hold down the right-mouse-button and move the mouse to look around.

Pick a polytope from the menubar in the top left and then use the transformation window to manipulate it. Changing the settings of the 4D camera will also change the appearance of the object - I highly recommend translating the shape in 4D and then moving the 4D camera to re-centre it!

How do I compile it?

This project was created using CMake to be cross-platform.

Visual Studio:

Using Visual Studio, right click inside the folder and select open cmake project in Visual Studio (or something like that). For more information, check this.

Command line:

You need to create a build directory and then generate some makefiles before you can begin compilation. The full process looks like this:

mkdir build && cd build
cmake ..
make
./App

Credits

Inside the images folder there is some material that wasn't created by myself.