Matthew Petroff

Results 328 comments of Matthew Petroff

You can't in general modify an image from JavaScript anyway, so modifying the original image isn't the correct approach. I would create an off-screen `` element the size of the...

I think using several scenes, each with its own canvas, should work, but I've never tested that. There should be a more detailed error message in the browser's developer console....

The `addScene` method is synchronous. All it does is add an entry to the internal configuration object. There is no need for a promise. Regardless, I don't see any reason...

If by "unusable" you mean terrible frame rate, then the only solution that I'm aware of is to decrease the video resolution. Firefox is really slow about loading video frames...

Interestingly, your observations don't seem to align with mine. I average 19fps with your Pannellum example, 16fps with your Babylon example, and 13fps with your Panolens example, so the performance...

If I add an event of this type, it would be a render event, called whenever a frame is rendered. I'm somewhat concerned about performance, though, from firing an event...

You don't seem to be inserting an extra element into your hot spots; your CSS overrides the base hot spot, which breaks the positioning. What's your hot spot creation function?

Did you read the comments earlier in this issue? As is stated in https://github.com/mpetroff/pannellum/issues/440#issuecomment-317991659, you need to insert an extra element inside the hot spot. The hot spot creation function...

Custom hot spots require using the API; the configuration is thus a JavaScript object.

Pannellum doesn't cache anything, only the browser does. Therefore, this is either an issue with your browser or your hosting provider (or your Pannellum configuration, if you're accidentally telling it...