Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial view in scenes does not work #1179

Open
dariocavada opened this issue Sep 26, 2023 · 1 comment
Open

Initial view in scenes does not work #1179

dariocavada opened this issue Sep 26, 2023 · 1 comment
Labels

Comments

@dariocavada
Copy link

dariocavada commented Sep 26, 2023

I've tried with a simple example and it works:
https://pannellum.org/documentation/examples/initial-view/

{
    "type": "equirectangular",
    "panorama": "https://pannellum.org/images/lascar.jpg",
    "pitch": 2.3,
    "yaw": -135.4,
    "hfov": 120
}

But if I put inside a scene for a virtual tour, the
"pitch": 2.3,
"yaw": -135.4,

parameters are always set to 0,
hfov instead works.

what I can do to overcame this ?
Some workaround ?

@mpetroff
Copy link
Owner

How are you including the parameters in the tour?

The tour example includes initial view parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants