Image-stitching and virtual tour solutions My account Updates
It is currently Thu Oct 30, 2014 3:41 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Sep 24, 2013 8:39 pm 
Offline
Member
User avatar

Joined: Mon Jun 06, 2011 6:06 am
Posts: 135
Location: AUSTIN, TX USA
Hi,

I've been looking at editing the speed of rotation for the keyboard and arrow buttons.
On the krpano's site there is http://krpano.com/docu/actions/#vlookat_moveforce and http://krpano.com/docu/xml/#control.keybspeed

It appears I would be editing/adding:
Code:
         keybaccelerate="0.5"
         keybspeed="10.0"
         keybfriction="0.9"

to these lines in the main Build.xml

Code:
    <plugin name="moveleft" crop=" 88|0|44|44" devices="flash+!tablet+!mobile" ondown="set(hlookat_moveforce,-1);" ondowncrop=" 88|88|44|44" onhover="setmenutext(leftmenutxt, Move Left);" onovercrop=" 88|44|44|44" onup="set(hlookat_moveforce,0);" style="leftstyleflash" x="145"/>
    <plugin name="moveright" crop="132|0|44|44" devices="flash+!tablet+!mobile" ondown="set(hlookat_moveforce,+1);" ondowncrop="132|88|44|44" onhover="setmenutext(leftmenutxt, Move Right);" onovercrop="132|44|44|44" onup="set(hlookat_moveforce,0);" style="leftstyleflash" x="195"/>
    <plugin name="moveup" crop="176|0|44|44" devices="flash+!tablet+!mobile" ondown="set(vlookat_moveforce,-1);" ondowncrop="176|88|44|44" onhover="setmenutext(leftmenutxt, Move Up);" onovercrop="176|44|44|44" onup="set(vlookat_moveforce,0);" style="leftstyleflash" x="245"/>
    <plugin name="movedown" crop="220|0|44|44" devices="flash+!tablet+!mobile" ondown="set(vlookat_moveforce,+1);" ondowncrop="220|88|44|44" onhover="setmenutext(leftmenutxt, Move Down);" onovercrop="220|44|44|44" onup="set(vlookat_moveforce,0);" style="leftstyleflash" x="290"/>

Would yield the desired effect.
However when I'm working with the: ondown="set(hlookat_moveforce,-1);" i'm not sure how/where keybaccelerate, keybspeed, & keybfrictin would be added. Would anyone of you be able to help me out?

Thank you in advance,

Drew

[Update]
Ah ha! Editing the hlookat_moveforce,-1 to -,3 did the trick... Though that seemed to have only impacted to max speed. Curious if acceleration & friction can be altered too.

_________________
Howdy from Deep in the Heart of Texas!


Last edited by ATXcloud on Tue Sep 24, 2013 9:01 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group