Thanks Klaus,
Now I understand the issue:
|
Quellcode
|
1
|
speed = (speed + acceleration) * friction
|
This results in an acceleration curve with a quick ramp-up then slowing acceleration, something like an easeoutcubic or even more severe curve. The only combinations that don't result in a seemingly sudden start at speed result in a lower max speed and really long slow-down.
We can make a custom method, as you suggested. For your consideration on a future release of KRPano, I might suggest something like:
|
Quellcode
|
1
2
3
4
5
6
|
if(keydown,
speed = speed + keybaccelerate;
if(speed > maxspeed, speed = maxspeed);
,
speed = speed * keybfriction;
);
|
With something like the above the settings do exactly what the say they do and you can set them to get exactly the effect you want.
This wasn't so much an issue when using the Quicktime style of mouse movement, but since the world has settled on -- let's call it Street View style -- arrow keys for smooth continuous panning is vastly more important.
Anyway, thanks for the time you spent on this.