From 4268e86b79717132d9abe0fe8e7019bdb69c2d1b Mon Sep 17 00:00:00 2001 From: bkerbl Date: Thu, 6 Jul 2023 16:59:35 +0200 Subject: [PATCH] Use absolute paths, update readme --- README.md | 3 +-- arguments/__init__.py | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ecea0d..45d7ee3 100644 --- a/README.md +++ b/README.md @@ -285,8 +285,7 @@ sudo apt install -y libglew-dev libassimp-dev libboost-all-dev libgtk-3-dev libo cd SIBR_viewers_linux cmake -Bbuild . cmake --build build --target install -``` -If you receive a build error related to ```libglfw```, locate its library directory on your machine and set up a symbolic link there ```libglfw3.so``` → ``````. +``` ### 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``` for camera translation and ```Q, E, I, K, J, L``` 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. diff --git a/arguments/__init__.py b/arguments/__init__.py index 5b057cc..a1eec82 100644 --- a/arguments/__init__.py +++ b/arguments/__init__.py @@ -55,6 +55,12 @@ class ModelParams(ParamGroup): self.eval = False super().__init__(parser, "Loading Parameters", sentinel) + def extract(self, args): + g = super().extract(args) + g.model_path = os.path.abspath(g.model_path) + g.source_path = os.path.abspath(g.source_path) + return g + class PipelineParams(ParamGroup): def __init__(self, parser): self.convert_SHs_python = False