[osg-users] How can I embed OSG into imgui as a widget ?

Riccardo Corsi riccardo.corsi at kairos3d.it
Thu Oct 3 01:44:49 PDT 2019


Hi Jishen,

if by ImGui you refer to the Dear Imgui library
<https://github.com/ocornut/imgui/>, what you're after is pretty odd, as
ImGui is specifically designed to be embedded in other applications with
their own rendering backend.
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.



On Sun, Sep 29, 2019 at 12:32 PM Jishen Li <lxx9xx at gmail.com> wrote:

> Hi,
>
> 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.
>
> How can I do it ?
>
> Thanks!
>
> ...
>
> Thank you!
>
> Cheers,
> Jishen
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76757#76757
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20191003/13ce2a55/attachment.html>


More information about the osg-users mailing list