Original Post
This is driving me mad, I've been stuck on it for several days... As I understand, (on a textured poly) the tangent is the vector pointing in the direction of the increasing S axis of the texture, is that right? The problem is actually computing this in object space. I can visualise it in my head, but my maths is pretty weak so I have no idea how to go from texture space to object space (or even if thats what I need to do) to get the tangent. I've found only a few articles, and they are usually too maths heavy for me (I prefer to see the actual code, it makes more sense) and cover stuff like finding the tangent at points on parametric surfaces, which isn't any good to me (I don't think). The Google forum search isn't much help either, since it brings up the same threads multiple times, and they don't really help me :'( If anyone can point me to an explanation, in commoners terms, of how to get the tangent of a textured surface using texture coordinates, I'd be really grateful. Code is always a plus. Thankyou.