use cgltf or tinygltf as a no-assimp compile mode for meshIO? #1010
Replies: 2 comments 4 replies
-
I think that's a good idea. I'd be especially supportive if you felt like adding our I'm open to ideas, but somehow we have to set expectations, both for our level of maintenance and for what features work. With my TS, all I need to do is update our dependency on |
Beta Was this translation helpful? Give feedback.
-
Do I understand correctly that the assimp I/O currently in place does adequately support the |
Beta Was this translation helpful? Give feedback.
-
Was thinking a little about meshIO - it's very handy to have when one needs to write out example "bad" inputs for debugging, but needing assimp complicates life a bit. On the other hand, using it does provide support for a lot of formats.
What would the devs say to using something really small and embed-able like cgltf or tinygltf to support building meshIO when assimp isn't available, and using assimp instead when it is? Essentially that would allow for an "always on" aspect of the meshIO api where it is always handy to write out very basic glb meshes (intended primarily to support debugging cases), but would preserve the current features of assimp support when it is available? Looking over the meshIO code the comments indicate the assimp support is "primarily intended as a demonstration" which makes me think maybe one of the minimalist gltf readers and writers could provide enough to be useful?
I'd consider giving it a go and submitting a patch, but wanted to check how such a thing might be received before diving in.
Beta Was this translation helpful? Give feedback.
All reactions