Re: [Interest] Qt3D - Using external Textures from another OpenGL Context

2016-12-05 Thread Philip Schuchardt
Sweet! Sounds interesting. I want to play around with combining QtLocation (QML Map item), DEMs, and Qt3D to do some simple terrain modeling. On Mon, Dec 5, 2016 at 1:59 PM Sean Harmer wrote: > Hi, > > On 05/12/2016 18:54, Philip Schuchardt wrote: > > I want to render QML to an OpenGL texture th

Re: [Interest] Qt3D - Using external Textures from another OpenGL Context

2016-12-05 Thread Sean Harmer
Hi, On 05/12/2016 18:54, Philip Schuchardt wrote: I want to render QML to an OpenGL texture through a framebuffer and then share that texture with Qt3D. there is a working WIP progress implementation of this on gerrit at: https://codereview.qt-project.org/#/q/status:open+project:qt/qt3d+branc

[Interest] Qt3D - Using external Textures from another OpenGL Context

2016-12-05 Thread Philip Schuchardt
I want to render QML to an OpenGL texture through a framebuffer and then share that texture with Qt3D. Rendering to a framebuffer is fairly straight forward with a QQuickRenderControl. A good example of it is in https://doc.qt.io/qt-5/qtquick-rendercontrol-example.html. Is there any way to share Op