PDA

View Full Version : How do I draw directly to image?



MrUNOwen
07-02-2011, 09:56 AM
Hello,

Does anyone know how to draw to a RGBA Byte array without needing to draw to a screen buffer? My program needs to draw an image larger than the screen, so using the screen buffer doesn't work well.

carsten neumann
07-02-2011, 10:44 AM
You can do that using Framebuffer Objects (FBO), see for example the FBO wiki page (http://www.opengl.org/wiki/Framebuffer_Objects).