制作连接器步骤

发布时间:2020-04-05 18:09:31 作者:wuquanhe
来源:网络 阅读:308

1. krpano注册

2 拆分360全景图片工具

. 制作连接器步骤

3.生成krpano文件,在index.xml修改参数,图片放在panos

4.打点的坐标显示<control keycodesin="" keycodesout="" />
                    <plugin name="hotspotinfo" keep="true"
                            url="%SWFPATH%/plugins/textfield.swf"
                            html="drag the hotspots..."
                            css="font-family:Courier;"
                            border="false"
                            selectable="true"
                            align="left" y="-100"
                            width="200"
                            height="80"
                            />
                    <action name="draghotspot">
                    <![CDATA[
                         if(%1 != dragging,
                              spheretoscreen(ath, atv, hotspotcenterx, hotspotcentery);
                              sub(drag_adjustx, mouse.stagex, hotspotcenterx);
                              sub(drag_adjusty, mouse.stagey, hotspotcentery);
                              draghotspot(dragging);
                           ,
                              if(pressed,
                                   sub(dx, mouse.stagex, drag_adjustx);
                                   sub(dy, mouse.stagey, drag_adjusty);
                                   screentosphere(dx, dy, ath, atv);
                                   copy(print_ath, ath);
                                   copy(print_atv, atv);
                                   roundval(print_ath, 3);
                                   roundval(print_atv, 3);
                                   txtadd(plugin[hotspotinfo].html, '&lt;hotspot name="',get(name),'"[br]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ath="',get(print_ath),'"[br]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;atv="',get(print_atv),'"[br]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...[br]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/&gt;');
                                   delayedcall(0, draghotspot(dragging) );
                                );
                           );
                    ]]>
                    </action>

在对应场景上加个ondown="draghotspot(scene_8)"


知识资料:

官网网址:http://www.krpano360.com/

学习网址:http://blog.csdn.net/panorama360/article/details/38456741




  


推荐阅读:
  1. 母盘制作全步骤
  2. exchange收发连接器

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

720 连接器 街景

上一篇:每天工作4小时的程序员

下一篇:R 复杂数据类型third day

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》