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


|