Three.js: firefox allocation size overflow editor publishing 1,5m+ polygons

Created on 21 Jun 2016  路  5Comments  路  Source: mrdoob/three.js

Description of the problem

allocation size overflow when publishing a scene frome editor with over 1,5 million polygons, 1,1million still works fine

allocation size overflow
Menubar.File/<()
Menubar.File.js:221
bound ()
self-hosted:752
Menubar.File.js:221:12

Three.js version
  • [ ] Dev
  • [x] r77
  • [ ] ...

    Browser
  • [ ] All of them

  • [ ] Chrome
  • [x] Firefox
  • [ ] Internet Explorer

    OS
  • [x] All of them

  • [ ] Windows
  • [ ] Linux
  • [ ] Android
  • [ ] IOS
    Hardware Requirements (graphics card, VR Device, ...)
Enhancement

Most helpful comment

Anything above 1 million polygons in a browser is a bad idea from many points of view.
You need to learn how to optimize your stuff.

That's not an answer for everyone. I'm using THREE.js for scientific visualization in a videowall center with multiple Quadro graphics cards that can easily handle huge polygon counts. It shouldn't be a show-stopper then with loading.

All 5 comments

Yeah... Working on that...

here (http://www.unmht.org/forum/en/5108.html) someone said that "Firefox's JavaScript engine can handle up to 256M chars per each string", might be the problem here, so it had to be splitted or reduced in some way.
i noticed that the scene export still works, maybe it just has a higher limit?

allocation size overflow when publishing a scene frome editor with over 1,5 million polygons, 1,1million still works fine

Anything above 1 million polygons in a browser is a bad idea from many points of view.
You need to learn how to optimize your stuff.
Lower poly and "smart" textures is the key to success.

i noticed that the scene export still works, maybe it just has a higher limit?

that's because of commit 35e5c70

Anything above 1 million polygons in a browser is a bad idea from many points of view.
You need to learn how to optimize your stuff.

That's not an answer for everyone. I'm using THREE.js for scientific visualization in a videowall center with multiple Quadro graphics cards that can easily handle huge polygon counts. It shouldn't be a show-stopper then with loading.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zsitro picture zsitro  路  3Comments

akshaysrin picture akshaysrin  路  3Comments

ghost picture ghost  路  3Comments

makc picture makc  路  3Comments

alexprut picture alexprut  路  3Comments