Cnotey Posted December 1, 2015 Share Posted December 1, 2015 Ok, so maybe I'm just a little frustrated. I've built countless Unity apps, all programmed in fairly complex C#. But I can't for the life of me figure out how to implement a damn scene exported from Unity to Babylon. So I went on Github and downloaded the Babylon engine. I read a few tutorials to build babylon scenes, but a lot of the documentation appears to be a few years old. Exactly where do I put the filename.babylon file and how do I load it up? I created a folder, made a file called babylon.js, using vs 2.2 from the github page, and then made a quick index.html file. All in the same folder. When I try to run the index page, it just sits on loading forever. I'm sure it's something simple, can someone point me in the right direction? Thanks,Cnotey Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 1, 2015 Share Posted December 1, 2015 Hello! Even if documentation is a few years old, it is still accurate as one of our motto is "backward compatibility". Could you share the page you created somewhere? And beware: due to security restrictions, browsers cannot open .babylon file without having a webserver able to serve .babylon MIME type Just a few links:- Using node.js to serve your files: http://www.html5gamedevs.com/topic/18673-expressjs-with-babylon-files/?hl=mime- APache: http://www.hypercosm.com/support/howto6.html- IIS: https://technet.microsoft.com/en-us/library/cc725608(v=ws.10).aspx Quote Link to comment Share on other sites More sharing options...
ozRocker Posted December 1, 2015 Share Posted December 1, 2015 If its loading forever there was probably a javascript error somewhere. Check the console logs as its loading. Quote Link to comment Share on other sites More sharing options...
davrous Posted December 1, 2015 Share Posted December 1, 2015 Hi, Can you please drag'n'drop the output files (.babylon & exported textures) into the Sandbox: http://www.babylonjs.com/sandbox and tell us if it works? Bye, David 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.