Sign in to follow this  
ssaket

Running Engine on worker thread

Recommended Posts

Hi devs,

yesterday, I was reading about the  OffscreenCanvas (https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) and found one cool demo at https://developers.google.com/web/updates/2018/08/offscreen-canvas;

Then I decided to give it a go by creating  https://codepen.io/anon/pen/ReEGxp, but the engine fails to initialise at the worker thread reason- "window not found !" ;  Is there any way by which I can bypass this check ? I tried passing canvas context but no results ! 


It is supported by Three.js.. so I guess, shouldn't be an unknown area to explore :) 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.