Skip to content

ofxyz/ofxAtlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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::AtlasaddMesh / 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).

About

Unwrap + atlas packing for ofMeshes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors