mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.22k stars 716 forks source link

Set true north to 0 in yaw #1234

Open OlivierLeal opened 2 weeks ago

OlivierLeal commented 2 weeks ago

Hello friend, I wanted to know if I can set true north as my yaw 0, I used the north0ffSet clause but it only changes the direction of the compass. I use equirectangular images.

mpetroff commented 1 week ago

I use equirectangular images.

The only way to do this would be to shift the columns in your image such that true north is in the center of the image.