[osg-users] pbuffer performance

2007-09-25 Thread Rahul Jain
Hi Guys, This question is not directly related to OSG, but I hope the OSG users must have answer to this problem and the reason i am asking this on this forum is that because the OSG has most number of OpenGL experts.;) I am transfering data from one pbuffer to other pbuffer using glCopyPixel and

Re: [osg-users] pbuffer performance

2007-09-25 Thread Robert Osfield
Hi RJ, glCopyPixels will be doing a round trip to the CPU. You might be able to help out by using a PixelBuffer object for reading and writing, but as general advice I have to say absolutely don't code the problem in the way your are doing as it will be slow. Use FBO to render a texture and