JTerry Posted October 10, 2018 Share Posted October 10, 2018 It looks like the gltf format allows for "extra" attributes to be included in the file. Below is a link to the gltf issue that talks about it and a screen shot of the gltf file after export with an extra. Does the babylonjs gltf loader pull that info in? I don't see it the mesh anywhere. Link to comment https://github.com/KhronosGroup/glTF-Blender-Exporter/issues/15 Thanks!! Quote Link to comment Share on other sites More sharing options...
Sebavan Posted October 10, 2018 Share Posted October 10, 2018 There is no direct access from the mesh, you could nevertheless acces it through the gltf data available in a callback I ll make a playground as soon as i reach back home. JTerry 1 Quote Link to comment Share on other sites More sharing options...
JTerry Posted October 13, 2018 Author Share Posted October 13, 2018 Hey Sebavan. That would be great, thanks! Quote Link to comment Share on other sites More sharing options...
Sebavan Posted October 15, 2018 Share Posted October 15, 2018 Here it s for the main extras field: https://www.babylonjs-playground.com/#10D6YT#154 It logs undefined as my gltf does not contain extras here but you can get the idea and then extract what you want from the JSON. This event will be raised before any of the other processing in the loader. GameMonetize 1 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.