Hello Babylon.js community,
I’m working on a project that allows users to take measurements of 3D models within a scene (e.g., distances between faces). I’m seeking advice on the best approach to export and store this measurement data.
Currently, I’m storing the data in node metadata, which works, but I have some concerns:
- With multiple nodes representing different meshes, storing measurement data on specific nodes feels potentially confusing and disorganized.
- I’m wondering if there’s a more structured way to handle this data that would make it easier to manage and retrieve.
I’m considering creating a custom GLTF extension to store this measurement data. My questions are:
- Is creating a custom GLTF extension an appropriate solution for this use case?
- Are there any existing GLTF extensions that might serve this purpose?
- If creating a custom extension is the way to go, what would be the best practices for structuring and implementing it?
- Are there any potential pitfalls or considerations I should be aware of when creating and using a custom GLTF extension?
Any insights, suggestions, or best practices would be greatly appreciated. Thank you in advance for your help!