Matthew Petroff

Results 328 comments of Matthew Petroff

It projects the panorama to a cube map using `nona` and then tiles the cube map faces into image pyramids. This is the same method that was used by the...

Are you using HTTPS? Browsers disable access to device orientation data on unencrypted HTTP connections for security reasons.

No, it's a browser security restriction. There's no way around it.

Care to elaborate why you think using `matrix` would be better? Only a translation is being done, so the `matrix` transform's additional scale and skew terms wouldn't be used.

Unfortunately, there are no easy solutions for this that I can think of. The best suggestion I can offer is the same one I recently offered for [changing the brightness...

There's no such parameter, since I want to keep the user experience consistent. I wrote more about this several years ago (and my opinion on the matter hasn't changed): https://github.com/mpetroff/pannellum/issues/83#issuecomment-122928499

If by "flat image," you mean an equirectangular projection, then no, nothing like that is built in. You'd have to develop such functionality yourself. Since the hot spot angles directly...

The `haov` and `vaov` set the image extents, while the `pitch` and `yaw` set the current view center, and the hot spot `pitch` and `yaw` set the position of the...

The `pitch` and `yaw` of the hot spots are equivalent to latitude and longitude, so you'd position them the same way you'd position them on a map with an [equirectangular...

The API has a `mouseEventToCoords` function, which will convert a click event to pitch / yaw. Then it's just a matter of converting to equirectangular image coordinates: ```javascript var viewer...