Hi Thomas,

One thing I would check:

In windowed mode, is the entire window on your screen, or are you clipping some 
of the image that way?

I would try just running the program with a viewer loop (without taking 
screenshots and exiting right away) to make sure this is alright.  This would 
also allow you to confirm that the image looks right in the viewer without 
bringing the screenshot into play.

I threw your code into a test app here, and it works fine for me.  If I clip 
the window off the top of the screen though, I get rows of black pixels - not 
exactly what you see, but not the "full" image either.


Cheers,
Tom

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to