kripken / ammo.js

Direct port of the Bullet physics engine to JavaScript using Emscripten

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to improve the performance of physical scenes?

syzdev opened this issue · comments

My goal is to use ammo.js build a slightly larger physical scene: about 10000 boxes. (Maybe not so much, but the more the better)

But it's obvious that Browsers can't afford it.

So I want to ask you for help:

  1. Are there any ways to optimize performance in ammo.js?
  2. Are there any ways to optimize performance in three.js for ammo.js?
  3. What other suggestions do you have for building large physical scenes?

Thank you in advance. : )

Uh, I think browsers should definitely be able to handle 10k boxes. Do you have some sort of way to showcase your problem online? I'd be happy to take a quick look if you want.