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 4 of 4

Thread: Newbie - VertexShader only effects

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2004
    Posts
    8

    Newbie - VertexShader only effects

    Hi all,

    I'd like to use fragment/vertex shaders, however I have a GeForce4 TI 4200, so I've only Vextex shader and NV_Combiners in hardware, but no Fragment Shader at all.

    So i'd like to know what effects it's possible to build only with Vertex shader ? And if it's possible to combine Vertex Shader and NV_Combiner to have something similar to Vertex+Fragment shader structure.

    On top of that, I read that it's possible to use Fragment Shader with DirectX (software emulation). Is it possible to have an emulation with OpenGL too?

    Thanks in advance for your replies

    Snorky

  2. #2
    Junior Member Newbie
    Join Date
    Jun 2004
    Location
    Halmstad, Sweden
    Posts
    17

    Re: Newbie - VertexShader only effects

    I have the same card, so I'm also trying to find out just how much of those fancy new GPU effects I can acctually do with it...

  3. #3
    Member Regular Contributor
    Join Date
    Apr 2002
    Location
    Austria
    Posts
    328

    Re: Newbie - VertexShader only effects

    Yes, you can achieve a fragment shader similar environment with register combiner and texture shader on NV. But these extensions are relative unflexible compared to fragment programs or fragment shaders.
    But remember, NV_register_combiner and NV_texture_shader are only available on NV hardware. But there's a similar extension on ATI: ATI_fragment_shader.

    There is an emulation tool for NV where you can use them on your graphics card. Send a Mail to NV developer relation. There also is mesa (www.mesa3d.org), a software OpenGL implementation, which has ARB_*_program support.
    There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

    There is another theory which states that this has already happened...

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

    Re: Newbie - VertexShader only effects

    NVidia has a tool called NVemulate which you can find from other sites.
    for example, this guy is running Dawn in emulation which probably takes minutes to render 1 frame.
    http://www.mcbridematt.dhs.org/at0mic/dawn/
    ------------------------------
    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);

Posting Permissions

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