stillonearth / MuJoCo-WASM

Emscripten builds of MuJoCo
MIT License
16 stars 16 forks source link

MuJoCo 3.0 - memory sparsification, contact islands and multi-threading, non-convex geometries, deformable bodies #2

Open josephrocca opened 8 months ago

josephrocca commented 8 months ago

Wondering if either yourself or @zalo have heard the MuJoCo 3.0 news? Pretty incredible new features (quoted from the release notes):

Would be awesome to play around with high-performance non-convex and deformable bodies in the browser 🤯

CC @lo-th

zalo commented 8 months ago

I'd be happy to add bindings for the new features/versions of MuJoCo, but I'm basically useless for generating new WASM compilations. 😅

stillonearth commented 8 months ago

I haven't merged https://github.com/stillonearth/MuJoCo-WASM/pull/3/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a back, but it seems there's CI work done to make it automatic.

zalo commented 8 months ago

@stillonearth I just finished a proper port of your 2.3.5 work: https://github.com/zalo/mujoco_wasm/compare/main...zalo:mujoco_wasm:upgrade_mujoco Seems like everything is good except PNG loading/textures don't work anymore 🤔

stillonearth commented 8 months ago

I also disabled textures previously, because wasm bindings don't handle rendering and I was unable to get them work with emscripten.

zalo commented 8 months ago

I also disabled textures previously, because wasm bindings don't handle rendering and I was unable to get them work with emscripten.

How were you able to get lodepng working in the original wasm compilation? Did something change in MuJoCo?

Zedderrs commented 3 weeks ago

Is there a MuJoCo 3.0 wasm that exists? If not, can someone help me how I can port the newest MuJoCo?

stillonearth commented 3 weeks ago

https://github.com/zalo/mujoco_wasm is up-to-date fork. 3.0 hasn't been ported yet.