Antoine.YVAN Posted August 27, 2020 Share Posted August 27, 2020 Hello ! I currently need to custom the GLTF Importer. I can't find any informations on it in the doc, so I tried to work similarly to the FBXImporter way. Problem is : I can't seem to find any way to compile the GLTFImporter. I tried to compile it with the build.py file located at : "SdkFolder/source/build.py" with the arguments --plugin GLTFImporter. But I could not get it to work. The path of the cmake -H -B command was wrong. So I used the command with the good path and now I am stuck with the cgltf.h file which cannot be found. Am I doing it wrong ? If yes, how am I supposed to custom the Importer ? I work on Linux and Unigine 2.10. Tell me if you need any more informations. Thanks ! Antoine YVAN Link to comment
silent Posted August 27, 2020 Share Posted August 27, 2020 Antoine.YVAN It looks like there is no GLTFImporter article yet available in the documentation. That's because current GLTF Importer implementation state is experimental (we do not recommend to use it for production). We will add it later. cgltf.h you can find here (we use very old one from August, 2019): https://github.com/jkuhlmann/cgltf It also needs to be accessible via CGLTFROOT variable in OS. If you can stick with FBXImporter, you can find more useful information here: https://developer.unigine.com/en/docs/2.12/code/usage/custom_import_plugin/ Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts