FinleyPan / DRViewer

A lightweight, user-friendly and interactive 3D visualization tool for viewing real-time 3D reconstruction and SLAM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

DRViewer means Dense Reconstruction Viewer, it's basically a lightweight 3D visualization tool based on modern graphic pipeline and C++11, designed for Simultaneous localization and mapping(SLAM in brief) and realtime MVS, capable of viewing structured 3D point cloud, camera trajectory and multiple input sources(up to eight).

recon_gif track_gif

How to Build && Usage

after cloning this project, install following prerequisites firstly:

$ sudo apt-get install libglfw-dev
sudo apt-get install libglm-dev
  • OpenCV 3(optionally for building the demo)

Then follow cmake routine to build the whole project,the library file and header file can be found in /path/to/install_directory:

$ cd /path/to/project_directory
$ mkdir build && cd build
$ cmake -DCMAK_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install_directory ..
$ make && make install

Finally, you can add these files to your projects.

Interactive Operations on DRViewer

1 move mouse under left mouse button pressed: move the whole 3D scene.
2 move mouse under right mouse button pressed: rotate the whole 3D scene around x/y axis.
3 scroll mouse wheel: zoom in and out the whole 3D scene.
4 scroll mouse wheel under ctrl pressed: enlarge and shrink ths points.
5 press left/right arrow button: rotate the whole 3D scene around z axis.

About

A lightweight, user-friendly and interactive 3D visualization tool for viewing real-time 3D reconstruction and SLAM

License:MIT License


Languages

Language:C 80.2%Language:C++ 19.0%Language:CMake 0.9%