Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.33 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.33 KB

CommonVisualizer

Sometimes when we want to do simulation or computation in C++, it is not easy to visualize the data, especially transforms.

This project aims at providing a header-only library for data visualization with OpenGL, such as mesh, point cloud and simple shapes. The hpp header can also be easily built as library (examples/test_sep_*).

Dependencies

  • freeglut
  • glm
  • glew
  • glfw3
  • libpng++
  • eigen3 (for one example code only)

Steps

  • download
  • include CommonVisualizer.hpp
  • build with gl-libs

Interactions

  • w-s-a-d rotate
  • n-f zoom
  • up-down-left-right translate
  • left-mouse-button click-drag-release to rotate
  • middle-mouse-button click-drag-release to zoom (only up and down)
  • right-mouse-button click-drag-release to translate

Screenshots

  • supported primitives primitives
  • visualization of boxes fall into crate primitives
  • visualization of spheres primitives
  • screenshot generation primitives