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

Cubemap panorama #1215

Open
zeleamaaa opened this issue May 8, 2024 · 1 comment
Open

Cubemap panorama #1215

zeleamaaa opened this issue May 8, 2024 · 1 comment
Labels

Comments

@zeleamaaa
Copy link

Excuse me, I would like to ask if there is an explanation about panorama cubemaps in the example section, such as how to combine the 6 images or is there a reference that I can read to understand how it works? Thank you in advance.

@mpetroff
Copy link
Owner

The six images need to be provided in the order +z, +x, -z, -x, +y, -y (this is mentioned in the docstring / API documentation). Otherwise, the format is a standard OpenGL cubemap.

There's also a cube map example.

However, it's the least well supported format for Pannellum and doesn't include any loading progress indication, so I'd tend to avoid using it (and I keep thinking about deprecating it).

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