liteviz is a lightweight 3D real-time visualization application designed for common 3D vision-related tasks, such as SLAM and 3D real-time reconstruction. It supports visualization of common 3D elements and is both lightweight and extensible, allowing integration into your application with just a few files. Custom shader support provides greater extensibility compared to Pangolin and Open3D. Compatible with C++ projects and easily wrapped for Python applications.
C++17 or later
CMake 3.14+
# build the examples/cube
git clone https://github.com/panxkun/liteviz.git
cd liteviz
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON && make
./examples/cube/cube-testThen you will see a cube with mouse interaction.
Follow the use in examples/cube/main.cpp for a quick start. You only need to include the liteviz folder in your project. Then
#include <liteviz/core/detail.h>
using namespace liteviz;
class YourConfig : public LiteVizConfig {
// Your code here
};
class YourRenderer : public LiteVizRenderer {
// Your code here
};
class YourVizApp : public LiteVizApp {
// Your code here
// register your renderers here
bool initResources() override {
std::shared_ptr<YourConfig> config = std::make_shared<YourConfig>();
std::shared_ptr<YourRenderer> renderer = std::make_shared<YourRenderer>(config.get());
this->_registeredRenderers.push_back(renderer);
return true;
}
};
Then your can use YourVizApp to start your visualization application.
You can find more usage examples in the following projects:

