Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: GL_MAX_PROGRAM_PARAMETERS_ARB problem.

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2006
    Location
    BeiJing
    Posts
    7

    GL_MAX_PROGRAM_PARAMETERS_ARB problem.

    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?

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,575

    Re: GL_MAX_PROGRAM_PARAMETERS_ARB problem.

    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.

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2006
    Location
    BeiJing
    Posts
    7

    Re: GL_MAX_PROGRAM_PARAMETERS_ARB problem.

    Thank you!

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

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,575

    Re: GL_MAX_PROGRAM_PARAMETERS_ARB problem.

    What about the CG documentation ?
    http://developer.nvidia.com/object/cg_toolkit.html

  5. #5
    Junior Member Newbie
    Join Date
    Jul 2006
    Location
    BeiJing
    Posts
    7

    Re: GL_MAX_PROGRAM_PARAMETERS_ARB problem.

    Thank you.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •