Babylon.js icon indicating copy to clipboard operation
Babylon.js copied to clipboard

Support Web Workers to accelerate 2D canvas rendering

Open carolhmj opened this issue 2 years ago • 4 comments

In some cases, like using Dynamic Texture and/or GUI, we depend on rendering to a 2D context, which can be pretty slow sometimes. We'd like to support usage of Offscreen Canvas and Web Workers to speed this up. This can be done in many levels, like first only supporting in Dynamic Texture for the user to leverage the WW themselves (see example in https://github.com/carolhmj/Babylon.js/blob/offscreenCanvasExperiments/packages/tools/devHost/src/createScene.ts), evolving to optionally render all of the GUI automatically in a WW, if available.

carolhmj avatar Mar 21 '23 14:03 carolhmj

You are my hero.

jstroh avatar Sep 11 '23 10:09 jstroh

Yeah this is epic

gabrieljbaker avatar Sep 30 '23 05:09 gabrieljbaker

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

github-actions[bot] avatar Mar 14 '24 00:03 github-actions[bot]

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

github-actions[bot] avatar Mar 30 '24 00:03 github-actions[bot]