Merge pull request #1 from dylanhu7/arch-linux-setup

add arch dependencies and versions
This commit is contained in:
Antares 2023-11-02 00:05:32 +08:00 committed by GitHub
commit 082207605d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.