skin-function to rotate pano by 90°

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Hi,

I´m looking for a function/workaround to rotate a pano just by 90° in one direction by clicking an arrow-button.
"Set position" doesn´t help. If I click the "90°to the right" the pano should rotate by 90° to the right. If I click again
it should move again. So I can´t set "got to position". Something like "on mouseclick" "rotate pano by +/-90° in x or y".
Is this function integrated?
Thanks for help.
CBosch
Posts: 240
Joined: Fri May 23, 2014 11:52 am

Hi MPW,

do you want actual position ∓90° or can you go with absolut positions 90°/180°/270°/360°?

If you can go with that, make four buttons with the same size and position. Make the button on top visible, the other three not. Name them Left1 ... Left4. Under action you type

for Left1:
1. mouseclick -> move to position 90/0/0 -> speed as desired
2. mouseclick -> change visibility -> Left1
3. mouseclick -> change visibility -> Left2
4. mouseclick -> change visibility -> Right4
5. mouseclick -> change visibility -> Right1

for Left2:
180/0/0 Left2, Left3, Right3, Right4

for Left3:
270/0/0 Left3, Left4, Right3, Right 2

for Left4:
0/0/0 Left4, Left1, Right2, Right1

Then you duplicate them and rename Left1 to Right1....

actions:

Right1:
0/0/0 Right 2, Right1, Left4, Left1

Right2:
90/0/0 Right3, Right2, Left3, Left4

Right3:
180/0/0 Right4, Right3, Left2, Left3

Right4:
270/0/0 Right1, Right4, Left1, Left2


Same can be done for tilt. Hope that helps, didn't found how 90 can be added to $ad ...
Have a nice day

Christian
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Yes this is possible with stacking multiple buttons.
I am putting in a feature request to make this easier.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
CBosch
Posts: 240
Joined: Fri May 23, 2014 11:52 am

Hi Hopki,

maybe, if possible it would be easier (for user) and more interesting if the action "move to position" gets a brother "move by value", that means if I type 60/0/0 each click will change the pan by adding 60° from the actual view. Or make the action "turn left/turn right" editable by angle.
Have a nice day

Christian
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Thanks for these fast replies.

As I need the workaround for "turn 90 dg to the l/r/u/d" what is this idea of stacking multiple buttons, Hopki?
And will it work on flash and html5?
CBosch
Posts: 240
Joined: Fri May 23, 2014 11:52 am

MPW wrote:what is this idea of stacking multiple buttons, Hopki?
I'm not Hopki, but that mean the way I described it. Make for every position you want to go to a button and show only those buttons which change to the next logical 90° position. All other are in visible and not clickable. For up/down it is the same only your buttons are named maybe "up" and down" and the positions are "$ad/-90(or 0 or 90)/0". Check it out if you can leave the pan to $ad and the pan holds or if you need 24 buttons like a matrix to fix the actual pan. And yes, it works for Flash and HTML.
Have a nice day

Christian
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI,
Please see attached project.
This is only doing left and right.
That said you can copy the buttons and use $ap/tilt/$af.
Tilt being the required amount of tilt.

Each click moves the pano 90 degrees in the required direction. The direction of rotation will depend on how close the selected angle is.
Regards,
Hopki
Attachments
placeholder.zip
(172.47 KiB) Downloaded 235 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Thank you CBosch, now I got it. I will work on it...
And thank you for the skin, Hopki.
It´s a nice workaround, although I would like to see a single action command on the roadmap.
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Please see Issue #1121
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply