Posts by tomozoh932

    relax-san.

    Depth is needed.

    I couldn't do anything too detailed, but I enjoyed creating a particle-like effect with depth.

    <krpano>


    <snow_setting
    count="50" />
       
    <action name="init_snow" autorun="onstart" scope="local" >
           
    for(set(i, 0), i LT calc(snow_setting.count), inc(i),

    calc(snowball, 'snowball_' + i);
    addhotspot(get(snowball));

    set(hotspot[get(snowball)],
    type=text,
    width=50,
    height=50,
    roundedge=50,
    bgcolor=0xffffff,
    bgborder='4 0xfef4f4 0.5',
    txtshadow='50 50 0xee827c 1.0',

    zoom=true,
    scale=0.2,
    alpha=0.75,

    depthbuffer=true,
    enabled=false,

    keep=true,

    //ty= -600,
    ty= calc(-900*random+ -800*random) ,
    tx= calc(1000*random+ -1000*random) ,
    tz= calc(-1800*random) ,
    );

    );

    // set(hotspot[get(snowball)].snow_speed, calc(0.4 + rand(40) / 100.0));
    // delayedcall(15, init_snow());

    snow_animation();

    </action>

    <action name="snow_animation" scope="local">
           
    for(set(i, 0), i LT calc(snow_setting.count), inc(i),
    calc(snowball, 'snowball_' + i);
               
    copy(ty_val, hotspot[get(snowball)].ty);
    add(ty_val, 1.0);
    set(hotspot[get(snowball)].ty, get(ty_val));
               
    if(ty_val GT 100,
    set(hotspot[get(snowball)].ty, calc(-900*random+ -800*random));
    set(hotspot[get(snowball)].tx, calc(1000*random+ -1000*random));
    set(hotspot[get(snowball)].tz, calc(-1800*random));
    ,
    <!-- else: 何もしない -->
    );
    );

    delayedcall(0.033, snow_animation());
    </action>

    </krpano>

    Hello.
    I'm currently creating a 360 tour for VR goggles.

    For example, there is no sphere distortion in this example.
    krpano

    In this example, the sphere will be distorted.
    krpano.com - Paris Virtual Tour

    You can see this by standing or sitting in VR's static mode while looking at the building.
    The old krpano doesn't seem to have the same problem.
    For example, 1.20.11

    Is this a feature?
    Do you know how to fix it?
    I'd really appreciate some help.

    If there is already a thread, please let me know.
    Thank you.

    Sorry I'm not good at English.

    krpano

    Confirmed during this tour.
    When pressing the VR goggle button with the controller, nothing appears on the bottom surface.

    OK.

    Switching to hand mode and reloading the tour.
    When pressing the VR goggle button in hand mode, the text “VR SETUP” appears on the bottom surface.

    Setting `set(hotspot[webvr_vrsetup].visible, false);` in `webvr_onentervr` hides it, so it's not a major issue, but is this the appropriate approach?*unsure*

    Sorry for the unclear English.

    MetaQuestでローカルwebサーバを立ててスタンドアロンでWebXRアプリを動かす - Qiita
    Meta Quest上にローカルwebサーバを立てて、そこでWebXRアプリを動かそうという記事です。これで完全スタンドアロンでWebXRアプリを動かすことができます。以下MetaQuestで記…
    qiita.com


    I'm also interested in this matter.
    However, I'm not good at programming. . .
    Is this article helpful?
    If it works well, I would appreciate it if you could let me know.
    thank you.

    It's an automatic translation, so I don't know the detailed intent.
    Sorry for my bad English.

    Hello.
    Create a SPOT with addhotspot.

    I cannot rotate the panorama while holding down SPOT.

    capture="false"

    Link

    The red circle allows you to move the panorama.
    Yellow squares do not allow you to move the panorama.

    I would be happy if you could give me some advice.

    Sorry for my bad English.

    Hi,

    For me it's work in 1.22.3 but if i'am in fullscreen the lightbox is not visible, if i exit from the fullscreen, i see it.

    I'am not in panotour

    Hello.

    I don't know if it's correct or not, but I simply added full screen with JS and used it.

    However, I'm not good at programming, so I don't understand the difference between full screen and krpano.

    thank you.

    Sorry for the difficult to understand English.

    Code
    ex.
    		<action name="fs_btn_onclick" scope="local" autorun="onstart">
    
    		set(layer[skin_btn_fs],
    			onclick  ='jscall('document.documentElement.requestFullscreen()');copy(onclick,onclick_b);set(layer[skin_btn_fs].crop, '64|576|64|64');',
    			onclick_a='jscall('document.documentElement.requestFullscreen()');copy(onclick,onclick_b);set(layer[skin_btn_fs].crop, '64|576|64|64');',
    			onclick_b='jscall('document.exitFullscreen()');copy(onclick,onclick_a);set(layer[skin_btn_fs].crop, '0|576|64|64');'
    		)
    
    	</action>