![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
You need to copy the xml code in this thread which is your compass.xml code, and past it into your main xml file..
Destiny..
Offline
here is the link: http://helivizyon.com/360%20kompas/buil … ltour.html
Offline
Hi... I have checked our your xml code and it seems to be fine but something is wrong for it not to work..
Try copying and pasting this replacing your compass xml code...
Destiny...
************** COMPASS ***************************************************************
-->
<events onxmlcomplete="startup();"
onviewchange="rotatecompasses();"
/>
<!-- show info, set heading, create hotpots -->
<action name="startup">
<!-- SET HEADING -->
set(heading, 0);
</action>
<!-- change the rotation of the compass pointer / compass plate image -->
<action name="rotatecompasses">
sub(plugin[compass_pointer].rotate, view.hlookat, heading);
sub(plugin[compass2_plate].rotate, heading, view.hlookat);
</action>
<!-- compass with rotating pointer -->
<plugin name="compass" url="compassimages/compass_iconMine.png" keep="true" zorder="1" children="false"
align="righttop" x="10" y="10"
scale="1.0" scalechildren="true"
destscale="1.0"
onclick="switch(destscale,1.0,0.5);tween(scale,get(destscale));"
heading="0"
/>
<!-- compass pointer, the rotation will be changed in the "onviewchange" action -->
<plugin name="compass_pointer" url="compassimages/compass_icon_needle.png" keep="true" handcursor="false"
parent="compass" zorder="1"
align="center"
/>
<!--
************** COMPASS END ***************************************************************
Offline
I did it... Thanks ![]()
I forgot to paste it to second xml...
Offline
Strange.. You only needed the code on the main xml file. Its a hierarchy code, meaning it effects all of the other xml files.. If however you need it only to be on one Tour.... you simply add the compass code to that xml file so none of the other Tours will have it.. .. It doesn't really matter with this code as long as you have it working I guess..
Destiny..
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
