Try searching imgui through the forum - this scenario has been already discussed at some topic as far as I remember.
Archived discussion
Render IMGUI controls on top of GlfwOcctView from Samples
The base code is taken from the OCCT Samples and I want to add the IMGUI controls on top of it. I get some weird behaviour(continuous flickering) as you can see here: Archived image: external image.
I tried setting:
graphicDriver->SetBuffersNoSwap(true);, but the result generated displays only the IMGUI elements.
Archived image: external image
Is there any workaround to be able to render both IMGUI and the OCCT scene in the same GLFW window at the same time?
Discussion
3 archived replies
Posts are displayed in their archived order.
I actually already tried implementing the solution discussed in a previous post but the result is not reproducible in my case even if my code is similar to theirs. The proposed workaround in that particular thread was disabling the graphicDriver buffer swapping, which produced a different output than the expected one. But thanks a lot for the input, I will try also looking for other posts related to this topic. Have a nice day!
I found a simple way to solve the problem mentioned in this topic.
Watch video..
I can send document about how to be implemented imGui + Win32 together.
(sorry for bad English)