BrunoLevy / geogram

a programming library with geometric algorithms
Other
1.9k stars 129 forks source link

Visualize a per-cell-facets attribute in Vorpaview #19

Open sebmestrallet opened 2 years ago

sebmestrallet commented 2 years ago

Hello, I'm trying to display a tetra mesh with a per-cell-facets attribute (for walls, in case of volume decomposition). It seems Vorpaview/Graphite cannot render this kind of attribute, despite listing them and allowing to autorange. As a simpler example, here is a sphere tetra mesh in a geogram file (just remove ".zip") sphere_with_random_attributes.geogram.zip It contains 4 attributes with random values (doubles, between -1 and 1) : per vertex / per cell / per cell facets / per cell corners

In Vorpaview:

Vertex attribute : :heavy_check_mark: vertices random

Cell attribute : :heavy_check_mark: cells random

Cell facets attribute : :x: cell_facets random cell_facets random_shrink

Cell corners attribute : :heavy_check_mark: cell_corners random

Is this an issue related to Vorpaview? Thank you for your help

BrunoLevy commented 2 years ago

Yes, visualization of cell facet attribute is not implemented yet. I'll work on that as soon as I have some time !

sebmestrallet commented 2 years ago

Okay, thanks for the answer!