Results 1 to 5 of 5

Thread: Hardware TnL in OpenGL?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Bulgaria, Sofia
    Posts
    21

    Hardware TnL in OpenGL?

    I'm using GeForceMX400 video-card and I know it has Hardware TnL engine. But how to write OpenGL code that use these capabilities?
    Does OpenGL code using TnL is different about every video-card vendor(nVidia,ATI...)?

  2. #2

    Re: Hardware TnL in OpenGL?

    If I'm not mistaken Scorpion, you'll automatically be using hardware TnL (Transform & Lighting) when programming in OpenGL. From what I understand from the OpenGL 1.2 docs, it seems that transforms and lighting are done by the grahipcs cards unless you change these settings manually, or you just don't use OpenGL's functions (such as glTranslate, glRotate, and glScale)and you use your your own code. Maybe someone else knows for sure, but I don't think I'm wrong.

  3. #3
    Member Contributor
    Join Date
    Oct 2001
    Posts
    67

    Re: Hardware TnL in OpenGL?

    Yaole is correct -- how your vertices are transformed and lit is something you don't need to worry about in OpenGL.

    As long as your transforming your vertices via standard OpenGL methods (basically, using the modelview and projection matrices), the OpenGL drivers should take care of using the hardware TnL features (if they're available).

  4. #4
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Bulgaria, Sofia
    Posts
    21

    Re: Hardware TnL in OpenGL?

    Thanks!
    It's good to know that TnL works for me without any additional efforts.

  5. #5
    Junior Member Newbie
    Join Date
    Jun 2002
    Posts
    1

    Re: Hardware TnL in OpenGL?

    Good to hear, indeed. I think I really like OpenGL.

Similar Threads

  1. OpenGL and hardware
    By p64416 in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 03-31-2011, 02:10 AM
  2. Replies: 1
    Last Post: 06-17-2004, 08:02 AM
  3. OpenGL Hardware ICD ON/OFF ?
    By xroot66 in forum OpenGL: General
    Replies: 2
    Last Post: 01-27-2003, 10:40 AM
  4. Using openGL without hardware
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-06-2001, 09:56 AM
  5. opengl hardware
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-30-2000, 08:53 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