Skip to main content
gamedev.net
🔒 Locked

Good mesh data structures

Started by edwin2026 Mar 12, 2009 at 8:48 AM 2 replies 1.2k views
Original Post
edwin2026
edwin2026
Hi, can somebody propose me what are good mesh data structures which are efficient and easy to implement? I heard many people mentioned about Quad-Edge or Winged-Edge but I am not so sure. Any help will be appreciated
swiftcoder
swiftcoder
What sort of application? For example, you need very different mesh structures for in-game rendering than for a modelling tool.
Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]
edwin2026
edwin2026
For terrain editor application.

I want to generate triangular meshes as representation of terrain specified by
heightmap input. The mesh generation algorithm used is Data-Dependent Triangulation.

In the later stage, I also want to implement some sort of interface for terrain
deformation (i.e. after generation you can adjust the terrain to make other
features, such as holes, cliffs, caves, etc) so probably need the data structures
which are efficient in merging or splitting faces

How is it?
Pudelmuetze
Pudelmuetze
You should have a look at www.openmesh.org.

CGAL also has a data structure for triangle meshes: http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/packages.html#Part:TriangulationsAndDelaunayTriangulations

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.