ringmesh / RINGMesh

RINGMesh is a C++ open-source platform for manipulating meshes of geological models.
http://ringmesh.org
BSD 3-Clause "New" or "Revised" License
70 stars 16 forks source link

How to store the attributes of a geological entity #194

Closed changchancc closed 5 years ago

changchancc commented 5 years ago

I am a graduate student and my current research direction is the storage of 3D geological models. I was trying to understand whether RINGMesh provides a built-in way to store the description of the geological entities (such as geological time )? The description generally have more than one field. And how to store the color and texture of geological entities? I would be appreciated if you could give me some advices. CC

francoisbonneau commented 5 years ago

A GeoModel is a collection of GeoModelMeshEntities (Corner,Line,Surface,Region). For each one you can defines Attributes (properties) on vertices or on elements. These Attributes are managed by an AttributesManager that can be obtained from methods:

changchancc commented 5 years ago

Thank you very much @francoisbonneau. Does RINGMesh support the storage of GeoModel colors and textures? Are these attributes managed by an AttributesManager? Thank you again for everything you’ve done.

francoisbonneau commented 5 years ago

You are Welcome. Textures are not supported for now. Attributes stored in the Manager can be seen in RINGMesh-view utility. The code related to ringmeshview is in the "visualize" library.

changchancc commented 5 years ago

Thank you very much @francoisbonneau. This is very helpful to me.