-
Max. texture size
Hello,
does anybody know why the size of a texture bitmap is limited to 256 pixels for s and t?
I need a bigger one, may be 1024 ore more.
My workaround - composing just a 512 pixel bitmap out of 4 tiles with 256 pixels each - is slowing down the program dramatically despite using a display list. The reason for the slow speed is the calls to glBindTexture().
Any ideas - i would be lucky 
sincerely yours,
Walter
-
Member
Regular Contributor
Re: Max. texture size
The maximal texture size is driver- and hardware dependent. Nowadays most cards support 2048x2048 textures, GF3 even 4096x4096.
-Lev
-
Re: Max. texture size
Is there a function call that will return the maximum size texture allowed by your setup?
-
Re: Max. texture size
You can try glGetIntegerv with GL_MAX_TEXTURE_SIZE but I am not sure if this will give the "right" limitation. Perhaps will it return the memory limitation? The answer can also easy be calculated by trying 512, 1024, 2048 and so on. You should get an error if the texture can not be created.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules