Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

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
    Advanced 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.

Posting Permissions

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