Hi,

i have some questions regarding Pbuffers, FBO, and offscreen rendering. I'm
not showing the final render on a window but retrieving it with glReadPixels
for CPU processing.

   1) is there any method to create a Graphics Context without any visible
window other than using pbuffer = true in traits (on Windows XP)?

I have read that Frame Buffer Object (FBO) replaces much of the
functionality of PBuffers (Simon Green slides about FBO) and that they have
better performance.

   2) Can FBO's be used without using PBuffer to establish the
GraphicsContext? Since they need one, how?

Since FBO's are established at camera objects, is there any method to read
back the rendered pixels (other than doing it myself with glReadPixels)? Is
perhaps Image the correct path?

   3) If the desired size of the rendered result changes, i have to recreate
the pbuffer manually creating a new graphics context with the new size. If i
use FBO, will i
have to manually resize it, or it is done by the camera?

I have already achieved doing it with pbuffers, but i will do the
rendering with FBO also and compare both methods (until replies, using
pbuffer to create de GC).


Thanks a lot.

PD: StatsHandler fails to create the HUD camera if the main camera's
graphics context is PixelBufferWin32 instead of GraphicsWindowWin32. It
doesn't found a correct GraphicsContext.
Is this perhaps a bug?

PPD: Any ideas when will the programming guide book be available ?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to