Vousk-prod. Posted February 1, 2014 Share Posted February 1, 2014 Hello, The SceneLoader example (David Catuhe's post "Babylon.js: How to load a .babylon file produced with Blender") works perfectly with the babylon.js version provided in the loadScene.zip file (don't know the version number, but the babylon.js file is 192 Ko and was created 10 july 2013).But when I replace this old babylon.js file with the current version (1.8.5, downloaded from the master branch on github), it doesn't work anymore.Instead of the scene, I got a beautiful white on white canvas... Any idea why ? Some changes in the API not reflected in the wiki or documentation ? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 2, 2014 Share Posted February 2, 2014 Do you have a link to your scene so that we can test. Quote Link to comment Share on other sites More sharing options...
neoRiley Posted February 2, 2014 Share Posted February 2, 2014 are there any errors in the js console? I know this might be a stretch, but does your style look like this in your html doc? I had the same problem initially, and this style setting works for us. again, it might be a stretch but if you're not getting errors, then maybe ... <style>html, body, canvas { width: 100%; height: 100%; padding: 0; margin: 0; overflow: hidden;}</style> Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 2, 2014 Share Posted February 2, 2014 I had to change some features in the earlier version of .babylon format. This could be the cause. Now I promise I won't break anymore file compat Quote Link to comment Share on other sites More sharing options...
Crazy6 Posted February 7, 2014 Share Posted February 7, 2014 I had to change some features in the earlier version of .babylon format. This could be the cause. Now I promise I won't break anymore file compat Does this mean that the plugin for Blender scene export is not current and needs to be updated? When I try the tutorial from this site: http://blogs.msdn.com/b/eternalcoding/archive/2013/06/28/babylon-js-how-to-load-a-babylon-file-produced-with-blender.aspxI get the following error reported in Firefox Developers tools even with neoRiley's suggested fix: "Valid manifest file not found. Scene & textures will be loaded directly from the web server." babylon.js:22Any advice is appreciated. Thank you! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 7, 2014 Share Posted February 7, 2014 Try to add a manifest file with your model.babylon modele.babylon.manifest{ "version" : 1, "enableSceneOffline" : true, "enableTexturesOffline" : true} Ariel Yust 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.