Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Tangent Bitangent(binormal)

4: Adsense

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
3 replies to this topic

#1 Ashaira   Members   

105
Like
0Likes
Like

Posted 05 April 2012 - 03:27 AM

Well i hope this is the right section.

I need to calculate the tangent and bitangent for my models and i have found an algorithm to do it but i havent been able to fully understand on what to apply the algorithm. in some places it says to do it for each face others to go through all the verts of the model and do it.

so which is the right way? do it for the 3 verts of each face? and if that is the case what happens when one vert is in more than one face?

#2 bwhiting   Members   

1543
Like
1Likes
Like

Posted 05 April 2012 - 03:35 AM

same as for normals really, so calculate them per face then average them per vertex using shared triangles.

#3 bwhiting   Members   

1543
Like
0Likes
Like

Posted 05 April 2012 - 08:05 AM

http://www.gamedev.net/topic/622250-bitangent-and-tangent-seams/ <- you can even see pics there of the difference between smoothed and unsmoothed

#4 Ashaira   Members   

105
Like
0Likes
Like

Posted 05 April 2012 - 08:55 AM

sry to bring this up again but ive been looking at some examples. are the Normals in my model file the same thing as the normals obtained throught the cross product of the tangent and bitangent?




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.