Jump to content

SceneLoader.Load doesn't work anymore with new babylon versions


Vousk-prod.
 Share

Recommended Posts

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 ?

 

Link to comment
Share on other sites

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>
Link to comment
Share on other sites

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.aspx

I 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:22

Any advice is appreciated. Thank you! 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...