Jump to content

Multiple manifest files?


Recommended Posts

Dear all


This question might seem naive and is the following. I have a created a scene using  createScene = function()  and I import hundreds of meshes (.babylon) into the scene (using AJAX PHP MySQL call -- but this is irrelevant). 

Do I need to create  a manifest file for each babylon file that I import to use the IndexedDB feature?

Reading the tutorials on the internet, I came to the conclusion that there is one manifest file for an imported scene using BABYLON.SceneLoader.Load , which includes all meshes and hence multiple calls to BABYLON.SceneLoader.ImportMesh is not taken into consideration.

Link to comment
Share on other sites


 I've written the IDB layer mainly for offline usage indeed. I was also expecting a bit of performance boost thinking that loading from the local DB would be faster than going through the local cache but I've never seen that occuring.

 Caching the resources is manifest based and can be disactivated via: engine.enableOfflineSupport = false; to prevent having 404.

 I could imagine adding a flag like "forceOfflineSupport" to download all assets and store them in IDB without .manifest files but how would you manage files versions then? 



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.

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.


  • Recently Browsing   0 members

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