PDA

View Full Version : Tangent and Binormal Generate from Texture Cordinates



guest
01-02-2002, 12:59 AM
Have someone some Samplecode to get Tangent and Binormal from the Texture Cordinates?

dorbie
01-03-2002, 03:00 AM
This is a great question, I don't have sample code for this but perhaps you should ask in the advanced forum or check the demos on NVIDIA's site, esp. the MD2 bump mapping stuff.

01-03-2002, 09:24 PM
Yeah nvidia has a lot of stuff on this. They have a paper on Dot3 Bump Mapping and it covers Tangent and Binormal generation. It's pretty advanced, gotta do a lot of transformations.