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: Performance of Multitexturing methods

  1. #1
    Junior Member Regular Contributor
    Join Date
    Oct 2004
    Posts
    150

    Performance of Multitexturing methods

    i have a little performance question

    will the performance decrease if i use glMultiTexCoord and glActiveTexture instead of holding the texture in a texture list and bind it with glBindTexture? in case of the same performance i don't have to handle if the render object is multitextured or not.
    i hope you understand my question!

    thanks

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,663

    Re: Performance of Multitexturing methods

    Originally posted by H.Stony:
    i have a little performance question

    will the performance decrease if i use glMultiTexCoord and glActiveTexture instead of holding the texture in a texture list and bind it with glBindTexture? in case of the same performance i don't have to handle if the render object is multitextured or not.
    i hope you understand my question!

    thanks
    What do you mean exactly ?

    You always need to bind the wanted texture before you'll be able to use it and that whether you use ActiveTexture and/or MultiTexCoord** or not.

    If I'm not wrong you can use display lists to encapsulate texture environment calls. It should be the same thing for performing computation on the texture matrix as long as you keep static transformations.
    Doing other texture stuff outside a display list is surely not slowler.

    I can't say more.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Oct 2004
    Posts
    150

    Re: Performance of Multitexturing methods

    another try: is it faster to render a object with glTexCoord texturecoordinate defintion than rendering an object with glMultiTexCoord with only one texture layer

    i know my explanation is not good. so i will benchmark it myselft but thanks

  4. #4
    Junior Member Regular Contributor
    Join Date
    Oct 2004
    Posts
    150

    Re: Performance of Multitexturing methods

    i found the answer. it doesnt matter.

Posting Permissions

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