Sign in to follow this  
PinguinDude

GL_TEXTURE_RECTANGLE_ARB

Recommended Posts

Is it me or do ATI cards not support this extension ? I tried it even on a geforce 1 and it worked perfectly but when I send it to friends that have an ATI radeon 9000 it won't work. The only guy that managed to play it had an ATI radeon 9800 and it looked very crappy with some textures. Is this true that this extension is so sucky that I may just as well make sure that the texture data ends up as 512x512 or whatever is the closest power of 2 and waste more texture memory ? :|

Share this post


Link to post
Share on other sites
Yes, ATI support for this extension is dodgy :(

However, this is now the standard extension, so I suppose we can expect them to get their act together.

In the meantime, you may have to support GL_EXT_texture_rectangle, which I believe ATI handles reasonably well.

Share this post


Link to post
Share on other sites
Hmm. Looking into this in a bit more depth, it seems that EXT_texture_rectangle simply became ARB_texture_rectangle after being accepted by the ARB. So they're effectively the same thing.

However, it looks like ATI have been slow in updating their driver(s). Some sources suggest that you need the EXT version for ATI cards, and it's further corroborated by the fact that ATI's own developer page still refers to the deprecated EXT version.

If you'd like to experiment with it, I suggest duplicating the ARB extension in glext.h and changing all the names over to EXT, with the same token values.

Share this post


Link to post
Share on other sites
Pinguin Dude... I have a bone to pick with you. Your GL_TEXTURE_RECTANGLE_ARB thing works fine on my comp... but I had to take it out of my library cause it wouldn't work right for people with intigrated graphics...

There is that and you don't use 0.0 to 1.0, you actualy have to go by coordinates.

It works fine on my intigrated ATI card... [shrug]

Share this post


Link to post
Share on other sites
So there is the problem... well then I guess the only thing that I can do is use GL_TEXTURE_2D and just try to convert them huh :| :(

[EDIT]
Ok. So after trying it with GL_TEXTURE_2D I found what the real problem was :o Drawing a 640x480 quad in ortho mode seems to be ehrm sorta slow :|!.
[/EDIT]

[Edited by - PinguinDude on December 7, 2004 7:55:56 AM]

Share this post


Link to post
Share on other sites
Quote:
Original post by PinguinDude
Will the ARB_texture_non_power_of_two actually be faster or is it just a replacement of the one I have now ?


I think the main difference is that the non power of 2 extension uses normalized texture coordinates (0 to 1).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this