PDA

View Full Version : NPOT



Brian Jones
05-03-2003, 06:25 PM
I was wondering if there is a similar extension to NV_Texture_rectangle for ATI cards. I really don't feel like wading through the entire registry.

shinpaughp
05-03-2003, 06:41 PM
Download http://www.ati.com/developer/atiopengl.pdf and look for EXT_texture_rectangle

Brian Jones
05-03-2003, 06:55 PM
Thanks, but it looks like it's only for Mac OSX. I need something for Windows.

shinpaughp
05-03-2003, 07:38 PM
If your card supports it, it shouldn't matter. Try a quick test... create a context, make it current and check to see if it is supported either through the extensions string or by calling wglProcAddress with correct info. Extensions string is not 100% accurate as driver may support the extension though the hardware does not.

Brian Jones
05-03-2003, 07:44 PM
It's not that my driver doesn't report it. It's not in glext.h. It isn't even documented on sgi's registry page.

[This message has been edited by Brian Jones (edited 05-03-2003).]

shinpaughp
05-04-2003, 11:56 AM
Could be it is still in the works, or they scrapped it altogether. I was just pointing you to the info.

There are a few ATI and nVidia guys who post in the advanced forum. Can't remember who they are though. But, if you look at their email addresses @ati.com you should be able to find them. Especially look at posts that are ATI specific. Anyway, email one of the ATI guys directly and ask them about the extension, they should have the best info about it and whether it is supported or will be in the future since it is in that pdf file.

edit 1:
Actually, ehart is one. Check http://www.opengl.org/discussion_boards/cgi_directory/ubbmisc.cgi?action=getbio& UserName=ehart (http://www.opengl.org/discussion_boards/cgi_directory/ubbmisc.cgi?action=getbio&UserName=ehart)

edit 2:
And, looking at this extension and comparing to NV_TEXTURE_RECTANGLE looks very similar if not the same, so you can set the tokens yourself as defined within the the pdf. There is not a new function.

[This message has been edited by shinpaughp (edited 05-04-2003).]

Brian Jones
05-05-2003, 03:04 AM
Thanks for your help. I'll try it out