Quote:
Is there any example how to perform the funnel search once you got all the triangles?
basically what I got is the start/end point and all the triangles that form the "channel".
what's left is to build all possible paths and select the shortest one. Iv'e never even seen pseudo code for this in any article.
Well, you don't actually build all possible paths and select the shortest one (that would take forever - literally!). Rather, the algorithm incrementally builds a path that is guaranteed to be no longer than any other path through the channel.
This was all discussed recently in some detail
here. I'll repeat a couple of things I said in that thread. First of all, the paper I linked to in my first reply in that thread is the best reference I know of on the subject. (Unfortunately, it's not perfect - there seem to be some errors and ommisions in the article and the included pseudocode.)
I'll also make the same offer I made in the other thread: if you get really stuck, I'd be happy to share my code. The only caveat is that the code is somewhat application-specific, and so would probably take some work to adapt.