Jump to content
  • Advertisement
Sign in to follow this  
Kazade

OpenGL ATI texture rectangles, whats the deal?

This topic is 4482 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone, OK i have been searching for days on information about this and I just need clarification that what ive discovered is recent and correct.. ATI support texture rectangles (via EXT_texture_rectangle or ARB_texture_rectangle) however, only cards with ARB_texture_rectangle support can access them using GLSL (e.g. sampler2DRect and texture2DRect). People with cards (like me) with only EXT_texture_rectangle supported (not ARB) cannot access them through GLSL. I'm not sure if thats right, but that is all I can find. I really need to access texture rectangles through GLSL, but everytime I try and use sampler2DRect, it says its a reserved word and cant be accessed. Are ATI's drivers behind on the OpenGL 2.0 compliancy front? Why, when they both perform identically is EXT_texture_rectangle supported on my Radeon 9550 and ARB_texture_rectangle not? I'm complete confused, and annoyed that I cant work this out, so any information you guys can give would be greatly appreciated. Thanks Luke.

Share this post


Link to post
Share on other sites
Advertisement
Does anybody know? If anyone can point me towards any information on the texture rectangle extension for ATI, or any samples of it, that would be excellent.

Luke.

Share this post


Link to post
Share on other sites
Perhaps I could, i'll have to adjust everything to account for the change in the texture coordinates. It would be so much simpler though just to use texture rectangles, until I went to run my shader I didnt realise ATI didnt support them in GLSL.

Does anyone know when ATI is planning on adding this functionality to their drivers?

Share this post


Link to post
Share on other sites
However Radeon 9*** doesn't support NPOT texture.
All Mobility Radeon 9*** and X*** have the same "bug" ...

Maybe we could just ask but I just think that they don't care...

When GL_EXT_texture_rectangle was promoted to GL_ARB_texture_rectangle ATI vote NO. nVidia is the author of GL_NV_texture_rectangle witch could explain some things :/

GL_ARB_texture_rectangle is awesome, give us a good support please !

Share this post


Link to post
Share on other sites
Grr... I knew I should have stuck with nVidia. Oh well, next card upgrade im switching back. Back to the drawing board.

Share this post


Link to post
Share on other sites
OK, just went to try and re-write everything using GL_ARB_texture_non_power_of_two and my card doesnt support it! Now what do I do? I need access to rectangular textures in GLSL, EXT_texture_rectangle is supported, although not in the shaders, and ARB_texture_non_power_of_two is available in the shaders, but my card doesnt support it.

My opinion of ATI is getting lower by the second.

EDIT:

My card apparently supports OpenGL 2.0, yet GL_ARB_texture_non_power_of_two is not in the extension string. Why is this if it is core? Can I still use non-power-of-two textures even though its not in the extension string?



[Edited by - Kazade on March 16, 2006 11:41:14 AM]

Share this post


Link to post
Share on other sites
Quote:
My card apparently supports OpenGL 2.0, yet GL_ARB_texture_non_power_of_two is not in the extension string. Why is this if it is core? Can I still use non-power-of-two textures even though its not in the extension string?

you should be able to beware a lot of cards eg my nv3x dont support it in hardware thus youll get <1 fps.
nv4x > + the new ati cards support it though.
NPOT is perfect much better than ARB_texture_rectangle.
sorry cant help u with ati + ARB_texture_rectangle as i dont have an ati card

Share this post


Link to post
Share on other sites
Quote:
Original post by Kazade
OK, just went to try and re-write everything using GL_ARB_texture_non_power_of_two and my card doesnt support it! Now what do I do? I need access to rectangular textures in GLSL, EXT_texture_rectangle is supported, although not in the shaders, and ARB_texture_non_power_of_two is available in the shaders, but my card doesnt support it.

My opinion of ATI is getting lower by the second.

EDIT:

My card apparently supports OpenGL 2.0, yet GL_ARB_texture_non_power_of_two is not in the extension string. Why is this if it is core? Can I still use non-power-of-two textures even though its not in the extension string?


Yes, if OpenGL 2.0 support is claimed, then you can use ARB_NPOT. The extension string itself does not have to be exported.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!