three.cpp icon indicating copy to clipboard operation
three.cpp copied to clipboard

OffscreenCanvas support

Open PawelAP opened this issue 7 years ago • 1 comments

Nice to see another attempt a few years later! Is it possible to use it through web assembly and render with OffscreenCanvas?

PawelAP avatar Jun 06 '18 15:06 PawelAP

Hi,

that is certainly something I havent tried. After all, I was coming from the web (Javascript) and wanted to go native. I did not think of returning to the web afterwards. Beyond that, I don't see a reason - Three.js is easily fast enough IMO.

That said, there is a slight dependency on some Qt APIs in the core implementation, which would probably be a hindrance. It's only 2 or 3 classes, so that should be fairly easy to mend. Since I have no further dependencies, I don't see why it wouldn't work.

regards, Chris

2018-06-06 17:41 GMT+02:00 PawelAP [email protected]:

Nice to see another attempt a few years later! Is it possible to use it through web assembly and render with OffscreenCanvas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bergstr11/three.cpp/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkRpkGOg1dAVp8Y09Upj80AmMrxV8REks5t5_gNgaJpZM4Uc5Rz .

bergstr11 avatar Jun 06 '18 16:06 bergstr11