Pierre Glibert Posted February 2, 2018 Share Posted February 2, 2018 Hello community We have an object ( 2 meshes ) with multi material exported with 3dsmax to GLTF format. In inspector, we saw that the exporter splitted our object to 13 meshes. One mesh for each material. Is it possible to keep the same object but with a multi material option instead ? Thanks in advance. Have a nice day . Quote Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2018 Share Posted February 2, 2018 Pinging @noalak Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted February 6, 2018 Author Share Posted February 6, 2018 Hi @noalak Can you help me please ? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2018 Share Posted February 6, 2018 Actually this is more for @bghgary Quote Link to comment Share on other sites More sharing options...
bghgary Posted February 6, 2018 Share Posted February 6, 2018 The main issue is that the mesh and primitives in glTF does not match exactly with Babylon's mesh/submesh and multimaterials. I have recently changed the loader to load each glTF primitive to its own Babylon mesh because there were too many edge cases that didn't work correctly. We can perhaps revisit this and figure out a way to only merge the primitives when it is possible to merge them. Pierre Glibert 1 Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted February 7, 2018 Author Share Posted February 7, 2018 hi @bghgary Thanks for your answer. I understand what you say... but ... It's just not easy, in the workflow, to work with that because our meshes are transformed/splitted with other name compared to 3dsmax scene. If you find a way for "mesh/submesh and multimaterials" that will be cool. If not, don't worry Otherwise, good work Quote Link to comment Share on other sites More sharing options...
bghgary Posted February 7, 2018 Share Posted February 7, 2018 @Pierre Glibert Ok, I will keep this in mind. There should be a way to figure out when it's okay to merge, but need to experiment with it a bit before doing so. Pierre Glibert 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.