I'm sorry if this question has been asked before, i searched the board and couldn't find anything similar. I'd like to know how to locate a texel coordinate given a 3D point in a texture mapped polygon. Is there any 'high-level' way of achieving this through OpenGL (e.g. i looked up the Texturematrix thinking it was responsible for the interpolation of texture coordinates - i was wrong) or do i have to re-apply the maths used in texture mapping? If the latter, could someone please point me to a good document that would explain how texture coordinate interpolation works?
Thanks,
-brian

-------------------------
EDIT

Nevermind, i just found the answer in the advanced coding section. Sorry for the wasted topic :\

[This message has been edited by Muerte (edited 12-07-2003).]