您好,登錄后才能下訂單哦!
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, '<hotspot name="',get(name),'"[br] ath="',get(print_ath),'"[br] atv="',get(print_atv),'"[br] ...[br] />');
delayedcall(0, draghotspot(dragging) );
);
);
]]>
</action>
在對應場景上加個ondown="draghotspot(scene_8)"
知識資料:
官網網址:http://www.krpano360.com/
學習網址:http://blog.csdn.net/panorama360/article/details/38456741
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。