LV3 Posted October 6, 2017 Share Posted October 6, 2017 I've tried exporting about ten different random models (mostly from https://opengameart.org/ ) and have had exactly zero success. The error I get is always get some variation of ERROR: 'NoneType' object has no attribute 'get_index_of_bone' ('get_index_of_bone' part might be something else depending on the model I'm trying to export) Not being a 3d designer I have absolutely no idea what the above error could mean, so I feel there needs to be some sort of checklist for preparing models for babylon.js export, because although it works for primitives with no animation/bones/etc, it neither works nor provides sufficient feedback for real-world models. Are there any such resources available and if not where would be a good place to start one? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted October 6, 2017 Share Posted October 6, 2017 Hello, There is a nice page about blender tips here: https://doc.babylonjs.com/exporters/blender_tips And the general blender help: https://doc.babylonjs.com/exporters/blender Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted October 6, 2017 Share Posted October 6, 2017 Not buying the premise that random stuff off the internet constitutes a real-world model. Usually this stuff was considered "done" by the authors once it rendered inside blender. Since it was not thought that it was going to be exported, and they were not going to be charging for the content, the results are usually fairly poor. Blend files which were made with very old versions of .blender also cause problems. The error has to do with not lining up the skeleton with a mesh. I just put in better defensive code for this case. A log warning will be generated in the .log file, and a .babylon file generation will not be stopped by an exception. The skeleton will simply be ignored. Release 5.4.1 PR, in progress. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 6, 2017 Share Posted October 6, 2017 merged and published Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.