天天看点

Krpano雨雪插件使用及下载

Krpano雨雪插件使用及下载

krpano的snow插件,也就是雨雪插件,能让全景中“从天而降”漂亮的雪花或者点点细雨,或是任何你自定义的图像。这种特效让全景漫游时的体验更具真实感。

下载特效文件解压到vtour文件夹中,即是与tour.xml同一级目录,分别是snow_image文件夹、snow.xml文件。

在你的krpano安装包中viewer\plugins找到snow.swf以及snow.js,将这两个文件复制到vtour文件夹的plugins文件夹中。

然后在你想要的scene里的onstart中添加onstart=”snowballs();”即选择了雪球特效。

然后在该scene里面写上

<include url=”snow.xml” />

如下面代码所示:

<scene name="scene_achilleion-hof-unten" title="Achilleion - Garden" onstart="snowballs();"  thumburl="panos/achilleion-hof-unten.tiles/thumb.jpg" lat="39.563340" lng="19.904324" heading="0.0">
    <view hlookat="-1" vlookat="11" fovtype="MFOV" fov="120" fovmin="70" fovmax="140" limitview="auto" />
    <preview url="panos/achilleion-hof-unten.tiles/preview.jpg" />
    <image><cube url="panos/achilleion-hof-unten.tiles/mobile_%s.jpg" />
    </image>
    <include url="snow.xml" />
    </scene>
           

可选的样式

雪 – onstart=”defaultsnow();”

雪球 – onstart=”snowballs();”

雪花 – onstart=”snowflakes();”

银色星星 – onstart=”silverstars();”

金色星星 – onstart=”goldenstars();”

心形 – onstart=”hearts();”

笑脸 – onstart=”smileys();”

钱 – onstart=”money();”

雨 – onstart=”rain();”

大雨 – onstart=”heavyrain();”

雨雪特效文件snow.xml及snowimage文件夹下载

百度网盘 https://pan.baidu.com/s/1-Km5G6P6WgsQO3pEZYkXmA

密码:b7no