Results 1 to 3 of 3

Thread: Hardware T & L

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000

    Hardware T & L

    How exactly does hardware tranformation and lighting work. (im mainly interested in the transformation)

    I try using this

    1) Set the translation
    2) Rotate the object
    3) use glGetFloatV(GL_MODELVIEW_MATRIX,mat) to get the transformed matrix.

    is this method classed as using hardware transformation? or is it some other way?

  2. #2
    Senior Member OpenGL Guru Humus's Avatar
    Join Date
    Mar 2000
    Stockholm, Sweden

    Re: Hardware T & L

    All OpenGL programs that doesn't try to calculate everything on it's own will use the any T&L capabilities of the graphic adapter. However, i'm am not sure if the actual calculation of the matrixes are done in hardware of these accelerators.

  3. #3
    Senior Member Frequent Contributor
    Join Date
    Feb 2000

    Re: Hardware T & L

    Whether or not a given OpenGL transform call uses hardware T&L is up to the driver and the hardware. It's transparent to the programmer.

    AFAIK hardware T&L isn't so much about calculating the transforms (e.g. glRotate, glMultMatrix) as about transforming the vertices you issue by the current modelview matrix. Which isn't something you do explicitly anyway - it happens whenever you call glVertex etc.

Similar Threads

  1. HDR with SM2.0 hardware?
    By hardtop in forum OpenGL: GLSL
    Replies: 12
    Last Post: 04-20-2006, 08:19 PM
  2. Replies: 1
    Last Post: 06-17-2004, 08:02 AM
  3. VBO hardware?
    By supagu in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-24-2004, 10:47 PM
  4. hardware
    By kalavinka in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-14-2002, 01:12 AM
  5. Hardware
    By Hamcha in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-29-2001, 10:55 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