Jump to content

Big size model files


Visam
 Share

Recommended Posts

Hi

it is not a problem to load model files up to 200 MB. But if I need to load 500 MB, 1GB or even more, of course I have a problem: "google chrome ran out of memory while trying to display this web page".

I need to load whole model of a vessel or even oil platform. Any ideas? May be there is an "optimization" of babylon files? May be encreasing RAM help me?

 

Link to comment
Share on other sites

15 minutes ago, iTekVR said:

I have a problem: "google chrome ran out of memory while trying to display this web page"

but some time I can see another message for the same model in the "debug" window: "importMesh of undefined from undefined version"

Link to comment
Share on other sites

You will have problem before hitting memory issues trying to load such big models. Indeed, it will fail most of the time at the network level. We had several issues in the past trying to do XHR requests higher than 100 MB and it's a browser limitation we can't override.

That's why we've been working on the incremental format also which helps you to move the problem later on.

Our Espilit demo: https://github.com/BabylonJS/Website/tree/master/Scenes/Espilit / http://www.babylonjs.com/demos/espilit uses incremental + binary format.

You should have a look to check if the incremental mode could help you: http://doc.babylonjs.com/tutorials/Using_the_Incremental_Loading_System

Link to comment
Share on other sites

57 minutes ago, davrous said:

You will have problem before hitting memory issues trying to load such big models. Indeed, it will fail most of the time at the network level. We had several issues in the past trying to do XHR requests higher than 100 MB and it's a browser limitation we can't override.

That's why we've been working on the incremental format also which helps you to move the problem later on.

Our Espilit demo: https://github.com/BabylonJS/Website/tree/master/Scenes/Espilit / http://www.babylonjs.com/demos/espilit uses incremental + binary format.

You should have a look to check if the incremental mode could help you: http://doc.babylonjs.com/tutorials/Using_the_Incremental_Loading_System

Thank you so much!

Link to comment
Share on other sites

On 16/01/2017 at 2:35 PM, davrous said:

You will have problem before hitting memory issues trying to load such big models. Indeed, it will fail most of the time at the network level. We had several issues in the past trying to do XHR requests higher than 100 MB and it's a browser limitation we can't override.

That's why we've been working on the incremental format also which helps you to move the problem later on.

Our Espilit demo: https://github.com/BabylonJS/Website/tree/master/Scenes/Espilit / http://www.babylonjs.com/demos/espilit uses incremental + binary format.

You should have a look to check if the incremental mode could help you: http://doc.babylonjs.com/tutorials/Using_the_Incremental_Loading_System

@davrous

 

Link to comment
Share on other sites

On a semi-related topic, how would one go about delaying javascript functions. I can't find anything like sleep and all the stuff I googled doesn't seem to delay the function at all. I was trying "async await" and even timeout wrappers but it doesn't seem to block anything. Or perhaps this is too off-topic.

I have a JS script populating a DB and was wanting to throttle it a bit. 

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