You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i think for any serious game, you'd want to run your world simulation in a thread. in web that seems only possible via webworkers and then serializing every world update via messages.
However, since filament already does serialization to/from wasm, i was wondering if that can be reused, or possibly even run in a webworker itself.
Currently that isnt possible because the js code references a bunch of dom elements, but i think it doesnt nessesarily have to?
This discussion was converted from issue #8710 on May 16, 2025 17:03.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
i think for any serious game, you'd want to run your world simulation in a thread. in web that seems only possible via webworkers and then serializing every world update via messages.
However, since filament already does serialization to/from wasm, i was wondering if that can be reused, or possibly even run in a webworker itself.
Currently that isnt possible because the js code references a bunch of dom elements, but i think it doesnt nessesarily have to?
Beta Was this translation helpful? Give feedback.
All reactions