vasturiano / three-globe

WebGL Globe Data Visualization as a ThreeJS reusable 3D object
https://vasturiano.github.io/three-globe/example/links/
MIT License
1.22k stars 147 forks source link

Arcs disappear when parts of globe is out of frame when inside PMDRS/Drei Portal View #93

Open AlexanderRisbey opened 6 months ago

AlexanderRisbey commented 6 months ago

Hi vasturiano, thank you for your amazing creation, I am aware that this may be a bug related to PMDRS/drei but im not sure.

I have noticed the following behavior : When parts of the globe are outside the camera view:

To Reproduce I reproduced this issue here https://t25gfc.csb.app/ Steps to reproduce the behavior:

  1. Go to example
  2. Scroll down till globe is visible
  3. Observe Arcs only visible at a certain point
  4. Press Switch to see the globe in Canvas
  5. Switch back and the bug is gone and arcs work fine
  6. reload page and bug appears again

Expected behavior Arcs are visible even if core/center is out of frame (might not necessarily be the core of globe

vasturiano commented 6 months ago

@AlexanderRisbey thanks for reaching out.

Unfortunately I'm not familiar enough with the Drei Portal views to be able to offer any useful opinion of what may be the source of the issue. Perhaps the folks at Drei could have more of a clue of what may be causing it, and how to solve it.