MarianG Posted June 17, 2018 Share Posted June 17, 2018 Hi. I'm haveing an interesting new problem as usualy I hope. I'm haveing a babylonjs file which contain a few textures, but the textures are saved in one server and the babylonjs file in other server. And this babylonjs file is generated in one scene and used in other scene. When I;m using it in the second scene it's happening like in this playground. The engine try to get the texture from babylonjs file server + textures path. Now the question is. Can I avoid this in some way? maybe if the textures have link on it, take them from their link and not from babylonjs file path Thanks in advance for your help. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted June 18, 2018 Share Posted June 18, 2018 In this case, do not use rootUrl but only absolute path ? https://www.babylonjs-playground.com/#21HH09#1 You ll notice the 404 is not a cors issue. MarianG 1 Quote Link to comment Share on other sites More sharing options...
MarianG Posted June 18, 2018 Author Share Posted June 18, 2018 Thanks @Sebavan and I promise that next time I will try more before I ask. 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.