Closed jvcleave closed 8 years ago
Hi! Just found imgui and an addon is already on the go :D Found this at their Readme:
I integrated ImGui in my engine and some elements are disappearing when I move windows around..
Most likely you are mishandling the clipping rectangles in your render function. Rectangles provided by ImGui are defined as (x1,y1,x2,y2) and NOT as (x1,y1,width,height).
That may be the case with oF integration. Best!
interesting - it's been a couple of weeks but I thought it might be related to trying to get glScissor in the OF pipeline. That seems to be the big difference
You're most probably right! Just wanted to add that in case it was relevant. ImGUI looks promising!
yeah - I'm somewhat torn on just going back and using the render stuff from ImGui examples. I thought getting it into OF-speak would make it easier for cross-platform-ness but it might not be worth it
Seems to be fixed by moving away from ofMesh
some strange clipping going on - doesn't happen with ImGui