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 5 of 5

Thread: How to Calculate tangent ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member Newbie
    Join Date
    Apr 2012

    How to Calculate tangent ?

    Hello to all,

    I try to understand the normal map

    Problem, I try to calculate the tangent I have to send per vertex.

    How to calculate it?

    example with a triangle in front :

    Position Normal Tangente
    vertex 1 -1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 1.0f, ?, ? , ?,
    vertex 2 -1.0f,-1.0f, 1.0f, 0.0f, 0.0f, 1.0f, ?, ? , ?,
    vertex 3 1.0f, -1.0f, 1.0f, 0.0f, 0.0f, 1.0f, ?, ? , ?,

    Thanks in advance !
    Last edited by PiouPiou; 07-26-2013 at 10:41 AM.

Tags for this Thread

Posting Permissions

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