简体   繁体   中英

Terrain triangulation algorithm

I have a terrain presented by large set of points in 3D-space . What is the best way to triangulate it?

I can just to project all points on 2D-space , than make Delaunay triangulation in time O(n * log(n)) and lift it back to the previous heigth. But is it good enough? I've heard about Delaunay triangulation in time O(n * log(log(n)) ) in some special cases. Is it possible in my case? Or maybe I should to use some approximation algorithm?

Projection and Delaunay triangulation in 2D is certainly a good solution which will generate well shaped triangles. For a terrain you might also need to enforce certain edges, so look for a constrained Delaunay triangulation.

As to the runtime: For real world data you can assume linear runtime . If performance is important, make sure your input data is not degenerate: Scanning devices often return points on a grid. You can improve the situation by adding some noise.

实际上你做的功课好了,Delaunay三角测量是你问题的一个很好的解决方案。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM