You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the atmosphere is not rendering and the three-globe library throws this in the console:
"three-globe:2 Uncaught TypeError: Cannot read properties of undefined (reading 'position')
at ir (three-globe:2:58765)
at A.atmosphereObj.backside (three-globe:2:61042)
at Function.update (three-globe:2:61110)
at three-globe:2:7703
at l (three-globe:2:5265)"
if i include my libraries like that (as you can see i also switched the tbcontrols with the OrbitControls):
This is essentially because on v0.125 of ThreeJS there was a breaking API change introduced. Plain geometries were deprecated, and what was previously called buffer geometries started being called just geometries. You can find the details of that release here: https://github.com/mrdoob/three.js/releases/tag/r125
The result is that the code in this module expects a sphere buffer geometry to create the glow, which in the new spec is simply called SphereGeometry. While in versions prior to 125, SphereGeometry was not a buffer geometry that's why the code chokes.
So, unfortunately there's not really much choice other the upgrading the three version to at least 125 if you want it to be compatible with the latest version of this module.
I am also updating the min version in peerDependencies to reflect this.
the atmosphere is not rendering and the three-globe library throws this in the console:
if i include my libraries like that (as you can see i also switched the tbcontrols with the OrbitControls):
it works but just has problems with the atmosphere apparently.
The text was updated successfully, but these errors were encountered: