Closed GoogleCodeExporter closed 9 years ago
The image is larger than the maximum texture size. pyglet doesn't currently
check
for this before uploading images; apparently neither does your driver ;-)
You'll need to keep your images under 4096x4096, or under 2048x2048 for maximum
compatibility.
Original comment by Alex.Hol...@gmail.com
on 15 Sep 2008 at 8:39
Thanks for checking into this.
I wondered if it might be due to the large size of the image. It seems strange
that
this would cause the observed symptoms, however.
Is this limitation part of the OpenGL spec? Or is it dependent upon the GPU?
Item 21.130 at http://www.opengl.org/resources/faq/technical/texture.htm has
some
interesting info.
Is the limitation only related to the number of pixels, (ie, is 8192x256 OK?)
or does
each dimension really need to be 2048 or less?
Is 4 bytes per pixel (including alpha) pretty common? Does that mean that a
2048x2048
texture consumes 16MB when uploaded to your GPU?
Original comment by steven.p...@gmail.com
on 15 Sep 2008 at 2:13
Original issue reported on code.google.com by
steven.p...@gmail.com
on 13 Sep 2008 at 2:16Attachments: