From: Joel VanderWerf Date: 2003-05-27T05:12:21+09:00 Subject: OpenGL and large texture bitmaps I'm trying to use a large (1024x1024) bitmap as a texture. I started with the texbind.rb example in the ruby opengl package. The problem is that this code gives me a GL_INVALID_VALUE error for any bitmap larger than 256x256. I've tried using both RGB and RGBA formats, with appropriate modifications to the GL calls. This is probably not a problem with the ruby opengl package, but with my understanding of opengl, so it may be off topic. But if anyone here wants to take a look, the two files are at: http://PATH.Berkeley.EDU/~vjoel/ruby/texture-bug/ The first few lines of bug.rb explains how to generate the problem (in the 1024x1024 and 512x512 cases) and how to avoid the problem (by cutting the image down to 256x256). Thanks for any help!