← Back

ofxAtlas

github.com/ofxyz/ofxAtlas · @ofxyz
OF 0.12 3D / Point Cloud Geometry

Unwrap + atlas packing for ofMeshes

0 0 Last commit 5mo ago Created 5mo ago

README

ofxAtlas



preview

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).

Get this addon

HTTPS
SSH