Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: Choosing Be...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 4894 of 5041
Post > Topic >>

Re: Choosing Between Target Texture

by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED] > Aug 28, 2008 at 10:28 AM

Knockr wrote:

> Dear All,
> 
> I'm using rendering few textures in my OpenGL which is NPOT(non
> power of two).
> 
> I've tried using both GL_TEXTURE_RECTANGLE_ARB and
> GL_TEXTURE_RECTANGLE_NV as target texture. Bother are working
> fine in my nVidia Hardware. Is there any advantage for either
> of these over other? ARB is the standard format and NV is the
> nVidia format. Will I get any performance improvements for NV
> texture rectangle if I use it with nVidia Hardware?

It was NVidia who came up with NPO2 textures first, so that's why
there is the _NV extension. Then NPO2 textures got accepted as a
standard feature and they became _ARB.

Now if you looked into the specification of both extensions, then
you would have seen that the newly introduced tokens have the
same values:

~ $ grep TEXTURE_RECTANGLE /usr/include/GL/glext
#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
#define GL_TEXTURE_RECTANGLE_NV           0x84F5
#define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7

So there's absolutely no difference. But for reasons of
****tability you should use the ARB variant in your code. The _NV
version might go away.

Wolfgang Draxinger
-- 
E-Mail address works, Jabber: hexarith@[EMAIL PROTECTED]
 ICQ: 134682867
 




 6 Posts in Topic:
Choosing Between Target Texture
Knockr <CSarath@[EMAIL  2008-08-27 21:26:25 
Re: Choosing Between Target Texture
Wolfgang Draxinger <wd  2008-08-28 10:28:39 
Re: Choosing Between Target Texture
Knockr <CSarath@[EMAIL  2008-08-29 03:05:45 
Re: Choosing Between Target Texture
Wolfgang Draxinger <wd  2008-08-29 12:43:11 
Re: Choosing Between Target Texture
Knockr <CSarath@[EMAIL  2008-09-01 22:26:24 
Re: Choosing Between Target Texture
Wolfgang Draxinger <wd  2008-09-02 13:01:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 23:53:01 CST 2008.