Can we for example roll back to three.js 0.124.0? Do I have to always use the version bundled in package.json which is "three": "file:../../Library/PackageCache/com.needle.engine@2.50.0-pre/package~/node_modules/three",?
The reason is I want to use a package that uses the old Three.Geometry instead of Three.BufferGeometry and updating that package to use three.buffergeometry is no small feat
It will not be as simple as that as we made a couple of fixes and additions to threejs that will be missing if you downgrade and probably fail loading completely.
It’s Depthkit once again, I got pretty far updating the deprecated calls to THREE.Geometry working then I hit Face3 calls which are deprecated as now faces seem to need to be declared per vertices and I got stuck fully https://github.com/juniorxsound/Depthkit.js/issues/21
The Depthkit library itself isn’t very complex it seems
Would be better if you embed their few files (it’s just like, 3-4) and change stuff there. Good opportunity to make a PR / Fork to them
Going back to an old three version will basically break “nearly everything” about needle engine, including the ability to animate anything, all fixes and updates we made, orbit controls that are parented to other things, newer material models in glTF, USDZ export, … you name it