hi all,
i want to load a very high resolution of image, say about 30000X40000, is that support by openGL?thanks!
Not to my knowledge I think the highest accepted by most cards is 4096x4096 (less for some), I guess it really depends what you want to do with it
GLint textureSize;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &textureSize);
The maximum I have seen is 8192x8192
Instead of displaying a huge image, why not divide it in chunks of 512x512 or 1024x1024?
Quote from: xanatose on December 21, 2009, 01:38:09 PM
GLint textureSize;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &textureSize);
The maximum I have seen is 8192x8192
Instead of displaying a huge image, why not divide it in chunks of 512x512 or 1024x1024?
GLUbuildmipmap will make things slower for that.