Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Gf2 does vertex programs?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    USA
    Posts
    223

    Gf2 does vertex programs?

    Anim8or app reports my gf2 drivers support opengl 1.2.2 Out of curiosity I'm wondering if vertex programs and 3D textures are done in hardware on my gf2. Can someone confirm this? Thanks.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    USA
    Posts
    223

    Re: Gf2 does vertex programs?

    Need to add I'm on win98 with NV 12.41 gf2 drivers. I thought vertex programs were gf3/4/r8500 exclusive?

  3. #3
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421

    Re: Gf2 does vertex programs?

    3D texture - no, it needs gf3 and up or Radeon
    Try to run a demo that uses one.

    vertex programs is just strings that are converted into commands and Im guessing the conversion is done by driver on all flavors of cards.

    PS: The latest driver is 28.40, unless they updated again. Those bastards!

    V-man
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  4. #4
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    USA
    Posts
    223

    Re: Gf2 does vertex programs?

    Thanks v-man for the info. I'm happy with 12.41 drivers on my gf2. I think any higher drivers are for gf3/4. If something goes bonkers I'll update to newest drivers.

  5. #5
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,537

    Re: Gf2 does vertex programs?

    The only hardware the supports GL_NV_vertex_program in _hardware_ is the geforce 3 and 4Ti. You _can_ use vertex programs on a geforce 1 or 2, BUT, they are done in software. Meaning the CPU executes the code instead of the GPU. It runs quite fast on the CPU though.

    -SirKnight
    -SirKnight

  6. #6
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    USA
    Posts
    223

    Re: Gf2 does vertex programs?

    Oh, okey So, what I'm getting is that having that extension does not automatically make that feature avail. on hardware. Right? Something like dx8.1 vertex shaders which can also be executed on cpu when querying hw for that feature fails. Ok that makes sense. Thanks all for the info.

  7. #7
    Advanced Member Frequent Contributor
    Join Date
    Feb 2000
    Location
    San Diego, CA, USA
    Posts
    769

    Re: Gf2 does vertex programs?

    If you go to nvidia's developer site and download their OpenGL extensions pdf, there is a big chart at the front of it that says what is hardware accelerated on what card.

    If you have new drivers, I believe that ANY of their extensions will work on ANY of their cards, though it won't necessarily be hardware accelerated.

    -- Zeno

  8. #8
    Senior Member OpenGL Guru knackered's Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    3,032

    Re: Gf2 does vertex programs?

    RE: Vertex programs running on the CPU.
    In d3d you can bypass the t&l engine on the GPU by specifying a particular vertex format (pre-transformed, pre-lit). I expect nvidia, when executing vertex programs on the CPU (for geforce2 and below), have some way of disabling the t&l engine? If not, then the vertex will get transformed twice, once on the CPU in the vertex program, and again (probably by identity) on the GPU.
    Now, if the opengl driver has the ability to disable the t&l engine on the card, then why not expose this ability in a gl extension? We could then get better vertex throughput for stuff we don't want transforming....
    Knackered

  9. #9
    Senior Member OpenGL Pro
    Join Date
    Feb 2001
    Location
    Switzerland
    Posts
    1,840

    Re: Gf2 does vertex programs?

    actually this is called GL_EXT_window_coord or something like this, you can find it in the registry. its just not supported (yet?) by nvidia.. i wait for this string in the drivers since some while now..
    http://davepermen.net - if i could stay true to my heart, i would feel totally free

  10. #10
    Member Regular Contributor Julien Cayzac's Avatar
    Join Date
    Aug 2001
    Location
    Yokohama, Japan
    Posts
    251

    Re: Gf2 does vertex programs?

    Originally posted by Zeno:

    If you have new drivers, I believe that ANY of their extensions will work on ANY of their cards, though it won't necessarily be hardware accelerated.
    Many many extensions are not exposed by the drivers, with my GeForce256: I can't use NV_texture_shader, nor NV_occlusion_query, nor HP_occlusion_test, nor ...(fill in there)...

    It would be great if those extensions were available, even if software emulated (so I could code for gf3/gf4 on my gf256 ) I don't understand, for instance, why NV_vertex_program is available (CPU emulated) but NV_texture_shader is not !??

    Julien.

Posting Permissions

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