[osg-users] Unable to save just captured screen

2009-10-23 Thread Iñaki García
Hi everybody: I am trying to capture images to disk, using the WindowCaptureCallback of the example osgscreencapture, but I became locked in the osgDB::writeImageFile (callback is called, I hope it creates an image from readPixels). But I always get 0KB test_1.jpg file. The error output of t

Re: [osg-users] Unable to save just captured screen

2009-10-27 Thread Iñaki García
Hi again: I've found the problem involving saving JPEG files from the example osgscreencapture. Currently, the "writeImageFile" lines are commented out, and this may lead to thinking that uncommenting them will work and make the file "test_1.jpg". But this is not actually true, since: - The pi

Re: [osg-users] Unable to save just captured screen

2010-03-10 Thread Arun Yoganandan
Hi, This post was very helpful. I ran into the same problem. Thanks a million! :) ... Thank you! Cheers, Arun -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25508#25508 ___ osg-users mailing list