1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
<!-- first scene/pano -->
<scene name="scene1" onstart="action(startscene);)">
<action name="startscene">
<!--showtext([b][i]Scene 1[/i][/b], infostyle);-->
action(activatespot,scene1, 40);
</action>
<!--<plugin name="mapmask" url="pano2_mapmask.png" parent="map" enabled="false" onloaded="updatemask();" />-->
view hlookat="-2" vlookat="60" fov="10" maxpixelzoom="1.0" />
<display details="22" />
<preview type="CUBESTRIP" url="area101cc.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="671">
<level tiledimagewidth="2013" tiledimageheight="2013">
<left url="area101cc.tiles/l2_l_%0v_%0h.jpg" />
<front url="area101cc.tiles/l2_f_%0v_%0h.jpg" />
<right url="area101cc.tiles/l2_r_%0v_%0h.jpg" />
<back url="area101cc.tiles/l2_b_%0v_%0h.jpg" />
<up url="area101cc.tiles/l2_u_%0v_%0h.jpg" />
<down url="area101cc.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1007" tiledimageheight="1007">
<left url="area101cc.tiles/l1_l_%0v_%0h.jpg" />
<front url="area101cc.tiles/l1_f_%0v_%0h.jpg" />
<right url="area101cc.tiles/l1_r_%0v_%0h.jpg" />
<back url="area101cc.tiles/l1_b_%0v_%0h.jpg" />
<up url="area101cc.tiles/l1_u_%0v_%0h.jpg" />
<down url="area101cc.tiles/l1_d_%0v_%0h.jpg" />
</level>
</image>
<!-- place here scene local elements like plugins,hotspots, ... -->
<!-- This is the intro Image code-->
<events onloadcomplete="delayedcall(30, hideintroimage() ); set(events.onloadcomplete,null);" />
<plugin name="introimage"
url="NCMbannerpaduk.png"
scale="0.5"
align="topcenter" x="0" y="20"
onloaded="set(alpha,0); tween(alpha,1.0);"
onclick="hideintroimage();"
/>
<action name="hideintroimage">
if(plugin[introimage].enabled,
set(plugin[introimage].enabled,false);
tween(plugin[introimage].alpha, 0.0, 0.5, default, removeplugin(introimage));
);
</action>
<!-- This ends the intro image code-->
<action name="normalview">
tween(view.hlookat, -2.0, 1.5, easeInOutQuad );
tween(view.vlookat, 10, 1.5, easeInOutQuad );
tween(view.fov, 80, 1.5, easeInOutQuad );
tween(view.fisheye, 0.0, 1.5, easeInOutQuad, WAIT);
set(display.flash10,on);
</action>
<!-- This is the new reset made from the above normalview-->
<action name="reset">
tween(view.hlookat, -2.0, 1.5, easeInOutQuad );
tween(view.vlookat, 10, 1.5, easeInOutQuad );
tween(view.fov, 80, 1.5, easeInOutQuad );
tween(view.fisheye, 0.0, 1.5, easeInOutQuad, WAIT);
set(display.flash10,on);
</action>
<!-- end of new reset-->
<!--<hotspot name="spot2" url="spot2.png" ath="-42" atv="-12" scale="0.6" zoom="true"
alpha="0.3"
onover="tween(alpha,1);tween(scale,1);"
onout="tween(alpha,0.3);tween(scale,0.6);"
onclick="looktohotspot(spot2); loadscene(scene2, null, MERGE, BLEND(1));"
/>-->
</scene>
|