[osg-users] OSG in Gtk3 GLArea

Steve Hardy osgforum at tevs.eu
Wed Jun 6 07:32:25 PDT 2018


Hi Robert,

OK I will check out the resize policy settings.

Excellent point about inverting the projection matrix.  Since the last post, I managed to eliminate most of the copying, with the single remaining copy reversing the pixel row order on-the-fly.  Since that copy is unavoidable, in the end it probably wouldn't save much time to invert the rendering.

One question I do have: in the screencapture sample that I based this off, there are 4 options: read pixels, and 1- 2- or 3 pixel buffer objects.  I assumed that single PBO is appropriate for this use (since our application doesn't demand super smooth high frame rates or anything, 15Hz is adequate).  But to minimize CPU involvement, is this the best choice?

It's getting close enough to be a workable backup plan, so next step would be to try your suggestion of copying between GL contexts.

Cheers,
Steve

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73988#73988







More information about the osg-users mailing list