playmesumch00ns
05-23-2005, 07:29 AM
I want to render my scene in tiles.
Currently I use
glViewport(0, 0, 1024, 778)
glMatrixMode( GL_PROJECTION )
gluPerspective(...)
To set up my projection, which works fine.
Now I want to take my 1024*778 image and render it sequentially in 128*128 tiles...
Can someone tell my the correct sequence of commands to issue to set up each tile?
Currently I use
glViewport(0, 0, 1024, 778)
glMatrixMode( GL_PROJECTION )
gluPerspective(...)
To set up my projection, which works fine.
Now I want to take my 1024*778 image and render it sequentially in 128*128 tiles...
Can someone tell my the correct sequence of commands to issue to set up each tile?