Skip to content

Avatar optimizer 2 [WIP] - #3409

Closed
avaer wants to merge 63 commits into
masterfrom
bone-transplant
Closed

Avatar optimizer 2 [WIP]#3409
avaer wants to merge 63 commits into
masterfrom
bone-transplant

Conversation

@avaer

@avaer avaer commented Jul 29, 2022

Copy link
Copy Markdown
Contributor

Replaces #2805

Requires webaverse/totum#118

@avaer

avaer commented Jul 29, 2022

Copy link
Copy Markdown
Contributor Author

Had to import a new version of https://github.com/mrdoob/three.js/blob/dev/examples/jsm/exporters/GLTFExporter.js to get this to work; the one linked in the repo creates zero vertices for no reason.

@avaer avaer closed this Jul 29, 2022
@avaer avaer reopened this Jul 29, 2022
@avaer

avaer commented Jul 29, 2022

Copy link
Copy Markdown
Contributor Author

This replicates the merge from https://github.com/mrdoob/three.js/blob/e22cb060cc91283d250e704f886528e1be593f45/examples/jsm/utils/BufferGeometryUtils.js#L115.

However the morph attributes on the multi-geometry fold still do not align (moth morph gets set on the hair).

Note that the previous atlas merge code was also erroneous and has the same problem.

@avaer

avaer commented Jul 29, 2022

Copy link
Copy Markdown
Contributor Author

image

@avaer

avaer commented Jul 29, 2022

Copy link
Copy Markdown
Contributor Author

image

@avaer

avaer commented Aug 10, 2022

Copy link
Copy Markdown
Contributor Author

#3577

@avaer avaer closed this Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant