koide3/iridescence
Visualization library for rapid prototyping of 3D algorithms [C++, Python]
What it solves
Iridescence gives researchers a quick, lightweight way to see and interact with 3D data—especially point clouds—while they are developing algorithms. Instead of building a full rendering engine or wiring up complex graphics code, you can drop in a viewer, add objects, and add simple UI controls in a few lines. It is deliberately not a general-purpose, photorealistic renderer; it focuses on speed and simplicity for prototyping.
How it works
You create a viewer instance (a global singleton) and then register “drawables” (objects like spheres or point clouds) under unique names, each with a coloring scheme (e.g., Rainbow for height-based coloring, FlatColor for a solid color). A spin loop keeps the viewer open and updates the scene. The library tightly integrates Dear ImGui, so you can register UI callbacks that create sliders, buttons, and other controls that affect the visualization in real time. It is available as a C++ library (installed via PPA or built from source) and as a Python package (pyridescence on PyPI), with the same API in both.
Who it’s for
Researchers and developers working on 3D algorithms—especially point-cloud processing—who need a fast, minimal visualization tool for their own experiments and prototypes. It is not aimed at game developers or anyone needing rich, textured, realistic rendering. The author uses it in academic robotics papers (e.g., RAL, IROS), so it is well suited to robotics and SLAM-style research.
Highlights
- Lightweight and easy to embed in C++ or Python projects
- Built-in Dear ImGui integration for rapid UI creation (sliders, buttons, etc.)
- Simple drawable system with named objects and multiple coloring schemes (Rainbow, FlatColor)
- Focused on point-cloud rendering, not general-purpose graphics
- Available via Ubuntu PPA (C++) and PyPI (Python), with source builds supported
- MIT licensed
Related
- Project
- Project
- Project
- Project
- Project