V5 VR HMD files and How to.

Q&A about the latest versions
User avatar
Hopki
Gnome
Posts: 10481
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Mon Jan 11, 2016 2:17 pm

Pano2VR:
I think for Pano2VR this is quire straight forward as you need two project files anyway.
So all you would do is have a button in the skin to Go To URL to the VR html page.
And then one back to the normal view.

Pano2VR 5 Pro non Stereo and Stereo:
The following will output a project that has two HTML5 outputs that share the same tiles folder.
However will have separate skin files so will enable a normal skin and the stare skin to be used.

1) Add the input images and set up hotspots as described in the first post be it mono or stereo.

2) Add two HTML5 outputs. The second will automatically set the output folder name to output-1.
Right button click and edit the file name to output, both outputs should have the folder name output.

I will now refer to the projects as top and bottom in the output list.

3) The top output make as normal adding your skin and with the normal HTML template. In the skin add a button to switch to the VR mode, it will have the action:
Source: Mouse Click
Action: Go To URL
URL: vr/index.html
Target: _self

Save and close the skin.

For the VR output select the bottom HTML5 output.

4) Add the stare skin and add a button that will switch back to the normal mode with the action:
Source: Mouse Click
Action: Go To URL
URL: index.html
Target: _self

Save and close the skin.

5) Under the HTML tab select the VR.ggt and if using stereo pairs select this in the templates properties.

6) Edit the output file path for the HTML page so it looks like this: output/vr/index.html

Now output both HTML5 outputs by holding down the "alt" key and click generate output.
Opening the top HTML5 project will show a normal view. Clicking the VR button will switch to the VR view.

The output folder will contain the top HTML5 output project files and a sub folder called vr.
The vr folder will contain all the files for the vr output apart from the tiles as it will be using the same tiles folder as the top HTML5 project.
Regards,
Hopki
Hopki
Garden Gnome Software 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/
User avatar
skyfocus
Posts: 254
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Wed Jan 13, 2016 7:37 pm

Hopki wrote:Pano2VR:
3) The top output make as normal adding your skin and with the normal HTML template. In the skin add a button to switch to the VR mode, it will have the action:
Source: Mouse Click
Action: Go To URL
URL: vr/index.html
Target: _self
Hopki
Hello Hopki,

Is it possible to use the current-node/(current-viewpoint) in this URL: vr/index.html ?
If you use it this way, every-time you switch to VR and back again the tour starts at the beginning. It would be nice to switch within the pano you are looking at.
Is there a variable holding the current-node name to use something like

URL: vr/index.html#current-node

regards,

Arjan
Windows 10 Pro x64, Pano2VR pro V6.1.8 , Browser latest Firefox
Website: http://www.skyfocus.nl/
User avatar
Hopki
Gnome
Posts: 10481
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Thu Jan 14, 2016 2:52 pm

HI Arjan,
Iv not looked into it but you should be able to use Direct Node Access.
So if each node has #nodexx in a user data source text field, then the URL could be vr.html$us
This would open the VR at the listed node in the user data.
You can then use this to come back as the would be the same nodes :D
As said not tested it, but should work.
Regards,
Hopki
Hopki
Garden Gnome Software 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/
User avatar
3DV
Posts: 81
Joined: Tue Dec 15, 2015 12:44 pm
Contact:

Fri Jan 15, 2016 11:03 am

4) Add the stare skin and add a button that will switch back to the normal mode with the action:
Source: Mouse Click
Action: Go To URL
URL: index.html
Target: _self
When in VR (stereo) mode, how to add a button to the skin that can be 'stared' at?
The button always stays relative to the screen (locked in place just like the stare crosshairs). I couldn't find a way to set it relative to the image like a hotspot.
3DV - Real estate artist impressions and animations
VR Tourviewer - Experience Pano2VR tours on Oculus Go, Quest, Rift, Gear VR and Cardboard VR headsets
User avatar
skyfocus
Posts: 254
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Fri Jan 15, 2016 11:12 am

Hello Hopki,

I tried it and I see the mechanism working (the #nodexx is added in the URL), but since I've never used the direct node access feature (works differently when making tours with one pano per config-file) I have the suspicion this is not (yet) implemented in V5, am I right ? The tutorial (http://ggnome.com/wiki/Direct_Node_Acce ... al_Node_ID) on the website it says that with V4 there is a "direct node access" switch in the HTML output settings. But there is no switch like that in the HTML section of V5. Is this switched on by default ?
If so, I did not manage to get the tour opening at a different node than the starting node with a index.html#nodexx addition in the URL.

Am I missing something ?

Regards,

Arjan
Windows 10 Pro x64, Pano2VR pro V6.1.8 , Browser latest Firefox
Website: http://www.skyfocus.nl/
User avatar
skyfocus
Posts: 254
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Fri Jan 15, 2016 11:16 am

3DV wrote:
4) Add the stare skin and add a button that will switch back to the normal mode with the action:
Source: Mouse Click
Action: Go To URL
URL: index.html
Target: _self
When in VR (stereo) mode, how to add a button to the skin that can be 'stared' at?
The button always stays relative to the screen (locked in place just like the stare crosshairs). I couldn't find a way to set it relative to the image like a hotspot.
The button in the skin should be a hotspot button, just like you are using in the normal view skin. You can use the buttons from the normal skin. This is the stare-at button to go to the next pano. The button Hopki is talking about to switch back is not to be stared at but just a skin button to go back to normal view ...

I have a tour in place using this mechanism see : http://www.skyfocus.nl/SkyFocus/Tours/Stoetenslagh/

Arjan
Windows 10 Pro x64, Pano2VR pro V6.1.8 , Browser latest Firefox
Website: http://www.skyfocus.nl/
User avatar
3DV
Posts: 81
Joined: Tue Dec 15, 2015 12:44 pm
Contact:

Fri Jan 15, 2016 12:35 pm

Thanks for your reply, I understand.

I was looking for a way to switch to fullscreen when wearing the Samsung Gear VR.
Instead of using a button in the skin editor, I've now tried to add a hotspot with Link Target Type: 'URL', Link Target URL: 'javascript:containerFullscreen();' and Target: '_self' but that doesn't work when staring it. It works in Chrome when manually clicking on the hotspot, but doesn't work in FireFox 44.0b8 at all.

As a workaround I've found out it was easier to simply use Chrome to add the website to the Android Home Screen, the site then opens in fullscreen and stays fullscreen.
3DV - Real estate artist impressions and animations
VR Tourviewer - Experience Pano2VR tours on Oculus Go, Quest, Rift, Gear VR and Cardboard VR headsets
User avatar
skyfocus
Posts: 254
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Fri Jan 15, 2016 1:01 pm

skyfocus wrote:Hello Hopki,

I tried it and I see the mechanism working (the #nodexx is added in the URL), but since I've never used the direct node access feature (works differently when making tours with one pano per config-file) I have the suspicion this is not (yet) implemented in V5, am I right ? The tutorial (http://ggnome.com/wiki/Direct_Node_Acce ... al_Node_ID) on the website it says that with V4 there is a "direct node access" switch in the HTML output settings. But there is no switch like that in the HTML section of V5. Is this switched on by default ?
If so, I did not manage to get the tour opening at a different node than the starting node with a index.html#nodexx addition in the URL.

Am I missing something ?

Regards,

Arjan
Ok, found the switch it was "Hidden" behind the wrench and screwdriver icon .....
Windows 10 Pro x64, Pano2VR pro V6.1.8 , Browser latest Firefox
Website: http://www.skyfocus.nl/
User avatar
skyfocus
Posts: 254
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Fri Jan 15, 2016 3:56 pm

Hopki wrote:HI Arjan,
Iv not looked into it but you should be able to use Direct Node Access.
So if each node has #nodexx in a user data source text field, then the URL could be vr.html$us
This would open the VR at the listed node in the user data.
You can then use this to come back as the would be the same nodes :D
As said not tested it, but should work.
Regards,
Hopki
I've tested it, and I can confirm it's working ! To make it perfect it would be nice to be able to keep the current viewing angle. Just like it is now possible by using $cur in the target in a hotspot ..... is this also possible in the URL ?

Regards,

Arjan
Windows 10 Pro x64, Pano2VR pro V6.1.8 , Browser latest Firefox
Website: http://www.skyfocus.nl/
User avatar
Hopki
Gnome
Posts: 10481
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Fri Jan 15, 2016 4:50 pm

Hi Arjan,
This is a feature request that probably wont made it in the first release but its there for the developers to add later.
Regards,
Hopki
Hopki
Garden Gnome Software 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/
User avatar
zap
Posts: 384
Joined: Thu May 29, 2008 12:13 pm
Contact:

Sun Jan 17, 2016 12:40 pm

Switching between star and simplex works just fine.
Thanks Hopki for the hint :D
360 Panorama Creators http://luxmap.com
Google Trusted Photographer
CBaroncini
Posts: 18
Joined: Fri Jan 15, 2016 11:11 am

Mon Jan 18, 2016 6:36 am

Hello,
is there a way to zoom in/out when using a VR headset?
Thanks,
Carlo
User avatar
skyfocus
Posts: 254
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Wed Jan 20, 2016 10:20 am

I noticed a problem with this VR view, sounds are played double, giving a weird echo in the tour.

see (hear): http://www.skyfocus.nl/SkyFocus/Tours/H ... index.html
should be: http://www.skyfocus.nl/SkyFocus/Tours/H ... terjuffer/

Regards,

Arjan
Windows 10 Pro x64, Pano2VR pro V6.1.8 , Browser latest Firefox
Website: http://www.skyfocus.nl/
User avatar
Svendus
Posts: 684
Joined: Sun Jan 06, 2008 11:03 am
Location: Sweden
Contact:

Wed Jan 20, 2016 10:47 am

hi Arjan
it is running nicely here iPhone 6

are you sure that not any window or tab are open in the background
Safari has an quit idiotic feature to let all the tabs open even in the background
Image Image
CBaroncini
Posts: 18
Joined: Fri Jan 15, 2016 11:11 am

Wed Jan 20, 2016 11:31 am

Hello, is there a way to activate the hotspots via the center cross, as it works wearing an headset, when using the normal skin with the gyro activated on an iPad, without having to touch the hotspots icons?
Thanks.
Post Reply