Skip to content

bbdb68/vdb-1

 
 

Repository files navigation

VDB

What is this?

VDB is a C++ library that lets you to add interactive visualizations to your code: e.g. visualize real-time sensor data, see step-by-step algorithm results, or tweak the parameters of an image processing algorithm and see the results change live. You can also use it to prototype full GUI applications.

What does it do?

The library simplifies the tedious process of opening an OpenGL graphics window, and also includes the Dear ImGui library. For example, here is a complete program that opens a graphics window, and lets you change the background color with a slider widget:

#include <vdb.h>
int main(int, char**)
{
    float color[3] = { 1.0f, 1.0f, 1.0f };
    VDBB("Test window");
    {
        vdbClear(color[0], color[1], color[2], 1.0f);
        SliderFloat3("Color", color, 0.0f, 1.0f);
    }
    VDBE();
    return 0;
}

How do I use it?

For a quick start, try to compile and run test.cpp. This is a self-contained program that uses the library to show off basic usage patterns. Compile the program by following the instructions for your platform, written in the comment section at the top of the file.

Once you are able to compile and run this program you should be good to go integrate the library into your own project! Here are some tips to get you further:

  • Learn more about using ImGui and its features by visiting its project page, or by reading its documentation found at the top of the imgui.h header file.

  • Look at screenshots and videos of the library in action in the gallery.

  • See also Why Qt and not ImGui, because this tool might not be the best choice for you.

About

Visual debugger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.5%
  • C++ 30.5%
  • Objective-C 0.0%
  • Makefile 0.0%
  • Batchfile 0.0%
  • CMake 0.0%