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 12

Thread: Why TNTs dont support ARB_texture_env_combine

  1. #1
    Intern Contributor
    Join Date
    Jan 2001
    Posts
    87

    Why TNTs dont support ARB_texture_env_combine

    It is just not logical for me. TNT supports EXT_texture_env_combine and NV_texture_env_combine4. If the hw supports these functions (including cross texture references), there is no problem to support ARB_texture_env_combine and even ARB_texture_cross_bar present on GFFX. EXT_texture_env_combine and the ARB one seems to differ only in one thing - this is pointed in the Issues section, but the Errors sections says nothing about it.

    Secondly, this extension can be treated as a functional superset of statndard GL env functions (MODULATE, REPLACE, BLEND, DECAL). But I cannot achieve one of these functions with RGB texture (cant remember which). The forgotten function takes as an alpha the color of the incoming fragment, while the combine function takes 1.0.

    Any thougts?

    Michalek

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    612

    Re: Why TNTs dont support ARB_texture_env_combine

    Doesn't the driver version report opengl 1.4 on your card? in that case you have already the functionallity of both ARB_texture_env_combine and ARB_texture_cross_bar in the core..

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

    Re: Why TNTs dont support ARB_texture_env_combine

    TNT supports 1.4?!!
    Knackered

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Dec 2001
    Location
    Wellington, New Zealand
    Posts
    548

    Re: Why TNTs dont support ARB_texture_env_combine

    I know the ATI Rage 128, which is a similar generation, couldn't do ARB_texture_env_combine because of lack of SUBTRACT_ARB support. (EXT_texture_env_combine doesn't require subtraction, and NV_texture_env_combine4 only affects flexibility of inputs and outputs, not combine functions).

    Perhaps the TNT2 is in a similar boat?

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    612

    Re: Why TNTs dont support ARB_texture_env_combine

    Im not sure about tnt, but tnt2 reports 1.4, it doenst mean that the card itself can handle it, but that all functions exists and are working ( even if they are in SW) but for this case, the combiners, i bet that it can be handled in hardware, only a speedtest will tell.

  6. #6
    Intern Contributor
    Join Date
    Jan 2001
    Posts
    87

    Re: Why TNTs dont support ARB_texture_env_combine

    And thats why this all ext hell is so hard to understand by me. Geforces dont export EXT_texture3D but the ext is there waiting for use. BUT without hw accel ARB_vp is supported in software for GF2, so why there is no support for TNTs?
    I would like to support ARB_vp on boards, where VPs are in hw, and on others use old TnL, to gain the highest performance available.
    Is it always true, that if given extension is exported, it is supported in hardware, else if the gl version is appropiate for this ext, it is supported but it is in sw, else - there is no support. Is it true on all boards or only on nvidia ones?

    Michalek

  7. #7
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    612

    Re: Why TNTs dont support ARB_texture_env_combine

    Actually it isnt the EXT_texture3d thats waiting for you ,its the Core function Texture3D, its a difference.. since nVidia want its drivers to be 1.4 compliant on most (all?) their cards they have implemented all missing functions in software, but ARB_vp isnt in the core, its an extension, and not needed in the core, and therefor not all drivers have it.

    If the driver reports an version that includes a function that previously was an extension, and that extension isnt in the extensionlist, then you might guess thats its only in SW, but it dont have to be that way.



    [This message has been edited by Mazy (edited 07-15-2003).]

  8. #8
    Intern Contributor
    Join Date
    Jan 2001
    Posts
    87

    Re: Why TNTs dont support ARB_texture_env_combine

    Originally posted by Mazy:
    If the driver reports an version that includes a function that previously was an extension, and that extension isnt in the extensionlist, then you might guess thats its only in SW, but it dont have to be that way.

    So why They are hiding it? Cheeseus, Im going to check ARB_texture_env_crossbar and combine on my old TNT tonight, and if it doesnt support it I will have to stick to nasty NV_texture_env_combine4!

    Michalek

  9. #9
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    612

    Re: Why TNTs dont support ARB_texture_env_combine

    as OneSadCookie said, it can be that tnt lacks the subtract in hardware, then you should be able to use everything else in the combine spec without speed penalty, but if you try subtract it can fallback to a software path and be very slow..

  10. #10
    Intern Contributor
    Join Date
    Jan 2001
    Posts
    87

    Re: Why TNTs dont support ARB_texture_env_combine

    OK. So to detect those extensions the best would be this code?
    Code :
    while(glGetError);
    glGet (GL_TEXTURE_ENV_MODE);
    glTexEnv (GL_TEXTURE_ENV_MODE, GL_COMBINE_ARB);
    if (glGetError ())
    	;// not supported
    else
    	;// lipa - not supported
    glTexEnv (GL_TEXTURE_ENV_MODE, saved_mode);
    Or should I always trust the version number?

    Michalek

Posting Permissions

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