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

Customizable Mesh read access #105

Open
atteneder opened this issue Nov 13, 2020 · 0 comments
Open

Customizable Mesh read access #105

atteneder opened this issue Nov 13, 2020 · 0 comments
Labels
customization Make glTFast behavior more costomizable import Import of glTF files

Comments

@atteneder
Copy link
Owner

Quote from the documentation:

By default glTFast discards mesh data after it was uploaded to the GPU to free up main memory (see markNoLongerReadable). You can disable this globally by using the scripting define GLTFAST_KEEP_MESH_DATA.

A more flexible solution is to allow scripters to discard/keep mesh data based on a per-primitive evaluation they can inject.

use-case:
Create physics MeshCollider only on meshes with certain criteria (name prefix or certain extra meta data). Keep those in memory.

Idea was born from PR #86

@atteneder atteneder added the customization Make glTFast behavior more costomizable label Nov 13, 2020
@atteneder atteneder added the import Import of glTF files label Dec 1, 2021
atteneder added a commit to Unity-Technologies/com.unity.cloud.gltfast that referenced this issue Apr 9, 2024
* feat: Dedicated tests for BuiltIn, Universal and High Definition Render Pipelines.

* fix: Light.areaSize is not available in builds, so assume default values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customization Make glTFast behavior more costomizable import Import of glTF files
Projects
None yet
Development

No branches or pull requests

1 participant