whit2333 / imgui_DM

An EPICS Display Manager using Dear ImGui
3 stars 0 forks source link

Finally ROOT canvas in dear ImGUI #2

Open DraTeots opened 5 years ago

DraTeots commented 5 years ago

Dear Whitney,

Have you been able to figure out this problem? https://root-forum.cern.ch/t/draw-gl-canvas-in-dear-imgui/27896

I tried to dig into imgui_DM code but found everything done without root.

whit2333 commented 5 years ago

Hi @DraTeots ,

Sorry for the delayed reply. I gave up on this. After diving into the root code I realized that we would need to do a lot of work to connect the two worlds. Most of ROOT's non-3D open gl painting seems to be done in old style open-gl (Version 2 I think), not to mention old style c++. It really would require some serious effort by someone really familiar with opengl (and that's not me).

That said, I think immediate mode ROOT graphics interface would be neat and really awesome if it could be used with Dear ImGui!

Cheers