royibernthal Posted September 23, 2016 Share Posted September 23, 2016 I'm loading models from .babylon files. All my .babylon files are named data.babylon and each is placed in a folder named after the model. (e.g. cat/data.babylon) Due to the .babylon files being exported with the same name, there are sometimes naming conflicts in materials ids, e.g. "data.Multimaterial#0" can appear as a materialId in both cat/data.babylon and dog/data.babylon. Whenever there's a conflict, there's a problem in the rendering of the conflicted material in one of the models during runtime. Is it possible to avoid the conflict, while still exporting all my .babylon files with the name data.babylon? Quote Link to comment Share on other sites More sharing options...
gryff Posted September 23, 2016 Share Posted September 23, 2016 20 minutes ago, royibernthal said: s it possible to avoid the conflict, while still exporting all my .babylon files with the name data.babylon? Use the "namespace" box outlined in green in the image - type in dragon, monkey, mouse etc - something that describes your model. cheers, gryff V!nc3r 1 Quote Link to comment Share on other sites More sharing options...
royibernthal Posted September 23, 2016 Author Share Posted September 23, 2016 What about keeping both file name and namespace as "data" when exporting, and still solving the conflict on the bjs side. Is it possible? Quote Link to comment Share on other sites More sharing options...
gryff Posted September 23, 2016 Share Posted September 23, 2016 Not that I know of. gryff Quote Link to comment Share on other sites More sharing options...
royibernthal Posted September 23, 2016 Author Share Posted September 23, 2016 Okay, thanks 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.