You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, February 10th 2010, 1:29pm

zoom bei buttonsteuerung beschränken?

hallo,

ich habe das problem, dass bei der steuerung über buttons man x-beliebig rein und rauszoomen kann.

kann ich das bei den buttons auch beschränken?

<plugin name="nav_zoomin" url="b_plus.png" keep="true" zorder="2" origin="rightbottom" x="90" y="-70" onhover="showtext(Zoom +);" ondown="set(movevectorz,-1);" onup="set(movevectorz,0);" onover="set(blendmode,add);" onout="set(blendmode,normal);" />


<plugin name="nav_zoomout" url="b_minus.png" keep="true" zorder="2" origin="rightbottom" x="60" y="-70" onhover="showtext(Zoom -);" ondown="set(movevectorz,+1);" onup="set(movevectorz,0);" onover="set(blendmode,add);" onout="set(blendmode,normal);" />

2

Wednesday, February 10th 2010, 3:19pm

Dazu musst Du die Werte bei fovmin und fovmax im <view>-tag ändern:

Source code

1
2
3
4
5
6
7
8
9
10
11
<view hlookat 		="175"
	      vlookat       ="0"
	      fov           ="70"
	      fovmin        ="48"
	      fovmax        ="70"
	      maxpixelzoom  ="1.000000"
	      limitfov      ="true"
	      fisheye       ="0.25"
	      fisheyefovlink="0.00"
	      architecturalonlymiddle="false"
	      />
0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110