Limit look up look down

  • I have tried and seem to be doing something wrong


    <view hlookat ="364.799297"
    vlookat ="0.000006"
    camroll ="0.000000"
    fovtype ="VFOV"
    fov ="90.000000"
    fovmin ="0.698100"
    fovmax ="90.000000"
    maxpixelzoom ="2.000000"
    limitfov ="true"
    fisheye ="0.00"
    fisheyefovlink="0.50"
    stereographic ="false"
    pannini ="false"
    architectural ="0.0"
    architecturalonlymiddle="false"
    limitview ="true"
    hlookatmin ="NaN"
    hlookatmax ="NaN"
    vlookatmin ="0"
    vlookatmax ="0"
    />

    <control usercontrol ="all"
    mousetype ="moveto"
    zoomtocursor ="false"
    zoomoutcursor ="true"
    mouseaccelerate="1.00"
    mousespeed ="10.00"
    mousefriction ="0.80"
    headswing ="0.00"
    keybaccelerate ="0.50"
    keybspeed ="10.00"
    keybfriction ="0.90"
    keybinvert ="false"
    mousefovchange ="1.00"
    keybfovchange ="0.75"
    fovspeed ="3.00"
    fovfriction ="0.90"
    movetocursor ="none"
    cursorsize ="10.0"
    keycodesleft ="37"
    keycodesright ="39"
    keycodesup ="38"
    keycodesdown ="40"
    keycodesin ="16,65,107"
    keycodesout ="17,89,90,109"
    />

    http://www.360mallorca.com

    I am also trying to add a share it button but it overlaps the pano

  • yes and cleared my browser

    This is the code


    <view hlookat ="364.799297"
    vlookat ="0.000006"
    camroll ="0.000000"
    fovtype ="VFOV"
    fov ="90.000000"
    fovmin ="0.698100"
    fovmax ="90.000000"
    maxpixelzoom ="2.000000"
    limitfov ="true"
    fisheye ="0.00"
    fisheyefovlink="0.50"
    stereographic ="false"
    pannini ="false"
    architectural ="0.0"
    architecturalonlymiddle="false"
    limitview ="false"
    hlookatmin ="NaN"
    hlookatmax ="NaN"
    vlookatmin ="0"
    vlookatmax ="0"
    />

    <control usercontrol ="all"
    mousetype ="moveto"
    zoomtocursor ="false"
    zoomoutcursor ="true"
    mouseaccelerate="1.00"
    mousespeed ="10.00"
    mousefriction ="0.80"
    headswing ="0.00"
    keybaccelerate ="0.50"
    keybspeed ="10.00"
    keybfriction ="0.90"
    keybinvert ="false"
    mousefovchange ="1.00"
    keybfovchange ="0.75"
    fovspeed ="3.00"
    fovfriction ="0.90"
    movetocursor ="none"
    cursorsize ="10.0"
    keycodesleft ="37"
    keycodesright ="39"
    keycodesup ="38"
    keycodesdown ="40"
    keycodesin ="16,65,107"
    keycodesout ="17,89,90,109"
    />

  • Hi,

    limitview="true" is not a valid setting,
    set "limitview" to "lookat" to be able to use 0/0 for min/max to limit any panning up or down,
    or set "limitview" to "range" and use the min/max settings to define the viewable range,

    best regards,
    Klaus

  • ok i figured it out


    <view hlookat ="364.799297"
    vlookat ="0.000006"
    camroll ="0.000000"
    fovtype ="VFOV"
    fov ="90.000000"
    fovmin ="0.698100"
    fovmax ="90.000000"
    maxpixelzoom ="2.000000"
    limitfov ="true"
    fisheye ="0.00"
    fisheyefovlink="0.50"
    stereographic ="false"
    pannini ="false"
    architectural ="0.0"
    architecturalonlymiddle="false"
    limitview ="lookat"
    hlookatmin ="NAN"
    hlookatmax ="NaN"
    vlookatmin ="10"
    vlookatmax ="-35"
    />


    or is there a simple way


    I also want to add a text logo in the corner of the pano like you do (krpano)

  • Hi,

    or is there a simple way

    no, that's okay,
    but you could limit either the lookat direction (limitview ="lookat"),
    or you could limit the viewing range (limitview ="range"),

    e.g.

    Code
    <view limitview ="lookat" vlookatmin ="-90" vlookatmax ="+35" />


    or

    Code
    <view limitview ="range" vlookatmin ="-90" vlookatmax ="60" />


    I also want to add a text logo in the corner of the pano like you do (krpano)

    e.g.

    Code
    <plugin name="logo" url="logoimage.png" align="rightbottom" x="10" y="10" onclick="openurl(http://krpano.com);" />

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!