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.
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
- Or you could use the
Sphericalclass, which could take an
x, y, zvalue, and it’ll return
phi, theta, radiusvalues. You could use the
phi, thetaas latitude & longitude. See here for documentation
Answered By – Marquizzo