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

improve support for loading glTF "extras" #5960

Open
stephengold opened this issue Jan 12, 2025 · 0 comments
Open

improve support for loading glTF "extras" #5960

stephengold opened this issue Jan 12, 2025 · 0 comments
Labels
Feature-Request Global flag to mark feature requests

Comments

@stephengold
Copy link
Contributor

stephengold commented Jan 12, 2025

Currently, the loaded data structure allows metadata to be attached to a scene or a node. When loading a glTF asset that contains "extras", Assimp attempts to convert node-level extras to node-level metadata.

The glTF 2.0 specification also allows for extras to be attached to accessors, animations, buffers, cameras, images, materials, meshes, samplers, skins, and textures. However, the corresponding Assimp data structures don't provide anywhere to load this information.

Is your feature request related to a problem? Please describe.
Information is lost when loading glTF models.

Describe the solution you'd like
This issue requests that metadata members of type aiMetadata * be added to struct aiMesh, struct aiCamera, struct aiMaterial, and so on, and that the glTF 2.0 loader be enhanced to populate the appropriate members whenever "extras" properties are present in the glTF.

@stephengold stephengold added the Feature-Request Global flag to mark feature requests label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Request Global flag to mark feature requests
Projects
None yet
Development

No branches or pull requests

1 participant