Unwrap + atlas packing for ofMeshes
README
ofxAtlas

UV unwrap and atlas packing for
ofMesh via xatlas. Details: addon_config.mk.Quick use:
#include "ofxAtlas.h"
auto r = ofxAtlas::unwrapMesh(mesh, {});
if (r.ok) { / r.mesh UVs are 0–1; see r.atlasWidth / r.atlasHeight / }Multi-mesh unwrap or packing existing UVs:
ofxAtlas::Atlas — addMesh / addUvMesh, then generate() or chart/pack steps; buildOfMesh(...) needs the same source geometry you fed in.License: bundled xatlas is MIT (
libs/xatlas_core/xatlas.h).
ofxAddons