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

chore: improve performance of blendshape manipulation #485

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bdunderscore
Copy link
Contributor

This improves performance of blendshape manipulation by keeping blendshape
data in flat arrays as much as possible, and using Burst where reasonable.

This improves performance of blendshape manipulation by keeping blendshape
data in flat arrays as much as possible, and using Burst where reasonable.
@bdunderscore
Copy link
Contributor Author

In draft pending:

  • Test improvements?
  • Reorganize to avoid excessively-large files

}
}

public void ReadStaticMesh([NotNull] Mesh mesh)
{
InitialVertexCount = mesh.vertexCount;
BlendShapeData = new BlendshapeInfo(mesh);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

もし非SkinnedなMesh RendererのMeshにBlendShapeがあった場合にBlendShapeを読み込むのを避けるため、ReadStaticMeshではBlendShapeはパースしないでいただきたいです

@anatawa12 anatawa12 added refactor pull request that refactors improvement improvements but not treated as feature in semver labels Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improvements but not treated as feature in semver refactor pull request that refactors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants