Gyro2 and field of view

  • Hello,

    I want to create a virtual tour with a height field of view of 270° and a FOV at 100 :


    <scene name="scene_PANO0001_Panorama" title="PANO0001 Panorama" onstart="" thumburl="panos/PANO0001_Panorama.tiles/thumb.jpg" lat="" lng="" heading="">
    <control bouncinglimits="calc:image.cube ? true : false" />
    <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="100" maxpixelzoom="2.0" fovmin="100" fovmax="100" limitview="auto" />
    <preview url="panos/PANO0001_Panorama.tiles/preview.jpg" />
    <image hfov="270.00" vfov="97.879253" voffset="0.00">
    <sphere url="panos/PANO0001_Panorama.tiles/pano_%v%h.jpg" multires="4000,8000x2175" />
    </image>
    </scene>

    It works but my problem it is when I activate gyroscope function, the height field of view and zoom aren't restricted anymore.


    <plugin name="gyro" keep="true"
    url="gyro2.js"
    enabled="true"
    camroll="false"
    absolute="false"
    north="0"
    friction="0.0"
    touch_mode="full"
    sensor="1"
    sensor_mode="1"
    softstart="0.5"
    autocalibration="false"
    desktopsupport="false"
    onavailable=""
    onunavailable=""
    onenable=""
    ondisable=""
    ondenied=""
    />

    Is it possible that both works together ? Thanks.

    Edited once, last by harz50 (September 22, 2023 at 2:45 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!