News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

maximum resolution of image load by openGL

Started by mr_empty, December 11, 2009, 01:42:35 AM

Previous topic - Next topic

mr_empty

hi all,

  i want to load a very high resolution of image, say about 30000X40000, is that support by openGL?thanks!

oex

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
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

xanatose


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?

Farabi

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.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"