Quantcast
Channel: Latest Questions by ProudOne
Viewing all articles
Browse latest Browse all 6

NavMesh from height map? Need help with the approach.

$
0
0
I'm working on my own implementation of Lazy Theta* for navigation. To that end, I need a grid representation of the map I'm working on. Since I'm generating that through Perlin noise, it's not hard to extract a black and white reference map of pathable surfaces and trace their edges: ![Traced image][1] I've been spending the last few days wrangling with scientific papers on nav mesh generation, Poly2Tri and the source code of Recast and Detour but I can't for the life of me wrap my head around how to implement that with the interrupted edge vertices I found on my NavMap. Poly2Tri was very promising until I realized it can only generate a single polygon from a set of points. Ideally, I want to generate something like this: ![Ideal quads][2] Any ideas on how to approach the problem? Thank you for any help! [1]: http://i.imgur.com/AZDFZk7.png [2]: http://i.imgur.com/2SuPSDH.png

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images