mosra / magnum

Lightweight and modular C++11 graphics middleware for games and data visualization
https://magnum.graphics/
Other
4.79k stars 441 forks source link

Magnum-based graphing library #315

Open chiumichael opened 5 years ago

chiumichael commented 5 years ago

Is there any interest or a plan for a layer/library that has graphing functionality? I think that a magnum-based graphing library that could produce high quality charts would be interesting and possibly quite popular.

mosra commented 5 years ago

Good news: some years ago I was working on a commercial product loosely based on Magnum and the core of its functionality was displaying interactive charts for huge data sets. So I can say I already know how to implement the particular pieces of the puzzle. A shader for drawing smooth lines (to become part of the builtin Shaders library) could be the first step (it's been on my TODO list for quite a while already). The best place for the whole charting library could be in the still-experimental Ui library, I think.

Bad news: current roadmap is full of high-priority things like Vulkan support, skeleton animation or Python bindings and I'm afraid I won't personally have time to look into this in the near future.

Besides that, Magnum has an integration of the Dear ImGui library -- but I have no knowledge about any ImGui chart widgets. Finally, I have a draft of an example that uses Magnum to produce SVG images, so creating charts that way could be another possibility.