I want to render my scene in tiles.
Currently I use
[source]
glViewport(0, 0, 1024, 778)
glMatrixMode( GL_PROJECTION )
gluPerspective(…)
[/source]
To set up my projection, which works fine.
Now I want to take my 1024778 image and render it sequentially in 128128 tiles…
Can someone tell my the correct sequence of commands to issue to set up each tile?