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

Re: Choosing Between Target Texture

by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED] > Aug 29, 2008 at 12:43 PM

Knockr wrote:

> 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"?

Yes, Cg has a profile, that explicitly emits ARB programs.

> will it work fine with "GL_ARB_fragment_program "?

If you enable the correct profile, then yes. Usually the Cg
library figures out, what capabilities the OpenGL implementation
has and switches to the correct profile.

Or instead of using Cg you might want to use GLSL.
 
> In my understanding "GL_NV_fragment_program " is required.

No. NV extensions are only avaliable on NVidia hardware, but
AMD/ATI hardware does vertex/fragment programs as well.

There are however certain features that are only avaliable
through NV extensions. For example geometry programs of shader
model 4. NVidias implementation of GLSL is in fact a meta
compiler, that compiles to ARB/NV_xxx_program code, which is
then sent to the OpenGL driver in turn. Officially SM4
functionality is to be exposed through GLSL, however I prefer
the lower level assembler code.

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 Fri Nov 21 3:29:37 CST 2008.