Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »thomkell« (19. September 2014, 10:15)
Benutzerinformationen überspringen
Wohnort: Berlin
Beruf: Software-Entwickler bei VR-Easy ( HTML, JS, PHP, krpano, C++, Java )
Zitat
Wie ich sehe hast du für jede Szene eine xml, diese würde ich dann nur bei Bedarf laden, nicht gleich per include!
Benutzerinformationen überspringen
Wohnort: Berlin
Beruf: Software-Entwickler bei VR-Easy ( HTML, JS, PHP, krpano, C++, Java )

|
|
Quellcode |
1 2 3 4 5 6 |
<!-- %1 ist das erste argument des funktionsaufrufs --> <action name="changepano"> loadpano(%1.xml, null, MERGE, BLEND(2)); plugin[bingmap].activatespot(%1); plugin[bingmap].pantospot(%1); </action> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »thomkell« (20. September 2014, 18:25)
Benutzerinformationen überspringen
Wohnort: Berlin
Beruf: Software-Entwickler bei VR-Easy ( HTML, JS, PHP, krpano, C++, Java )
|
|
Quellcode |
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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
<krpano version="1.17.4" title="Weingarten" onstart="startup();" showerrors="true">
<include url="skin/bingmap.xml" />
<!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? -->
<skin_settings bingmaps="true"
bingmaps_key="xxx"
bingmaps_zoombuttons="true"
gyro="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop=""
thumbs_opened="false"
thumbs_text="true"
thumbs_dragging="false"
thumbs_onhoverscrolling="true"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
thumbs_loop="false"
tooltips_thumbs="true"
tooltips_hotspots="true"
tooltips_mapspots="true"
controlbar_offset="20"
/>
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<!-- include für tooltip_rot -->
<include url="plugins/text_rot.xml" keep="true" />
<!-- include für tooltip_info -->
<include url="plugins/text_info.xml" keep="true" />
<!-- include für tooltip_quickinfo_top -->
<include url="plugins/text_quickinfo_top.xml" keep="true" />
<!-- include für tooltip_info_links -->
<include url="plugins/text_info_links.xml" keep="true" />
<!-- include für tooltip -->
<include url="plugins/text.xml" keep="true" />
<!-- include für tooltip_quickinfo -->
<include url="plugins/text_quickinfo.xml" keep="true" />
<scene name="scene_Muensterplatz" title="Münsterplatz | Touristeninformation" onstart="" thumburl="panos/Muensterplatz.tiles/thumb.jpg" lat="47.808778" lng="9.642673" heading="" >
<view hlookat="179.185" vlookat="-0.819" fovtype="MFOV" fov="120.000" maxpixelzoom="0.9" fovmin="30" fovmax="140" limitview="auto" />
<preview url="panos/Muensterplatz.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="2654" tiledimageheight="2654">
<cube url="panos/Muensterplatz.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1328" tiledimageheight="1328">
<cube url="panos/Muensterplatz.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="664" tiledimageheight="664">
<cube url="panos/Muensterplatz.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/Muensterplatz.tiles/mobile_%s.jpg" />
</mobile>
</image>
<hotspot name="info_touristeninformation"
ath="136.49"
atv="-0.873"
url="plugins/info_button.png"
alpha="0.5"
handcursor="false"
edge="center"
onhover="set(alpha,1.0);showtext(Touristeninformation[br]ehem.
Sitz des Landvogts,tooltip_info);"
onout="set(alpha,0.5);"
/>
<hotspot name="info_Ruthersche_Haus"
ath="182.45"
atv="-3.45"
url="plugins/info_button.png"
alpha="0.5"
handcursor="false"
edge="center"
onhover="set(alpha,1.0);showtext(Ruthersche Haus[br]ehem. Klosterschule,tooltip_info);"
onout="set(alpha,0.5);"/>
<!-- include für externe bilder + Datenschutz-->
<include url="skin/extern_pictures.xml" keep="true" />
<!--Info Box-Stadtführer-plugin -->
<include url="Info_Muensterplatz.xml" />
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="169.900" atv="-2.190" linkedscene="scene_kirchplatz_eingang_basilika" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="-141.891" atv="12.361" linkedscene="scene_kleine_muensterplatz" />
<hotspot name="spot4" style="skin_hotspotstyle" ath="-7.593" atv="15.242" linkedscene="scene_apotheke" />
<hotspot name="spot5" style="skin_hotspotstyle" ath="111.321" atv="3.477" linkedscene="scene_postplatz" />
</scene>
<!-- include Sektor Apotheke Postplatz-->
<include url="tour_apotheke_postplatz.xml" />
<!-- include Sektor Hallenbad Welfenfest-->
<include url="tour_Hallenbad_Welfenfest.xml" />
<!-- include Sektor Freibad-->
<include url="tour_Freibad.xml" />
<!-- include Sektor Kuko-->
<include url="tour_Kuko.xml" />
<!-- include Sektor Stadtgarten Abt-hyylerstraße-->
<include url="tour_Stadtgarten_Abt_Hyller_Strasse.xml" />
<!-- include Sektor Kornhaus Löwenplatz Schmidt-->
<include url="tour_Kornhaus_Loewenplatz_Schmidt.xml" />
<!-- include Sektor Schlössle-->
<include url="tour_Schloessle.xml" />
<!-- include Sektor tour_Rathaus_Karlstrasse_Alamannenmuseum-->
<include url="tour_Rathaus_Karlstrasse_Alamannenmuseum.xml" />
<!-- include Sektor Gabler-Orgel Westempore-->
<include url="tour_Gabler_Orgel_Westempore.xml" />
<!-- include Sektor Haus der Familie-->
<include url="tour_hdf.xml" />
<!-- include Sektor Basilika Fruchtkasten Sued-->
<include url="tour_Klostermuseum_Basilika_Fruchtkasten_Sued.xml" />
<!-- include Sektor Nessenreben-->
<include url="tour_Nessenreben.xml" />
</krpano>
|
Benutzerinformationen überspringen
Wohnort: Berlin
Beruf: Software-Entwickler bei VR-Easy ( HTML, JS, PHP, krpano, C++, Java )
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »thomkell« (22. September 2014, 10:34)
|
|
Quellcode |
1 2 |
<!--Info Box-Stadtführer-plugin --> <include url="Info_Muensterplatz.xml" /> |
|
|
Quellcode |
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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
<krpano version="1.17.4" title="Weingarten" onstart="startup();" showerrors="true">
<include url="skin/bingmap.xml" keep= "true" />
<!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? -->
<skin_settings bingmaps="true"
bingmaps_key="xxx"
bingmaps_zoombuttons="true"
gyro="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop=""
thumbs_opened="false"
thumbs_text="true"
thumbs_dragging="false"
thumbs_onhoverscrolling="true"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
thumbs_loop="false"
tooltips_thumbs="true"
tooltips_hotspots="true"
tooltips_mapspots="true"
controlbar_offset="20"
/>
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<!-- include für tooltip_rot -->
<include url="plugins/text_rot.xml" keep="true" />
<!-- include für tooltip_info -->
<include url="plugins/text_info.xml" keep="true" />
<!-- include für tooltip_quickinfo_top -->
<include url="plugins/text_quickinfo_top.xml" keep="true" />
<!-- include für tooltip_info_links -->
<include url="plugins/text_info_links.xml" keep="true" />
<!-- include für tooltip -->
<include url="plugins/text.xml" keep="true" />
<!-- include für tooltip_quickinfo -->
<include url="plugins/text_quickinfo.xml" keep="true" />
<scene name="scene_Muensterplatz" title="Münsterplatz | Touristeninformation" onstart="" thumburl="panos/Muensterplatz.tiles/thumb.jpg" lat="47.808778" lng="9.642673" heading="" >
<view hlookat="179.185" vlookat="-0.819" fovtype="MFOV" fov="120.000" maxpixelzoom="0.9" fovmin="30" fovmax="140" limitview="auto" />
<preview url="panos/Muensterplatz.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="2654" tiledimageheight="2654">
<cube url="panos/Muensterplatz.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1328" tiledimageheight="1328">
<cube url="panos/Muensterplatz.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="664" tiledimageheight="664">
<cube url="panos/Muensterplatz.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/Muensterplatz.tiles/mobile_%s.jpg" />
</mobile>
</image>
<hotspot name="info_touristeninformation"
ath="136.49"
atv="-0.873"
url="plugins/info_button.png"
alpha="0.5"
handcursor="false"
edge="center"
onhover="set(alpha,1.0);showtext(Touristeninformation[br]ehem.
Sitz des Landvogts,tooltip_info);"
onout="set(alpha,0.5);"
/>
<hotspot name="info_Ruthersche_Haus"
ath="182.45"
atv="-3.45"
url="plugins/info_button.png"
alpha="0.5"
handcursor="false"
edge="center"
onhover="set(alpha,1.0);showtext(Ruthersche Haus[br]ehem. Klosterschule,tooltip_info);"
onout="set(alpha,0.5);"/>
<!-- include für externe bilder + Datenschutz-->
<include url="skin/extern_pictures.xml" />
<!--Info Box-Stadtführer-plugin -->
<include url="Info_Muensterplatz.xml" />
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="169.900" atv="-2.190" linkedscene="scene_kirchplatz_eingang_basilika" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="-141.891" atv="12.361" linkedscene="scene_kleine_muensterplatz" />
<hotspot name="spot4" style="skin_hotspotstyle" ath="-7.593" atv="15.242" linkedscene="scene_apotheke" />
<hotspot name="spot5" style="skin_hotspotstyle" ath="111.321" atv="3.477" linkedscene="scene_postplatz" />
</scene>
<!-- include Sektor Apotheke Postplatz-->
<include url="tour_apotheke_postplatz.xml"/>
<!-- include Sektor Hallenbad Welfenfest-->
<include url="tour_Hallenbad_Welfenfest.xml"/>
<!-- include Sektor Freibad-->
<include url="tour_Freibad.xml"/>
<!-- include Sektor Kuko-->
<include url="tour_Kuko.xml"/>
<!-- include Sektor Stadtgarten Abt-hyylerstraße-->
<include url="tour_Stadtgarten_Abt_Hyller_Strasse.xml"/>
<!-- include Sektor Kornhaus Löwenplatz Schmidt-->
<include url="tour_Kornhaus_Loewenplatz_Schmidt.xml" />
<!-- include Sektor Schlössle-->
<include url="tour_Schloessle.xml"/>
<!-- include Sektor tour_Rathaus_Karlstrasse_Alamannenmuseum-->
<include url="tour_Rathaus_Karlstrasse_Alamannenmuseum.xml"/>
<!-- include Sektor Gabler-Orgel Westempore-->
<include url="tour_Gabler_Orgel_Westempore.xml" />
<!-- include Sektor Haus der Familie-->
<include url="tour_hdf.xml" />
<!-- include Sektor Basilika Fruchtkasten Sued-->
<include url="tour_Klostermuseum_Basilika_Fruchtkasten_Sued.xml"/>
<!-- include Sektor Nessenreben-->
<include url="tour_Nessenreben.xml" />
</krpano>
|
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »thomkell« (24. September 2014, 17:42) aus folgendem Grund: Die Tour mit verkürzter Ladezeit Korrektur: Nur die Logos im Top auf [keep=""true" />] setzen.