Sie sind nicht angemeldet.

1

Freitag, 4. Juni 2010, 02:17

Limit look up look down

I am very rusty can someone remind me how to limit the look up the look down so people cannot see up or down

2

Freitag, 4. Juni 2010, 03:13

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.

3

Mittwoch, 9. Juni 2010, 12:56

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"
/>

www.360mallorca.com

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

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

4

Mittwoch, 9. Juni 2010, 13:03

vlookatmin ="0"
vlookatmax ="0"

did you play with those two??

Tuur
*thumbsup*

5

Mittwoch, 9. Juni 2010, 13:18

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"
/>

6

Mittwoch, 9. Juni 2010, 16:15

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

7

Mittwoch, 9. Juni 2010, 21:02

Thanks that fixed it,just shows I need to read more in this forum

8

Dienstag, 3. August 2010, 14:34

I am wanting to just allow the viewers to look up and not down how would I do that klaus,thanks

9

Dienstag, 3. August 2010, 14:43

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)

10

Mittwoch, 4. August 2010, 13:03

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.

Quellcode

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

or

Quellcode

1
<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.

Quellcode

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


best regards,
Klaus

11

Sonntag, 8. August 2010, 17:25

I figure out with the help of zephyr.
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
my blog: http://mycasualsnaps.blogspot.com
my website: http://www.brac360.ky
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »wilcofong« (9. August 2010, 22:58)