PDA

View Full Version : sensitivity and friction settings


Cameleer
05-06-2009, 05:21 AM
I’m looking at changing some xml setting for my panos to make them more fun. On this forum I read that some people don’t like these settings because the pano keeps moving a little after you release the mouse. Are there any reasons they should not be used?

behaviour = 2
sensitivity =5 0
friction = 0.93

I had been using the sensitivity default value 0.9

The other thing I’m trying to find out is how to add a home page link on the pano where it will not open a second page. I checked out this forum fairly well but found nothing that works with Internet Explore. I also checked out other peoples panos that had links to their home page and didn’t find any that would not open up a second page when clicked on.

Here is my test pano:
http://www.indiavrtours.com/jaisalmer/camels_lake4.html

Any help will be much appreciated.
Thanks,
Roger Berry

HansNyberg
05-06-2009, 09:04 AM
Personally I hate the high friction settings which make the pano move away from what i want to see, It makes it very difficult for people who are not used to panoramas to control it.

I use max friction=0.82
However I use a higher setting for sensitivity usually 100 which makes it much easier to pan especially on a laptop without mouse.

To make a link inside FPP on for example a logo you have to use a javascript and to set it to open in same window you have to use target _self.
To open in a new window use _blank
And if you pano is in an iFrame you have to use _parent as _self will open it in the same iFrame
This is the command.
onClick="javascript:window.open('http://www.xxx.com/xxx.html','_self');void(0);"

Nice Pano Roger, your site is beginning to look good now and you have a good structure which makes it easy to navigate it.

Hans

Cameleer
05-07-2009, 01:10 AM
Thanks Hans,
I spent countless hours looking for code to make a link that works like this.
Your code works like a dream!

Thank you again,
Roger Berry

allSaints
05-07-2009, 07:25 AM
Personally, I find it very disturbing, that a higher friction value gives lower friction - quite opposite to the normal coefficient of friction...

Tommy