Original Post
I'm an beginner. With referrence to the algorithm of ray-triangle intersection by Moller,Trumbore(the most common one used) I wrote the code in my OpenGL program in visual c++, but it just doesn't work. I know nothing is wrong with the algorithm(http://www.graphics.cornell.edu/pubs/1997/MT97.html) Someone tell me the algorithm need to modify(the ray's coordinate should be modified) if glTranslate is used. But I don't know them in detail. Could someone explain it to me?? It's very important for my program. Many thanks!!