[osg-users] How to resize when using PIXEL_BUFFER?

Greg Danaha osgforum at tevs.eu
Thu Feb 4 13:15:51 PST 2016


Hi,

Our application (Windows x64) writes to a memory buffer rather than a window.  The app using OSG runs as a hidden console app and streams the rendered images via named pipe to a client app.  (Even if we weren't using a separate process for OSG we need to render using PIXEL_BUFFER since our app is WPF and doesn't provide a usable window handle.)

When I resize the display window I send a message to my processor so it can resize the OSG components.  However, I cannot find a way to do this that works.  I get the following results by trying different methods.



... 

Thank you!

Cheers,
Greg

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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmallEarth-ProjChange.png
Type: image/png
Size: 160484 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160204/92baf094/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmallEarth-NoProjChange.png
Type: image/png
Size: 257164 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160204/92baf094/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmallEarthEventQueue.png
Type: image/png
Size: 195128 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160204/92baf094/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LargeEarth.png
Type: image/png
Size: 377162 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160204/92baf094/attachment-0011.png>


More information about the osg-users mailing list