mpetroff / pannellum

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

How to view full panorama like the attachment #1201

Open voivoikeri opened 5 months ago

voivoikeri commented 5 months ago

Dear mpetroff

This should be a very useful library for me! I want to use it to my current project, below is my question.

Question: How to setting for view full images like the attachment.

I use a library named marble-master 360 images viewer here (https://github.com/jsguy/marble) and it can view like the attachment.

This (https://github.com/jsguy/marble/blob/master/examples/slideshow_single_script.htm) is an example from it

marrble-master-360imageviewer

Update: I meant

  1. OK: I want to zoom till I can see the whole image.
  2. BETTER: It can make a view like a sphere like the image in the attachment.

Update: I want to use pannellum instead of above library because pannellum support hotspot.

Could you please support!

Thank you and Best Regards,

mpetroff commented 5 months ago

Pannellum only supports displaying rectilinear views.

I don't know what projection you're showing, although it looks somewhat similar to Lambert azimuthal equal-area or azimuthal equidistant projections. Adding stereographic projection support, which is far more common, is tracked by #52.

voivoikeri commented 5 months ago

Dear mpetroff!

Thank you so much for your answer!

I am trying, I will report later