Output for navigation using HMD touch screen button with gaze
Posted: Wed Dec 06, 2017 1:28 pm
Hello,
I’m trying to create a test tour in Pano2VR Pro, to enable the mechanical touch screen button in a head mounted display (which only presses the mobile phone center bottom of screen) to go to the tour node that is currently in the center of gaze.
I started with the cardboard.ggsk skin that uses pure gaze control to navigate.
In the skin editor:
I set up two variables: VarUrl and VarTarg (both blank, type text).
On the ht_node element I changed the “mouse click” action to “set variable value”, chose VarUrl and set it to $hu.
On a second mouse click action I repeat but use VarTarg and set it to $ht
I then created a long rectangle along the lower 30% of the canvas and gave it an action: pressed, open next panorama, URL: VarUrl, pan/tilt/FoV: VarTarg
In Chrome browser the panorama opens but when clicking the long button at the bottom it Chrome gives the error: “Error loading panorama XML” regardless of whether the center of gaze is on a hotspot or not.
I figure this is because either the “open next panorama” action can’t assign a variable text value and is instead simply using the variable name or the $hs / $ht values only work on actions assigned to the ht_node element, so using them on the long button means they are out of scope??
Is there any other way to set up this touch button?
Huge thanks,
Jack
I’m trying to create a test tour in Pano2VR Pro, to enable the mechanical touch screen button in a head mounted display (which only presses the mobile phone center bottom of screen) to go to the tour node that is currently in the center of gaze.
I started with the cardboard.ggsk skin that uses pure gaze control to navigate.
In the skin editor:
I set up two variables: VarUrl and VarTarg (both blank, type text).
On the ht_node element I changed the “mouse click” action to “set variable value”, chose VarUrl and set it to $hu.
On a second mouse click action I repeat but use VarTarg and set it to $ht
I then created a long rectangle along the lower 30% of the canvas and gave it an action: pressed, open next panorama, URL: VarUrl, pan/tilt/FoV: VarTarg
In Chrome browser the panorama opens but when clicking the long button at the bottom it Chrome gives the error: “Error loading panorama XML” regardless of whether the center of gaze is on a hotspot or not.
I figure this is because either the “open next panorama” action can’t assign a variable text value and is instead simply using the variable name or the $hs / $ht values only work on actions assigned to the ht_node element, so using them on the long button means they are out of scope??
Is there any other way to set up this touch button?
Huge thanks,
Jack