Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Hi, I've read above that the hotspot rendering is not finished yet in this pre-release, but anyway, maybe my example can also help developing it.
I've recently used the pr1, but after a friend advised me about some problems in Safari+Mac desktop I've changed to pr3 and added
to my xml
![]()
Quellcode
1 <display framerate="60" devices="desktop.and.safari" />
When upgraded to pr3 the hotspot at nadir just vanished, and it is not inside VR mode, it already disapeared when entering the standard panoramic mode.
Here are two examples:
http://cartola.org/panoramas/20141121-Me…eum-Great_Hall/
http://cartola.org/panoramas/20141121-Metmuseum-Esfinges
The hospot link is there (nadir) but the image doesn't show. No error is reported by krpano. I haven't put the example online, but if I just change the index.js with the one from pr1 the hotspot image gets shown.
Bests and thank you for your great work, as always.
see here:onclick="loadscene(pano21,null,merge,blend(2));set(view.hlookat,70);set(webvr.resetSensor,70);"
|
|
Quellcode |
1 |
onclick="loadscene(pano21,null,merge,blend(2)); webvr.resetSensor(70);" |
|
|
Quellcode |
1 |
onclick="loadscene(pano21,null,merge,blend(2)); if(webvr.isenabled == true, webvr.resetSensor(70), set(view.hlookat,70) );" |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »tmrnvrcome« (26. Februar 2016, 11:00)
It's ok. I got it already.Hi guys
I am new at programming and krpano.
I have an introduction page with thumbnail previews and then linked scenes of panorama pics with hotspots. I would like to be able to see the same startview for every scene after i enter VRmode. Where and how should I use the resetSensor(hlookat) ? Should I use it in the tour.xml or webvr.xml? how should I code it?
When i Enter VR mode on my mobile device, I would like to see the startview that i have set no matter which position i am standing.
I did this.
onstart="lookat(179.999,0); if(webvr.isenabled == true, webvr.resetSensor(hlookat));"
And upon using the resetSensor(hlookat); , where should i delete the KEEPMOVING ?
Thanks.