bergstr11 / three.cpp

yet another C++ port of three.js, based on r86+
MIT License
86 stars 22 forks source link

OffscreenCanvas support #1

Open PawelAP opened 6 years ago

PawelAP commented 6 years ago

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

bergstr11 commented 6 years ago

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 notifications@github.com:

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 .