Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


- - - - -

Tangent Space Matrix


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Phreak_   Members   -  Reputation: 122

Like
0Likes
Like

Posted 21 July 2004 - 09:15 PM

how to calculate tangent matrix if you have only 1 vertex position, 1 light position and vertex normal???

Sponsor:

#2 tomek_zielinski   Members   -  Reputation: 222

Like
0Likes
Like

Posted 21 July 2004 - 09:30 PM

For one vertex and its normal it's easy task - just find one arbitrary vector perpendicular to normal(tangent) and then do a cross product to find binormal.

But in real world case you will neeed texture coordinates, because tangent vector says about the axis in which u is changing and v is not, and binormal says about the axis in which v is changing and u is not.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS