From: tom f. <tf...@al...> - 2009-07-24 18:18:33
|
Jason Erickson <vip...@gm...> writes: > My problem is that it doesnt support GL_COMPRESSED_RGB_S3TC_DXT1_EXT > for 2D textures. Whenever I try to get my program to run the mesa3d > dll returns an invalid enum. [snip] > So I'm basically asking if support for GL_COMPRESSED_RGB_S3TC_DXT1_EXT > can be added to the software driver. You can enable this yourself by hacking extensions.c, I would bet (haven't tested, just looks like it). That texture compression format is protected by patents; it doesn't seem like a good idea to rely on your users having it. From previous responses on a related subject, I would say it's unlikely to get enabled by default until the patent issue is fixed. Check the "IP Status" of: http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt I've never played with compressed textures myself, but it seems like one can do so in a `generic' way -- just use a non-algorithm-specific compression format such as GL_COMPRESSED_RGB_ARB. ref. ``The OpenGL Extensions Guide'': http://books.google.com/books?id=VDqw6MK5NJMC&pg=PA89&lpg=PA89&dq=opengl+compressed+texture+formats&source=bl&ots=VbV-79E47J&sig=avobPE2x-usa6DZp4xHFpjIGHNU&hl=en&ei=mPlpSu6cEIzgswPakP2WBQ&sa=X&oi=book_result&ct=result&resnum=1 Cheers, -tom |