Rain, snow in VR mode?

  • Sadly rain and snow plugin doesn't show up in VR mode (quest3).

    Any trick for that? Or a 3rd party plugin exist?
    Would be also nice to see butterflies, meadow or leaves on our panos in VR !

    thanks!

  • 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>

Participate now!

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