40 #ifndef GEOGRAM_MESH_MESH_ATLAS_MAKER
41 #define GEOGRAM_MESH_MESH_ATLAS_MAKER
59 PARAM_PROJECTION, PARAM_LSCM,
60 PARAM_SPECTRAL_LSCM, PARAM_ABF
68 PACK_NONE, PACK_TETRIS, PACK_XATLAS
106 double hard_angles_threshold = 45.0,
Common include file, providing basic definitions. Should be included before anything else by all head...
Global Vorpaline namespace.
ChartParameterizer
Parameterizer used to flatten individual charts.
geo_index_t index_t
The type for storing and manipulating indices.
void mesh_make_atlas(Mesh &mesh, double hard_angles_threshold=45.0, ChartParameterizer param=PARAM_ABF, ChartPacker pack=PACK_XATLAS, bool verbose=false)
Generates u,v coordinates for a given mesh.
ChartPacker
Packer used to organize the charts in texture space.
index_t mesh_get_charts(Mesh &mesh)
Gets the charts attribute from a parameterized mesh.
Types and functions for numbers manipulation.