Search code examples
meshcgal

.mesh file "ref" var explanation


I am trying to understand the .mesh files, usually generated for mesh visualization with Medit.

The documentation is here, but it is in french.

The thing I understand is that after every line describing and object in the file (vertex, triangle, tetrahedra, etc.) it comes a ref variable, that in the examples files I have, they usually are 0,1,2,3 and I don't understand what is their purpose.

Can somebody please explain this?

You can get an .mesh example here.


Solution

  • Each reference corresponds to a color in Medit. The colors are arbitrary, and can be changed in Medit (using the GUI or changing a configuration file).