Sybaris Posted December 2, 2018 Share Posted December 2, 2018 Hello First, thanks for the great job for Babylon.js. Powerfull engine, very well documented, with many examples... Playground, is also a very great environement. I have exported .babylon file using 3ds max, all is ok. On the sandbox (https://sandbox.babylonjs.com/), I can load my file. It's ok. Now I would like to use Playground with my file. I try to load local file from my computer, but I understand that it cannot. Then I upload my file on a web server, and I use this url (http), and I have an error, because it's not https. So I setup my web server to use https, and now I have the following error : "Access to XMLHttpRequest at 'https://xxx/myFile.babylon' from origin 'https://www.babylonjs-playground.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." My goal is to use the playground with my file. What is the easiest way please ? Thanks for advance. Regards, Sybaris Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted December 3, 2018 Share Posted December 3, 2018 hi image : imgur.com other file use Github,com (row format) at last replace domain to cdn url (https://cdn.rawgit.com) for attach js check this way https://www.babylonjs-playground.com/#1ZEABJ#196 GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
JohnK Posted December 3, 2018 Share Posted December 3, 2018 Unfortunately https://rawgit.com/ is now closed. Existing RawGit links will remain until October 2019. Need to find easy to use alternatives. NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
waverider Posted December 3, 2018 Share Posted December 3, 2018 There's a new cloud file hosting site where you can upload your assets and obtain the url, fun fact it's completely free, it uses cdn.com url https://glitch.com/ NasimiAsl 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.