Ogre Version: : v1.9.0
Operating System: Windows 10 x64
Render System: OpenGL
I have applied the integration of ImGui in OGRE v1.9
Here is the link and repo of this implementation:
viewtopic.php?t=89081 (wrong link fixed, sorry )
https://github.com/only-a-ptr/ogre-imgui-testbed1
The integration works great.
But unfortunately in this implementation the ImGui overlaps the cursor (see screenshots)
How do I draw the cursor OVER (AFTER) the ImGui?
P.S.
By the way, in the latest versions of Ogre (v1.12.xx+), the integrated ImGui is implemented as a part of Ogre Overlay system, and there is no problem with cursor overlapping.
But in case of Ogre v1.9 ImGui is not a part of Overlay system, it implemented using Ogre::Renderable (see sources in the repository)
Help ((
Screenshots:
ImGui vs Overlay. Help :( (UPDATED)
- nuke
- Halfling
- Posts: 72
- Joined: Wed Oct 01, 2014 1:16 am
- Location: Crimea
- x 5
ImGui vs Overlay. Help :( (UPDATED)
Last edited by nuke on Wed Jun 16, 2021 1:14 pm, edited 2 times in total.
- nuke
- Halfling
- Posts: 72
- Joined: Wed Oct 01, 2014 1:16 am
- Location: Crimea
- x 5
Re: ImGui vs Overlay. Help ((
I'm sorry, I was wrong, I gave the wrong link.
Here is the correct one:
Ogre ImGui binding:
viewtopic.php?t=89081
Here is the correct one:
Ogre ImGui binding:
viewtopic.php?t=89081
-
- OGRE Team Member
- Posts: 1994
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1074
- Contact:
Re: ImGui vs Overlay. Help :( (UPDATED)
this was precisely the reason why I integrated ImGui as an overlay. Previously it was rendered after RENDER_QUEUE_OVERLAY instead of being properly ordered in.
You could try rendering after an earlier RENDER_QUEUE so the overlays end up on top.
You could try rendering after an earlier RENDER_QUEUE so the overlays end up on top.