nunuStudio icon indicating copy to clipboard operation
nunuStudio copied to clipboard

Update to last version of three.js

Open WelinkOS opened this issue 2 years ago • 6 comments

"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.

WelinkOS avatar Mar 23 '23 15:03 WelinkOS

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.

tentone avatar Mar 23 '23 15:03 tentone

hello which Threejs version did you reach ?

difool95 avatar Mar 29 '23 19:03 difool95

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

difool95 avatar Apr 03 '23 08:04 difool95

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.

tentone avatar Apr 03 '23 09:04 tentone

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

icoco avatar Jun 06 '23 10:06 icoco

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.

tentone avatar Jun 06 '23 10:06 tentone