Just for reference: it is indeed a matter of focus. The focus on the pano object can be set via Javascript with:
document.getElementById("PanoObject").focus();
where PanoObject is the id passed to the embed function.
Just for reference: it is indeed a matter of focus. The focus on the pano object can be set via Javascript with:
document.getElementById("PanoObject").focus();
where PanoObject is the id passed to the embed function.
I have arrow keys and keycodes enabled for zooming.
<control keybaccelerate="0.1" keybspeed="10.0" keybfriction="0.9" keybfovchange="0.25" fovspeed="3.0" fovfriction="0.9" keycodesin="65,107" keycodesout="90,109" />
They work, but only after the user has somehow moved the panorama with the mouse.
Is it the expected behaviour? Or a problem of focus?
Thanks.
Hello,
I'm trying to use tween with multiple variables.
When I do this:
everything works. When I start using variables also for the destination:
tween(view.hlookat|view.vlookat|view.fov, get(endpointh)|get(endpointv)|get(endpointf), 6, easeinoutquad, WAIT);
The whole pano goes black and nothing else happens.
Am I missing something?
Thanks
PS: I'm not using lookto, because the rotation needs to happen in a predetermined direction, and it seems like with lookto that's not possible.
Hi all,
I created a simple VR tour with krpano 1.19-pr14, with hotspots to navigate between scenes, using the webvr.xml plugin defaults.
The action for loading a new scene is triggered by the hotspots' onclick event.
The call to the krpano API is:
It's working, but during the transition the view of the scene I'm leaving gets somehow locked to the cursor, so if I move my head during the whole panorama follows me, in an unpleasant way.
This doesn't happen with a VR tour created using krpano's droplet tool, yet I don't see what is different between my and its code.
Any ideas?
Thanks
Thank you very much, it all makes sense.
Hi,
I recently tried to run a simple krpano webVR interface for a 5000 x 2500 video. Working fine on desktop and Android phone.
When I tried it on an Oculus Go, I got the "video loading failed" error message. I then resized the video to 1920x960, which is the resolution of krpano's demo video, and everything worked fine, so I came to the conclusion that the problem lies in the video resolution.
Is that right? And if so, where is the limitation, is it due to their browser, krpano, or what else?
Thanks,
Davide.