Results 1 to 6 of 6

Thread: Oh no! More problems using multitexturing! (AGAIN!)

  1. #1
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    118

    Oh no! More problems using multitexturing! (AGAIN!)

    Well, I cant use the glActiveTextureARB() function. I included the 'glext.h' header file.

    Obviously im using some opengl version that doesnt support multitexturing, how can I fix this? Downloading the last glSetup will fix it?

    (Using Windows2000)...

    Thx for your help!

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Oh no! More problems using multitexturing! (AGAIN!)

    You sure you obtained the entrypoint for the extension function?

    Or, as you say, maybe your driver doesn't support this extension. Just do a glGetString(GL_EXTENSIONS); and see the result. If the string doesn't contain GL_MULTITEXTURE_ARB (or something similar), your driver doesn't support this.

    And running GLSetup will only help if there are drivers for your card that does support this extension. And by the way, does GLSetup work for Win2k now? Think it only works for Win9*, but not sure (this was the case a while ago at least, but I have heard some people talking about Win2k support).

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: Oh no! More problems using multitexturing! (AGAIN!)

    This more likely sounds like a misunderstanding. You have to obtain the entry points for opengl-extension functions (and multitexture ARB is an extension) with wglGetProcAdress("name"). You can look wether your opengl implementation supports mutlitexturing when you get the GL_EXTENSION string. It should contain something like GL_EXT_MULTITEXTURE_ARB. If it is supported, you can get the entry-points of the needed function. That is quite a bunch of work though...

  4. #4
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    118

    Re: Oh no! More problems using multitexturing! (AGAIN!)

    I see. What if my drivers dont support this extensions?

    Getting the entry-points is the only way of using multitexture under windows?

    Thx for your help, I will check if I can get it to work...

  5. #5
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Oh no! More problems using multitexturing! (AGAIN!)

    Well, if your driver doesn't support this extension, the result should be pretty obvious. You can't use it. And yes, obtaining the entrypoint yourself is the only (?) way of doing multitexturing on Windows (on OpenGL 1.1 and below at least).

  6. #6
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    118

    Re: Oh no! More problems using multitexturing! (AGAIN!)

    I did it! I can use multitexture! Weee!

    Thx a lot !

Similar Threads

  1. Multitexturing problems in pbuffer?
    By alantangcs in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 12-02-2003, 02:51 AM
  2. Multitexturing Problems
    By 31337 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-22-2002, 11:32 PM
  3. Multitexturing Problems?
    By Lurking in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-10-2002, 08:10 AM
  4. Multitexturing problems
    By rgreene in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-05-2002, 07:20 PM
  5. problems with multitexturing and lines
    By ankan666 in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 01-09-2001, 06:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean