You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/cc @robertlong – Hi! Hope it's OK to ask a couple questions here. I'm wondering about using xatlas-web for this. I think we'd ideally need two workflows supported:
(A) 1 mesh - unwrap and pack
load 1 mesh, providing position and normal attributes
generate a new UV atlas
use xref vertex IDs to rewrite the original mesh since some vertices have been duplicated. Original mesh may have arbitrary other attributes not used in the atlasing process.
(B) N meshes - repack only
load N meshes that already have UVs, providing position, normal, and uv attributes
generate a shared atlas, packing all UVs into the same [0,1] coordinate space
use xref vertex IDs to rewrite all original meshes, as above
At a glance I'm having trouble seeing if these workflows are supported by xatlas itself, the xatlas-web bindings, or neither... is that something you happen to know?
Related to #32. Something like the following:
Untested UV unwrapping logic using xatlas is here:
https://github.com/gkjohnson/three-gpu-pathtracer/blob/main/src/utils/UVUnwrapper.js
Originally from this Mozilla Spoke commit:
Hubs-Foundation/Spoke@9701d64
TODO
The text was updated successfully, but these errors were encountered: