<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Jishen,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">if by ImGui you refer to the <a href="https://github.com/ocornut/imgui/">Dear Imgui library</a>, what you're after is pretty odd, as ImGui is specifically designed to be embedded in other applications with their own rendering backend.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">This is why the library does create a window handle, nor is able to render itself, but just provides you vertex buffers that you have to use in your rendering backend.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 29, 2019 at 12:32 PM Jishen Li <<a href="mailto:lxx9xx@gmail.com">lxx9xx@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I found people tried to embed ImGui into OSG, not vice verse. I am using OSG to render a scene in a separate thread. Since my main GUI is built by using ImGui, I want to embed OSG as a widget-like sub-window inside imgui. <br>
<br>
How can I do it ? <br>
<br>
Thanks! <br>
<br>
... <br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Jishen<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=76757#76757" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=76757#76757</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>