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

Morphing keeps reuploading data #2354

Open
Trass3r opened this issue Feb 2, 2025 · 0 comments
Open

Morphing keeps reuploading data #2354

Trass3r opened this issue Feb 2, 2025 · 0 comments

Comments

@Trass3r
Copy link
Contributor

Trass3r commented Feb 2, 2025

When the set of active morph targets changes often it keeps reuploading data to the GPU due to:


Because MorphTarget holds FloatBuffers instead of VertexBuffers that could simply be bound instead of overwritten:
https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/scene/mesh/MorphTarget.java#L13

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

No branches or pull requests

1 participant