Posts by harz50

    Device : BlackView BV9200 / Android 12 / Chrome

    I think it is gyroscope tracking but can't affirm...

    When use classic smartphone mode it works good, the rendering is fluid and the gyroscope tracking too.

    But he needs to switch into computer mode in chrome for having his keyboard works... that's why i add desktopsupport, but don't seem to be efficience than with a classic usage.

    Thanks for the link, it helps me.

    I have another question, can i use gyroscope with a computer ? I see that it automaticly detect the device and disable the gyroscope icon when i don't use a smartphone

    My client uses a keyboard to interact with the virtual tour that he launches on his smartphone and to do this he must tell the browser to switch to computer mode, otherwise he cannot use the keyboard to connect. However, this actually deactivates the gyroscope option because the virtual tour detects that the device has changed while we are in fact still with the smartphone. Hence my question, can I activate the gyroscopic mode if I am not using a smartphone? Can we force it?

    Hello,

    i want to assignate key + for zoom-in progressively in the scene and the key - for zoom-out progressively. I have done some test but not succeed..

    i have done that :

    <events devices="desktop" onkeydown="keydown();" onkeyup="keyup();" />


    <action name="keydown">
    if(keycode == 107, zoomin());

    if(keycode == 109, zoomout());
    </action>

    <action name="zoomin">
    set(fov_moveforce,+1);
    </action>

    <action name="zoomout">
    set(fov_moveforce,-1);
    </action>

    <action name="keyup">
    if(keycode == 107, zoomin2());

    if(keycode == 109, zoomout2());
    </action>

    <action name="zoomin2">
    set(fov_moveforce,0);
    </action>

    <action name="zoomout2">
    set(fov_moveforce,0);
    </action>

    I thought i could use the function i found in the vtourskin for zooming :

    ondown="set(fov_moveforce,-1);" onup="set(fov_moveforce,0);" />

    ondown="set(fov_moveforce,+1);" onup="set(fov_moveforce,0);" />

    Hello,

    i have a problem with the gyro script, maybe someone can help me... The link : https://philippefauvel.com/Cite_Mer/vtour/tour.html

    I have limit the view of my pano with :

    <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="100" maxpixelzoom="0" fovmin="100" fovmax="100" limitview="range" hlookatmin="-135" hlookatmax="135" vlookatmin="-48" vlookatmax="48" />


    But when i activate the gyro on smartphone, the limit view didn't work anymore...


    Thanks,

    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.

    There is the code of a scene :

    <hotspot name="spot1" style="skin_hotspotstyle" ath="-52.400" atv="10.111" linkedscene="scene_ext__rieur" linkedscene_lookat="30, 0.0, 120.0"/>
    <hotspot name="spot2" style="skin_hotspotstyle" ath="116.733" atv="4.915" linkedscene="scene_ext__rieur_3"/>
    <layer name="test" url="textfield.swf" parent="hotspot[spot1]" align="bottom" html="Extérieur"/>
    <layer name="test2" url="textfield.swf" parent="hotspot[spot2]" align="bottom" html="Extérieur"/>

    I've tried to add distorted="true", but i had an error message with the xml files...

    Hi,

    I want that when we click a hotspot, the view shown by the linked scene is different from the view of departure of the linked scene...

    I use this code:

    <hotspot name="spot2" style="skin_hotspotstyle" ath="-99.399" atv="11.273" onclick="loadscene(scene_20170612123059_mtsn0q); lookat(get(0),get(90)); " />


    but it does not work, the view by default of the scene displays while I would want an other one that i specified with the onclick=....

    I found an other post with this subject, but it doesn't work for me : https://krpano.com/forum/wbb/inde…ookat#post47473


    Thank you,

    Philippe