THREE.js – get cartesian plane of a SphereGeometry


Im building a tile engine which wraps a SphereGeometry and im struggling with getting the 2D plane of the geometry.
I need that because further im looking to get the visible area only in order to increase network efficiency.

Any ideea is welcomed.
Thank you!


Your question needs more details to fully understand what you’re trying to achieve.

  • Maybe you could look at the sphere’s UVs. They’re always mapped in 2D space in the [0, 1] range.
  • Or you could use the Spherical class, which could take an x, y, z value, and it’ll return phi, theta, radius values. You could use the phi, theta as latitude & longitude. See here for documentation

Answered By – Marquizzo

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published