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

2019-10-07 Thread Jishen Li
Thanks! It helped me. Chris Hanson wrote: > This is usually pretty easy if you can expose an HWND (on Windows) of the UI > region that can be used to create an OpenGL context and passed to OSG's > GraphicsWindowEmbedded. > > On Sun, Sep 29, 2019 at 4:32 AM Jishen Li < ()> wrote: > > > >

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

2019-10-03 Thread Riccardo Corsi
Hi Jishen, if by ImGui you refer to the Dear Imgui library , 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

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

2019-09-30 Thread Chris Hanson
This is usually pretty easy if you can expose an HWND (on Windows) of the UI region that can be used to create an OpenGL context and passed to OSG's GraphicsWindowEmbedded. On Sun, Sep 29, 2019 at 4:32 AM Jishen Li wrote: > Hi, > > I found people tried to embed ImGui into OSG, not vice verse. I

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

2019-09-29 Thread Jishen Li
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