Re: [osg-users] osgscreencapture offscreen rendering - clamping floats

2009-07-24 Thread Jean-Sébastien Guay
Hi Brian, Sorry about replying to an eajavascript:BOQ('javascript:abPreSubmit ("h_ShimmerSend")')rlier message. I thought changing the subject and removing the message text would be OK. I'm curious how your client knew that I used an old osgOcean message. Rookie mistake :-) There are headers

Re: [osg-users] osgscreencapture offscreen rendering - clamping floats

2009-07-24 Thread Brian R Hill
e); ext->glUnmapBuffer(GL_PIXEL_PACK_BUFFER); ext->glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); Thanks, Brian -osg-users-boun...@lists.openscenegraph.org wrote: - To: osg-users@lists.openscenegraph.org From: "Art Tevs" Sent by: osg-users-boun...@lists.openscenegraph.org Date: 07/2

Re: [osg-users] osgscreencapture offscreen rendering - clamping floats

2009-07-24 Thread Art Tevs
Hi Brian, yes, you need to disable the OpenGL color value clamping. This can be done by this, I think: Code: // disable color clamping, because we want to work on real hdr values osg::ClampColor* clamp = new osg::ClampColor(); clamp->setClampVertexColor(GL_FALSE); clamp->setClampFragmentColor(

Re: [osg-users] osgscreencapture offscreen rendering - clamping floats

2009-07-24 Thread Jean-Sébastien Guay
Hi Brian, I've been working with the osgscreencapature example to use pbuffers for offscreen rendering. I'm having a problem with floating point values being clamped [0.0 - 1.0]. Any ideas on how to turn the clamping off? There's been discussion about this in the past, check the archives. I

[osg-users] osgscreencapture offscreen rendering - clamping floats

2009-07-24 Thread Brian R Hill
Folks, I've been working with the osgscreencapature example to use pbuffers for offscreen rendering. I'm having a problem with floating point values being clamped [0.0 - 1.0]. Any ideas on how to turn the clamping off? Brian This is a PRIVATE message. If you are not the intended recipient, plea