Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unwrap() UV unwrapping function #534

Open
donmccurdy opened this issue Mar 30, 2022 · 0 comments
Open

Add unwrap() UV unwrapping function #534

donmccurdy opened this issue Mar 30, 2022 · 0 comments
Labels
feature New enhancement or request package:functions

Comments

@donmccurdy
Copy link
Owner

donmccurdy commented Mar 30, 2022

Resources:

xatlas seems like the leading choice here, with support for generating a texture atlas or packing one or more existing meshes into a single atlas. The xatlas-web WASM build doesn't seem to expose quite the behavior I'd want (unless I missed something) with what appears to be an assumption that each input mesh has {index, position, normal, uv} and output mesh has {index, position, normal, uv, uv2}. I need to support generic attributes and so need to access the vertex xref to rewrite the mesh after atlasing:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New enhancement or request package:functions
Projects
None yet
Development

No branches or pull requests

1 participant