Pannellum: fluidity equirectangular vs multiresolution

Created on 19 May 2020  路  3Comments  路  Source: mpetroff/pannellum

Hi there,
Thanks for Pannellum.
I write to ask any suggestions to enhance the autorotate fluidity in multiresolution demo.
Here two demo withe same panorama and same autorotate ("-2"):

1 Equirectangular (fluidity is good)
http://www.mainjoin.eu/vt/pannellum/examples/1_equirectangular.htm

2 Multiresolution
http://www.mainjoin.eu/vt/pannellum/examples/2_multiresolution.htm

I have already tried with smaller tiles of 256.
Smartphone testing it seems no real difference in fluidity bewteen equirectangular and multiresolution, on notebook it does.

Thanks for the help
Valerio

question

All 3 comments

I can get 60 fps for both. The multiresolution mode occasionally has dropped frames due to garbage collection because tiles are swapped in and out of memory as different parts of the panorama come into and out of view. This isn't a noticeable issue most of the time (i.e., when not using auto rotation), and rewriting things to use static allocation is a considerable effort that complicates the code.

There are no configuration changes that will have any significant effect on this. Using larger tiles might help slightly, since there would be fewer tiles to swap, but it will hurt load times.

Thank you @mpetroff. Can I help in any way to remove this little flicker with multiresolution?
I saw this little flicker in multiresolution in mouse drag mode too in your George Peabody Library demo.

I'd like have this fluidity:
http://www.mainjoin.eu/vt/pannellum/examples/3_marzipano/
..but I want to use Pannellum :) that is more open source. Did you think a funding for dev?
tks

I'm not sure we're talking about the same thing anymore. I thought you were referring to occasional jank due a dropped frame, but that's definitely not the same thing as flicker.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

exotfboy picture exotfboy  路  3Comments

tomas-nz picture tomas-nz  路  4Comments

ai-tushar picture ai-tushar  路  9Comments

afriedle picture afriedle  路  3Comments

shtrudelsupport picture shtrudelsupport  路  3Comments