Skip to content

lucas-jones/gltf-transform-xatlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glTF-Transform-XAtlas

Not on NPM atm, install via GitHub

npm install https://github.com/lucas-jones/gltf-transform-xatlas.git
yarn add https://github.com/lucas-jones/gltf-transform-xatlas.git
pnpm install https://github.com/lucas-jones/gltf-transform-xatlas.git

UV Unwrapping function for glTF-Transform

import { unwrap } from 'gltf-transform-xatlas';

await unwrap(document, [ mesh1 ]);

await unwrap(document, [ primitive1, primitive2 ]);

// Generates a TEXCOORD_1 attribute where meshs share a single texture spacen

References:

About

Proof of concept - Using XAtlas with GLTF-Transform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages