1

How would I determine what the red point (phi', theta') is for a camera oriented at a known (phi, theta) is from a given image?

enter image description here

The point of this is to determine what (dphi, dtheta) is so that I can rotate my camera to that location.

I was thinking of a equirectangular or Mercator projection, but couldn't quite figure out how to convert map image coordinates to (phi', theta').

  • careful, latitudes increase (absolute value) with distance to the equator! what software are you using? three.js for example offers fairly easy methods to orbit a camera around a sphere. – ThingumaBob Apr 9 '18 at 11:55
  • I'm working in a Python environment. – Mateen Ulhaq Apr 9 '18 at 12:53
  • Lightweight Python wrapper for Cesium.js github.com/sinhrks/cesiumpy – Mapperz Apr 9 '18 at 14:09
  • I'm sorry, I just realized it's actually for a custom language with no library support. – Mateen Ulhaq Apr 9 '18 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.