1.背景
最近需要写gltf,预研了下相关的库,不得不说还是比较多的,毕竟GLtf的目标:“3D领域的JPEG”已经被行业比较广泛的接受和参与建设了;
2.简要总结
1、 KhronosGroup/glTF-CSharp-Loader
https://github.com/KhronosGroup/glTF-CSharp-Loader
备注:竟然是根据gltf specification schema文件生成代码....
和我们的XX需求场景一样
2、微软的glTF-SDK
https://github.com/Microsoft/glTF-SDK
https://blog.csdn.net/niuge8905/article/details/108521916
备注:
可能编译不过的问题:error C2440: '': cannot convert from 'initializer list' to 'Microsoft::glTF::rapidjson::SchemaDocument'
无法从“initializer list”转换为“Microsoft::glTF::rapidjson::SchemaDocument”
解决办法:https://github.com/microsoft/glTF-SDK/issues/71
3、BIM轻量化之路(二)-revit导出GLTF
https://blog.csdn.net/nihaozhe/article/details/108752926
4、利用gltfloader.dll或者SharpGLTF生成gltf、glb数据
https://blog.csdn.net/niuge8905/article/details/105969006
5、官网:https://www.khronos.org/gltf/
备注:
在[glTF Tools Tools, applications and libraries for working with glTF can be found in the glTF Project Explorer.]中可以找到很多实用项目
http://github.khronos.org/glTF-Project-Explorer/
比如:https://github.com/KhronosGroup/glTF-CSharp-Loader
https://github.com/KhronosGroup/glTF/
https://github.com/Microsoft/glTF-SDK
https://github.com/Lugdunum3D/glTF2-loader/tree/dev
https://github.com/CesiumGS/obj2gltf
3.小记
后续会使用其中的部分库,会继续总结。