Hello fellow Panisti,
I have just recently signed up as I've for the first time ran into trouble implementing my ideas using krpano.
The task at hand is as follows:
A
tour is to be created, which will run offline on an Android device. The
whole tour is to be viewed via a head mounted display (VR) and changes
scenes using delayedcaqll() automatically. The tour consists of
panoramic images and 'flat' videos.
To achieve this I am running a webserver on the android device, built the tour and started modding the XML file.
The resulting problem is as follows:
In
VR mode the tour seems to ignore whatever I try to limit view. Thus the
viewer can turn away from the running vieo and will be presented with
the background color of the videoscenes. Obviously I want the users FOV
and lookat limited such that the video being displayed will always cover
the entire FOV and no borders or blank screens will show, even if the
user tries to look to the side.
I have been
busy experimenting with the XML elements <image> and <view>,
to no avail thus far. I can either get the video to be displayed split
screen as desired in VR mode, or get it to default to
standard display mode.
In the following I will outline what I have roughly been experimenting with:
in the <krpano> element there is scenes along the lines of this:
<scene name="video1" title="video1">
<plugin name="video1"
url.flash=""
url.html5="videoplayer.js"
videourl="video/video1.mp4"
posterurl=""
align="center" x="0" y="0"
panovideo="false"
pausedonstart="false"
loop="false"
volume="1.0"
onvideoready=""
onvideoplay=""
onvideopaused=""
onvideocomplete=""
onerror=""
width="500"
height="prop"
/>
<image hfov="90" vfov="90" stereo="false" stereoformat="">
<cylinder url="plugin:video1" />
</image>
<view hlookat="0"
vlookat="0"
limitview="lookat"
maxpixelzoom="1.0"
/>
</scene>
Of course this scene is followed by the necessary <action> to make it change to the next scene automatically.
I have been heavily experimenting with lookat, lookatmin, lookatmax,
limitview and so on. Also tried image, layer, container, hotspot...
cube, sphere, cylinder ... and what not.
I hope anyone can
help shed some light on this as it seems I can not work it out, other
than dreaming up ressource intensive workarounds.
Im glad to have joined here and thank all of you in advance.
Matthias
Update:
I will next experiment with https://www.krpano.com/plugins/webvr/#headtracking
More:
The current testing device is a ZTE android device (with full gyro) as I have not got an Oculus Go, as I plan on using, yet.
Webserver is KSWEB.
Update: Added 'SOLVED' to title.