add arch dependencies and versions

This commit is contained in:
Dylan Hu 2023-11-01 11:08:09 -04:00
parent ef43525eeb
commit 1e9a9890f8
No known key found for this signature in database
GPG Key ID: A7526651339BE8C0

View File

@ -334,11 +334,16 @@ git checkout fossa_compatibility
#### Arch Linux
```shell
sudo pacman -S cmake glew assimp boost gtk3 opencv glfw-x11 ffmpeg eigen libxxf86vm embree3
# Dependencies
sudo pacman -S cmake glew assimp boost gtk3 opencv glfw-x11 ffmpeg4.4 hdf5 fmt vtk eigen libxxf86vm embree3
# Project setup
cd SIBR_viewers
export CC=$(which gcc-12) CXX=$(which g++-12) # use gcc-12 and g++-12
export CMAKE_PREFIX_PATH="/usr/lib/ffmpeg4.4:/usr/include/ffmpeg4.4" # use ffmpeg4.4
cmake -Bbuild . -DCMAKE_BUILD_TYPE=Release # add -G Ninja to build faster
cmake --build build -j24 --target install
```
The setup step is the same as Ubuntu.
### Navigation in SIBR Viewers
The SIBR interface provides several methods of navigating the scene. By default, you will be started with an FPS navigator, which you can control with ```W, A, S, D, Q, E``` for camera translation and ```I, K, J, L, U, O``` for rotation. Alternatively, you may want to use a Trackball-style navigator (select from the floating menu). You can also snap to a camera from the data set with the ```Snap to``` button or find the closest camera with ```Snap to closest```. The floating menues also allow you to change the navigation speed. You can use the ```Scaling Modifier``` to control the size of the displayed Gaussians, or show the initial point cloud.