Sie sind nicht angemeldet.

1

Sonntag, 29. Dezember 2019, 11:45

new/ shorter syntax for multires image/ level-tags not working

when inserting a pano from a new 1.22-built-tour into an older tour (original some 1.19) the new syntax is not working. updating the swf/js-files doesn't have an effect.


<image> <cube url="l%l_%v_%h.jpg" multires="512,1024,2048,4096" /></image>

produces errors about missing "l0"-folders/files (they really don't exist...)

the errors disappear when changing the syntax to the old form.
As I use to update older tours with newer panos it would be good to be able to insert the xml-code directly without errors.
Maybe the error results because of something that I changed in tour.xml or vtourskin.xml?

cheers

2

Sonntag, 29. Dezember 2019, 14:30

generate a multires pano with one of the droplets and copy the code from the xml...

<cube url="mypano.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="..." />

3

Sonntag, 29. Dezember 2019, 14:49

that's exactly what I did.
Generating the pano produced following code:

Quellcode

1
<image><cube url="panos/baum.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,1024,2048,4096" /></image>


Then I copied this code to my other tour which produced the errors as described.
All errors referring to missing files in a "l0" subfolder. But there are no such subfolders, only - as always before - l1, l2 and l3.

When changing the to the old level-tags

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<image type="CUBE" multires="true" tilesize="512">
			<level tiledimagewidth="4096" tiledimageheight="4096">
				<cube url="panos/baum.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
			</level>
			<level tiledimagewidth="2048" tiledimageheight="2048">
				<cube url="panos/baum.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
			</level>
			<level tiledimagewidth="1024" tiledimageheight="1024">
				<cube url="panos/baum.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
			</level>
		</image>


the tour works fine without errors.

EDIT: I used the multires-droplet of krpano 1.22.

4

Sonntag, 29. Dezember 2019, 15:11

ah...now it works. I don't know why but I think that after updating the swf/js-files I didn't delete the browser cache...

thanks