PDA

View Full Version : Render to FBO



Gessos Paul
12-11-2009, 03:06 PM
Platform: WinXP, wxWidgets, C++, mingw, nVidia with 8192x8192 textures

I want to render triangles in a large buffer and get results for my work from the examination of this buffer.

Window's client area is awesome but very tiny. I need a buffer at least 4096x4096 and 16384 x 16384 is really good.

I think about render to FBO but because I never before use this extension I am here to ask.

any suggestions?

-----------
Your time is very expensive and I thank you because you are giving to me for free.

DWilson
12-11-2009, 05:07 PM
I recommend you to try FBO Tutorial (http://www.songho.ca/opengl/gl_fbo.html)

BionicBytes
12-11-2009, 05:23 PM
I suggest you check you device capabilities with getintegerv (GL_MAXVIEWPORTS) - I suspect that you'll find the max size for FBO is 8192 on GL 3.2 hardware such as Radeon 48xx and Geforce 8/9/200 series.

Check the FBO extension spec to see examples of how to setup and use.

Gessos Paul
12-14-2009, 12:11 PM
I recommend you to try FBO Tutorial (http://www.songho.ca/opengl/gl_fbo.html)

Excellent tutorial.
What I need.
Thanks.