Sie sind nicht angemeldet.

1

Donnerstag, 17. September 2009, 10:59

Unnormal view. Settings of xml

Hello!

Please, help me to understand problem.
I manually tiling panorama and put it on server. Manually fill settings in xml, but view are unnormal:

why picture so...stitching?


Here is: source photo

And part of xml:

Zitat

<image type="SPHERE" multires="true" multiresthreshold="0" tilesize="500" baseindex="1">
<level tiledimagewidth="3000" tiledimageheight="1068" details="0" download="auto" decode="auto">
<sphere url="http://na.volne.ru/developer/vpano/t_%0V_%0U.jpg" />
</level>
</image>



<view
hlookat ="150"
vlookat ="0"
fov ="120"
fovmin ="1"
fovmax ="90"
fisheye ="0"
fisheyefovlink="0.50"
architectural ="0.5"
vlookatmin="-12"
vlookatmax="+12"
/>

2

Donnerstag, 17. September 2009, 12:31

hi!
1. your picture is not 360x180, so cylindrical would be better
2. the horizon is not in the middle...
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

3

Donnerstag, 17. September 2009, 23:07

Hi alexeygfi,

Zitat von »machart«

1. your picture is not 360x180, so cylindrical would be better
2. the horizon is not in the middle...
Yes, your picture is not 360x180... it is 360x128 and your picture seems to be an equirectangular projection, not cylindrical... then, I think partial spherical would be better than cylindrical. ( KLAUS , it would be 'cool' if you would make a little explanation about the differences between partial spherical and cylindrical inside Krpano .... for what I know, there is difference between equirectangular projection and cylindrical. )
Yes, the horizon is not in the middle...you have an voffset near of -15º.

You can find more info about partial and cylindrical panos here:
Partial and cylindrical panos:

  • krpano supports now also partial spherical and cylindrical panos.
  • the
    view is automatically limited to the area of the image
    (limitview="auto"), but it's necessary to set "fisheye" to "0" for
    correct limiting.
  • new parameters for the image tag:

    • "hfov" - hortizontal field of view of the image (default=360)
    • "vfov" - vertical field of view of the image (default=automatically calculated)
    • "voffset" - vertical offset (default=0)

I think the mistake on your display comes mainly because of your <view> code and the voffset that it is not corrected.
Try to use the following modified code based on your code:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<krpano version="1.0.7">

<include url="plugins.xml" />

<view hlookat="0" vlookat="0" fov="75" maxpixelzoom="1.00" fovmax="150" />

<preview type="sphere" url="http://na.volne.ru/developer/vpano/preview.jpg" />

<display details="16" movequality="LOW" stillquality="HIGHSHARP" />

<image type="SPHERE" multires="true" tilesize="500" voffset="-15">
<level tiledimagewidth="3000" tiledimageheight="1068">
<sphere url="http://na.volne.ru/developer/vpano/t_%0V_%0U.jpg" />
</level>
</image>

</krpano>

Your pano will display better I think..
Notice that you have only 1 level defined in your code... then it is not a multi-resolution pano.

I hope this can help. ;-)

Salut.

4

Freitag, 18. September 2009, 09:44

1.0.8

Yes! 1.0.8 beta have this params:"hfov, "vfov" (i used 1.0.7). It is needed info. Thanks so much )) *thumbup*

Ähnliche Themen