1. Make a single glRect that spans the entire screen
2. Apply a single texture to this screen, with one texel for each pixel
3. Using your own libraries and routines, blit objects and perform raycasts, with the output on the texture
4. To remind the user that they are using an OpenGL application, rotate the rectangle from time to time
>>7 WRONG
1. make a framebuffer object, create a texture and bind it to its color attachment point.
3. same as <<7 san's 3., except output to the FBO then draw the texture over the entire screen. Also: use glDrawPixels.
4. to remind the user they are using an ENTERPRISE grade OpenGL application, 'forget' to restore previous state after calls to glBindFramebuffer & similar.
Name:
Anonymous2010-02-28 1:47
AARGH now I can't get the stupid fucking circle to redraw according to window resizing. Fuck.