Sie sind nicht angemeldet.

1

Freitag, 20. Februar 2009, 12:35

Zoomify example

hi!

here is a example for using the zoomify/multires functions in a - as i think - senseful way...
http://www.mach-dot-art.de/krpano/mosaik…ik_samburo.html


but still not satisfying:

how do i get it straight?
how do i limit the vertical movement?

here is the code:

Quellcode

1
2
<view hlookat="0" vlookat="0" vlookatmax="9" limitfov="vlookatmax" hfov="26" fov="26" fovmin="0.01" fovmax="26" fisheye="0.00" fisheyefovlink="0.00" architectural="1.00" 
/> 
if i set "vlookatmax to less than 9, there is no vertical movement anymore - but it also doesnt zoom in anymore...

any idea?
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

2

Freitag, 20. Februar 2009, 14:49

Hi,

to get it straight just use a very small number for hfov, e.g:

so.addVariable("hfov", "1");

the vfov don't need to be set, it will be calculated automatically

for limiting to the image area just set nothing or set:

<view limitview="auto" />

then the possible viewing range is automatically limited to the image area,

best regards,
Klaus

3

Freitag, 20. Februar 2009, 16:44

ahhh - i got it straight! super!

but there is still a problem, maybe im missing something...
i changed the xml, but now
- i can still scroll vertical (much more than before) and can even "loose" the picture
- i cannot scroll anymore...

the code now is this:


Quellcode

1
<view hlookat="0" vlookat="0" vlookatmax	="9" limitfov="vlookatmax" limitview="auto" hfov	="26" fov="26" fovmin="0.01" fovmax="26" fisheye="0.00" fisheyefovlink="0.00" architectural="1.00" />



maybe there is something twice or two opposites or something i have to delete...(?) *huh*
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

4

Montag, 23. Februar 2009, 23:11

Hi,

try to remove the complete <view> tag from the "mosaik_samburo.xml" file,
should be better

5

Mittwoch, 25. Februar 2009, 15:40

wow, great work!

now with the new player it works exactly as i wanted...

so this is an ready to look example for the use of zoomify tiles... *g*
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

6

Mittwoch, 25. Februar 2009, 16:05

now i want to prepare an example where the ratio of the motiv is 1:1 (square)...

how do i do that?
.. and the best thing would be to have a thin white border around it... *squint*
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

7

Mittwoch, 25. Februar 2009, 22:05

Hi,

just use the same xml/parameters like for the square one
other changes should be necessary,

about the white border - the best way would be just via html

Ähnliche Themen