tentone / nunuStudio

Web powered cross-platform 3D, WebXR game engine.
https://nunustudio.org
MIT License
2.09k stars 312 forks source link

Update to last version of three.js #542

Open WelinkOS opened 1 year ago

WelinkOS commented 1 year ago

"I upgraded the version of Three.js using GPT-4, and it feels very convenient. About 90% of the upgrade was completed using GPT-4, and the upgrade has been fully completed. I am submitting this message to report that I have not experienced any issues while using the upgraded version so far.

tentone commented 1 year ago

Hello

Well...holy o.O this for real?

Go for a PR happy to help finish any work required to make this work.

Thanks in advance.

difool95 commented 1 year ago

hello which Threejs version did you reach ?

difool95 commented 1 year ago

I think when updating ThreeJS you have to update many classes in the project to ES6 Format

tentone commented 1 year ago

Yes, that is the main problem right now.

Since i was injecting code into the existing structures (mixins). When they moved the code to ES6 i can no longer do that.

To update three.js some major code restructure will be necessary.

icoco commented 1 year ago

so, it is hard for upgrade the code to latest version Threejs ?

tentone commented 1 year ago

Its quite a big change yes, threejs is now using ES6 patterns that require to change the ES5 way that nunuStudio is using to extend classes and inject changes.

Can be done but requires some work and persistency.