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.

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

1

Tuesday, September 28th 2010, 10:50pm

Panning over the zenith

I am looking for the code to make it possible to tilt more than 90 degree up.
This isn necessary in for example a church if a painting only can be looked at upside down close to the zenith.

I thought that this vlookatmax="+120" would do it but I get no effect at all from it.

Hans

VN2009

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Tuesday, September 28th 2010, 11:17pm

Limitview="off" for that function Hans. Found the post at panoguide first and answered there also.

<view hlookat ="0"
vlookat ="0"
camroll ="0.000000"
fov ="100"
fovmin ="50"
fovmax ="120"
fovtype ="DFOV"
limitfov ="false"
fisheye ="0.00"
fisheyefovlink="0.00"
stereographic ="false"
architectural =".5"
architecturalonlymiddle="true"
limitview ="off"
hlookatmin ="NaN"
hlookatmax ="NaN"
vlookatmin ="NaN"
vlookatmax ="NaN"
/>

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

3

Tuesday, September 28th 2010, 11:56pm

No good. You should be able to limit the view so that you can not tilt all the way.
For example to +120

People get confused if they can just pan all the way round in vertical position.

Hans

4

Wednesday, September 29th 2010, 12:14am

try this in the view tags

limitview ="range"

vlookatmin ="90"
vlookatmax ="-120"

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

5

Wednesday, September 29th 2010, 12:18am

Super. Works perfect.

Hans

6

Thursday, September 30th 2010, 11:39pm

if you're using .mov, don't forget to setup setview to false :

Source code

1
2
3
	 <image type="QTVR">
        <qtvr url="panos/01/pano1.mov" setview="false" />
    </image>


otherwise it won't works,
make me 5 mn to figure out what was wrong ;-)

z

7

Friday, October 1st 2010, 9:46am

Hi,

there are two modes to do that:

either by limiting the view to be always inside a defined range:

Source code

1
2
3
limitview ="range"
vlookatmin="-120"
vlookatmax="90"
then the current fov was also respected to be never able to look over that range,


or by limiting the viewing directing itself:

Source code

1
2
3
limitview="lookat"
vlookatmin="-120"
vlookatmax="90"
then the limits are only for the looking direction (the center of the view), regardless of the current fov,

(as addtional note - the vlookatmin value should be normally the minimal/smaller one and the vlookatmax the maximum/bigger one, but krpano corrects that internally automatically)

best regards,
Klaus

8

Friday, October 1st 2010, 2:20pm

Hi,


(as addtional note - the vlookatmin value should be normally the minimal/smaller one and the vlookatmax the maximum/bigger one, but krpano corrects that internally automatically)

best regards,
Klaus


Oops, Thanks for that tip.