View Full Version : Displaying large textures

10-10-2002, 11:04 AM
Need to display large textures (for image maps. Till now have used a call to GL_TEXTURE_PROXY and figured out the maximum texture size supported, and then I tile the large texture. The problem is that there is a big perfromance hit...
The solution is most likely to create a single texture object (lets say 1024x1024) and then substitute texture with another part of image buffer. What I need to know is how to calculate what part of the buffer is at any time viewable (ortho projection)...

Any tips for texture paging would also be helpful...
Thanks in advance ....

Andreas Panos

10-10-2002, 07:31 PM
Well how hard is it to know what's in view in ortho. All you have to do is test if any of the vertices fall inside the viewport which is just a rectangle.

For doing texture management, you would need to know how much video RAM you have. The drivers will do it for you and Im sure they do a fine job.

Your problem may come from rendering full screen polygons. They tend to kill FPS.