I am very rusty can someone remind me how to limit the look up the look down so people cannot see up or down
Limit look up look down
-
-
Hi Tim2420,
Perhaps those attributes ?
- vlookatmin
vertical minimum look position in spherical coordinates (-90° .. +90°), default="-90" - vlookatmax
vertical maximum look position in spherical coordinates (-90° .. +90°), default="+90"
SAlut.
- vlookatmin
-
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"
/>I am also trying to add a share it button but it overlaps the pano
-
vlookatmin ="0"
vlookatmax ="0"did you play with those two??
Tuur
-
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 -
Thanks that fixed it,just shows I need to read more in this forum
-
I am wanting to just allow the viewers to look up and not down how would I do that klaus,thanks
-
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.
orI 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 -
I figure out with the help of zephyr.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!