You are not logged in.

bg360

Trainee

  • "bg360" started this thread

Posts: 120

Location: Bulgaria

  • Send private message

1

Thursday, July 29th 2010, 8:30am

All multiresolution levels loaded. Why?

Hello,
I have panorama 6000x3000 and I use 3 levels.

I found that if I use FOV 70 аll tiles from the lower levels (1st and 2nd) and part of the 3rd level - current view - are downloaded.
If I use FOV 80 all tiles from 1st and 2nd level are downloaded. I can't understand why all lower levels need to be loaded? It costs me loading time and bandwith.

Is there any way not to load lower levels only level of the current view?

bg360

Trainee

  • "bg360" started this thread

Posts: 120

Location: Bulgaria

  • Send private message

2

Thursday, July 29th 2010, 11:13am

I found this solution:

Source code

1
2
<events onxmlcomplete="set(lockmultireslevel,1);"/>
<events onloadcomplete="set(lockmultireslevel,-1);"/>


But if I use set(lockmultireslevel,current) lower level downloads too.

This post has been edited 1 times, last edit by "bg360" (Jul 29th 2010, 11:55am)


3

Thursday, July 29th 2010, 12:47pm

Hi,

that's the 'progressive' loading which is enabled by default,
it can be disabled with:

Source code

1
<image ... progressive="false">


best regards,
Klaus

bg360

Trainee

  • "bg360" started this thread

Posts: 120

Location: Bulgaria

  • Send private message

4

Thursday, July 29th 2010, 1:21pm

when I use progressive="false" the lower level just downloads silently. I check my temporary internet files.
By now only this works:

Source code

1
2
<events onxmlcomplete="set(lockmultireslevel,1);"/>
<events onloadcomplete="set(lockmultireslevel,-1);"/>

but I want to use set(lockmultireslevel,current) in stead of set(lockmultireslevel,1)

5

Thursday, July 29th 2010, 1:34pm

Hi,

right, with - progressive="false" - the current level is loaded first,
the low resolutions levels are loaded in this case because of the default - download="auto" - <level> settings,

see here for "download":
http://krpano.com/docu/xml/#multires

add - download="view" - to the levels which should be loaded only when viewing,
for just remove the unwanted/unneeded levels form the xml,

btw - for a 6000x3000 image, multiresolution is not that sense-full in the most cases,
here a single level should be also okay, e.g. use the MAKE PANO (NORMAL) or MAKE PANO (TILED) droplet,

best regards,
Klaus

bg360

Trainee

  • "bg360" started this thread

Posts: 120

Location: Bulgaria

  • Send private message

6

Thursday, July 29th 2010, 1:56pm

OK, you are right it's not a big issue when I use 6000x3000. I just want to optimize everything. I want to embed panos using 400x300px size , but with fullscreen option. So may be two is a reasonable number for levels.