PDA

View Full Version : GL_MAX_PROGRAM_PARAMETERS_ARB problem.



RenCheng
07-14-2006, 10:08 PM
Does arbvp1 and vp40 have different number of "GL_MAX_PROGRAM_PARAMETERS_ARB"?

As I know,we could use the function:glGetProgramivARB(GLenum target,GLenum pname,GLint *params) to get the number of GL_MAX_PROGRAM_PARAMETERS_ARB,since there is no param for the profiler(like vp20,vp40, etc.),does that mean the number depends on the card not the profiler?

ZbuffeR
07-15-2006, 03:48 AM
The answer to your question is "yes".

This "profile" thing is specific to CG.
A profile is a way to group parameters matching a class of graphic cards.

RenCheng
07-15-2006, 04:44 AM
Thank you!

Where can I find the specification about the arbvp1,vp20,vp30,vp40?

ZbuffeR
07-16-2006, 03:01 AM
What about the CG documentation ?
http://developer.nvidia.com/object/cg_toolkit.html

RenCheng
07-16-2006, 11:53 AM
Thank you.

Cg-1.4.1_UsersManual.pdf and Cg_Specification.pdf do have the information:)