I think I found the reason. It looks like X windows doesn't support floating point pbuffers.
Brian This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. • [email protected] wrote: ----- To: OpenSceneGraph Users <[email protected]> From: Brian R Hill/DEF/c...@csc Sent by: [email protected] Date: 08/04/2009 06:02PM Subject: [osg-users] Offscreen Rendering - clamping problem Folks, Sorry for another post on this subject. I just can't figure out how to disable the clamping of the output. I'm want to render offscreen without a window with 32 bit floats. Attached is the sample code I'm working with, it's based on the osgscreencapture.cpp example. It uses a shader to write an input uniform float "val" to the pbuffer. The "val" varies from -1.0 ... 2.0. Any help would be appreciated. Thanks, Brian (See attached file: offscreenrender.cpp)_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

