You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+13-7
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,21 @@ SurfelWarp is a dynamic reconstruction system similar to [DynamicFusion](https:/
10
10
11
11
Wei Gao and Russ Tedrake, "SurfelWarp: Efficient Non-Volumetic Single View Dynamic Reconstruction", Robotics: Science and Systems (RSS) 2018 [[Project]](<https://sites.google.com/view/surfelwarp/home>)[[Paper]](https://arxiv.org/abs/1904.13073)[[Presentation]](https://www.youtube.com/watch?v=fexYm61VGMA)
12
12
13
-
### Build Instruction
13
+
### Build Instructions
14
14
15
-
The code is developed on Visual Studio 2015 with `CUDA 9`. Note that `CUDA 10` and higher versions are not compatible with `pcl 1.8` and don't work. The code also works with Ubuntu 16.04, but for unknown reason it runs much slower on ubuntu (seems to be problem with GPU driver that only permits Debug mode). You might need to update [these lines](https://github.com/weigao95/surfelwarp/blob/4dd7a99b4cf92ebc168a592616554a54eee98a7b/CMakeLists.txt#L11) of the build script according to your GPU (the default is for Nvidia Titan Xp).
15
+
The code was originally developed on Visual Studio 2015 with `CUDA 9`and `PCL 1.8` and successfully tested on Ubuntu 16.04. Note that `CUDA 10` and higher versions are not compatible with `PCL 1.8`. However, you can now chose to use the `cilantro` library instead of `PCL`, making the code compatible with any version of `CUDA` starting with `CUDA 9` and above. The code was also successfuly tested with the `cilantro` option on Ubuntu 18.04 with gcc 7.4 and Windows 10 with Visual Studio 2017. Also note that, for some unknown reason, the code runs much slower on Ubuntu (seems to be problem with GPU driver that only permits Debug mode).
16
16
17
-
In addition to `cuda`, the code depends on `pcl` , `opencv` and `glfw`. On Ubuntu, these dependencies can be installed with `apt`, while they need to be built from source on windows. For Ubuntu 16.04, you can run the following command to install the dependency
17
+
To switch to `cilantro` and effectively remove the `PCL` dependency, pass `-DVISUALIZATION_LIBRARY=cilantro` and `-Dcilantro_DIR=<path_to_cilantro_install_directory>` when you run `cmake` or fill in the corresponding `cmake-gui` options. You will have to build `cilantro` and its dependency, `Pangolin`, from scratch, which should be relatively easy and is explained further.
18
+
19
+
To choose the CUDA architecture [compatible](https://en.wikipedia.org/wiki/CUDA#GPUs_supported) with your `CUDA` version and graphics card, thereby also reducing compile time, pass `-DCUDA_ARCH=<arg>` to CMake, where `<arg>` is a two-digit compile compatibility version, e.g. "61", or choose this number from the corresponding drop-down in `cmake-gui`.
20
+
21
+
In addition to `CUDA` and `PCL`/`cilantro`, the code depends on `OpenCV` and `GLFW`. On Ubuntu, these dependencies can be installed with `apt`, while they need to be built from source on windows. On Ubuntu, you can run the following command to install the dependencies:
Now you are ready to build (add cmake arguments as nescessary):
24
28
25
29
```shell
26
30
git clone https://github.com/weigao95/surfelwarp
@@ -29,10 +33,12 @@ mkdir build && cd build
29
33
cmake ..
30
34
make
31
35
```
36
+
#### Building _cilantro_ and _Pangolin_
37
+
For instructions on building cilantro and Pangolin via Linux terminal, please refer to [this document](https://github.com/weigao95/surfelwarp/blob/master/doc/cilantro_build.md).
38
+
#### Building on Windows
39
+
For instructions on building SurfelWarp and its dependencies on Windows, please refer to [this document](https://github.com/weigao95/surfelwarp/blob/master/doc/windows%20build.md). We also provide a [pre-built binary](https://github.com/weigao95/surfelwarp/tree/master/test_data/binary) for the windows platform (The `-arch` flag for this executable is `sm_60`).
32
40
33
-
For build on windows please refer to [this document](https://github.com/weigao95/surfelwarp/blob/master/doc/windows%20build.md). We also provide a [pre-built binary](https://github.com/weigao95/surfelwarp/tree/master/test_data/binary) for the windows platform (The `arch` flag for this executable is `sm_60`).
34
-
35
-
### Run Instruction
41
+
### Run Instructions
36
42
37
43
We use the [VolumeDeform dataset](https://www.lgdv.tf.fau.de/publicationen/volumedeform-real-time-volumetric-non-rigid-reconstruction/) to illustrate how to run the code. An example configuration file is provided [here](https://github.com/weigao95/surfelwarp/blob/master/test_data/boxing_config.json) for the "boxing" sequence. First, you need to download the boxing sequence from the VolumeDeform dataset and extract it to `data_root`, your file structure should look like
0 commit comments