webaverse-studios / CharacterCreator

3D Avatar Creator for Everyone
https://moemate.io
MIT License
84 stars 47 forks source link

Export Unoptimized glb. #159

Closed gonnavis closed 1 year ago

gonnavis commented 1 year ago

Fix https://github.com/webaverse-studios/CharacterCreator/issues/112

Can export unoptimized glb ( separated trait models and textures ).

Todo:

image

image

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
character-creator ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 21, 2023 at 8:38PM (UTC)
gonnavis commented 1 year ago

Looks pretty good to me :) , just a small coment would be that when it finishes the process, the character stays with the mesh unculled until we select another trait: example:

Maybe an update cull right after the export process :) ?

Fixed https://github.com/webaverse-studios/CharacterCreator/pull/159/commits/17b008eb98b4ec1dbdb837063a0ee048b8184f41

In order to follow the previous "new mesh/geometry" logic pattern, and prevent fails when exporting block the later restoring, I chose to clone geometry instead of modify/restore original geometry.