[osg-users] Render to Texture and osgQt (osgQOpenGL)

Glenn Waldron gwaldron at gmail.com
Mon Sep 16 11:58:41 PDT 2019


Read this - it might help:

http://forum.osgearth.org/solved-black-screen-with-drape-mode-in-a-QOpenGLWidget-td7592420.html#a7592421


Glenn Waldron / osgEarth


On Mon, Sep 16, 2019 at 2:03 PM Wouter Roos <rooswouter at gmail.com> wrote:

> Hi all,
> I'm really struggling with getting RTT to work under the latest version of
> osgQt and using osgQOpenGL. I am aware of the discussion around adding the
> setDrawBuffer(GL_BACK) and setReadBuffer(GL_BACK) to the camera for double
> buffered contexts, but no matter what settings I set for the window and
> QSurface, the screen remains empty. I am using the original osgPrerender
> example for testing. The same works fine with the previous version (the one
> that was updated to incorporate the camera buffer changes) of osgQt, which
> uses GraphicsWindowQt.
> Given the state of the current master of osgQt and the problems compiling
> and running it to begin with; is anybody using the osgQOpenGL at the
> moment? Is it working with a render to texture camera?
>
> Kind regards,
>
> Wouter
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76682#76682
>
>
>
>
>
> _______________________________________________
> 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/20190916/ea6ae442/attachment.html>


More information about the osg-users mailing list