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 3 of 6 Topic 4894 of 5017
Post > Topic >>

Re: Choosing Between Target Texture

by Knockr <CSarath@[EMAIL PROTECTED] > Aug 29, 2008 at 03:05 AM

On Aug 28, 1:28=A0pm, Wolfgang Draxinger <wdraxin...@[EMAIL PROTECTED]
>
wrote:
> 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 =A0 =A0 =A0 =A0 =A00x84F5
> #define GL_PROXY_TEXTURE_RECTANGLE_ARB =A0 =A00x84F7
> #define GL_TEXTURE_RECTANGLE_NV =A0 =A0 =A0 =A0 =A0 0x84F5
> #define GL_PROXY_TEXTURE_RECTANGLE_NV =A0 =A0 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: hexar...@[EMAIL PROTECTED]
 ICQ: 134682867

Thanks alot for your prompt reply. It was really helpful.

I'm also using Cg fragment programs with my application. Is it
possible to execute it without "GL_NV_fragment_program "? will it work
fine with "GL_ARB_fragment_program "?

In my understanding "GL_NV_fragment_program " is required.
 




 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 Fri Nov 21 6:38:56 CST 2008.