Sry but I can't find out how to format the code to multiple lines
Posts by sr_raumgleiter
-
-
Hi there
I have a vtour where I have a bit more than ten panos. With the url params it should be possible to adress one pano and remove all the other panos. If no param is given, all panos remain in the tour.
I used simmilar code before but with different filtering and it worked as expected. Now with this project i don't have any logic in the pano naming so to get rid of the unwanted panos i tried to get all panos and remove then by index.
I got it to work partially, but instead of only one pano remains, there are about 5 remaining and the rest is deleted. I used trace to compare names etc. and I can't find the issue there.
Here is my action:
Code<action name="customscenes" autorun="preinit"> if(selectview !== null, txtadd(scn, 'scene_', get(selectview));tolower(scn); for(set(i,0), i LT scene.count, inc(i), if(scene[get(i)].name !== scn, trace('removeScene ', scene[get(i)].name); set(scene[get(i)].name, null); scene.removearrayitem(get(scene[get(i)].name)); , trace('keepScene ', scene[get(i)].name); ); ); , trace('no view selected, show all'); );</action>
Any hint why the panos get removed randomly?
Thanks
Sven -
Same here. No solution found until now.
-
Hi there
Great plugin, like it a lot!
I would love to change styling a bit though.
So I want to ask for some improvements if possible:
- Option to make lightbox dragable.
- Option to choose between rounded or straight lightbox corners
- Option to change the main parameters of the box (color, alpha, border)
- Option to adjust css for whole text or just parts of the text (font-family, font-weight, font-style, text-align)
- Any Idea on how to implement multilanguage?- How to make single line breaks?
That would be great!
Sven -
Same here.
Would need a standalone Version because we can deliver depthmaps ourselves.
It just takes to much time to use everpano 3D just for roundtripping without using most of the features.Sven
-
Hi
Thanks for your suggestions!
I tried that before with the hotspots (mostly for video overlays) but it was always a lot of work and a little hassle.
Loosing the ability of multires also can become a problem, so therefore I was think as layerd panoramas with transparency.i also do it like you, i render all combinations .-)
it takes a lot of space but the hotspot way is probably more work.Good to hear, so maybe we have to stick on that solution. Do you have examples to show? Would be interesting to see how you did the interface for that.
Sven
-
Try this plugin https://krpano.com/plugins/userplugins/zfilter/#top
Not exactly what I was looking for.
I need to overlay images (at least partial) and not to change the base panorama.
Think of a car configurator where you can change the material of the seats from leather to fabric. -
Hi
We do a lot of configurators (mostly real estate) and have developed a plugin to change the whole pano depending on what option the user clicks.
This work pretty good, but when having a large amount of options the data is getting enormous.I wondered if there is a solution to have a few base pano images (let's say one for day and one for night) and layer the rest over these base panoramas as png with only partional information (change color of a chair so). This would reduce file sizes and also would give us new option with blending things together. f.ex. make 3 pngs for red/green/blue and depending on how they are blended you can get every color you want.
I haven't found any solution in krpano for that until now.
Am I missing something. Any hints on how to do that?Sven
-
Hi
When using Panos to show a location to people not sitting at the same place it would be great if one could take over control to be shure they see the same thing as you do. Therefore I wondered if it is possible to control a tour at remote location via internet.
I know I can grab the input controls and also insert that at the other location. But how is the travelling of this information done? standard php server and post my inputs there?
Has anyone done that or something simmilar before or knows a solution?
Thanks
Sven -
With the next release (soon) all applications are 64bit.
When can we expect that? Is it days, weeks, months? -
Hi Klaus
I have a Problem with the new Editor. With my custom skin I do get the Error: "Not a krpano MAKE VTOUR tour.xml file! No editing function available..."
It must be checking something in the custom vtourskin.xml as i changed to standard tour.xml file an error was still there.What do i need to check in my code to get the Editor running`?
Thanks
Sven -
Thanks Alexey
In the meantime I upgraded the Krpano Core from 1.19pr12 to 1.19pr14 and that solved my problem.
I wanted to avoid changing this during a nearly finished project but in the end it was the only thing i could try.
Took some time to but seems to work now.Sven
-
I just replaced the custom Code in the vtourskin from the next_scene action with the standard code. Still the same issue.
Also i found out that it's not only the first Pano that is affected, also the last one sometimes has non clickable hotspots.
It's more when someone clicked a lot of hotspots before entering first/last Pano.I have no clue and customer is getting really nervous. Hope to solve that soon, will keep you updated.
Sven
-
Hi Klaus
I already thought that but hoped for a known problem.
So i will provide some code here:tour.xml first part
Code
Display More<krpano version="1.19" title="raumgleiter iRoom" logkey="true" debugmode="true"> <include url="skin/rgskin/rgskin_v3.xml" /> <include url="rgactions.xml" /> <!-- customize skin settings: maps, gyro, webvr, thumbnails, tooltips, layout, design, ... --> <skin_settings disclaimer="false" disclaimer_title="" disclaimer_title_forward_url="" disclaimer_bgcolor="0xffffff" disclaimer_bgalpha="0.85" disclaimer_logo="true" disclaimer_logo_url="%SWFPATH%/" disclaimer_logo_forward_url="" disclaimer_logo_width="200" disclaimer_content_image1="false" disclaimer_content_image1_url="%SWFPATH%/" disclaimer_content_text1="" compass="false" radarmaps="false" radarimageurl="%SWFPATH%/images/" radarimagebgcolor="0x2A292A" radarimagescale="0.16" radarscrolldirection="none" mainmap="false" mappriority="google" googlemaps="true" mapzoom="14" customspotimageurl="%SWFPATH%/skin/rgskin/radarpoint_active.png" projectlat="47.359923" projectlng="8.534966" maps_type="google" maps_bing_api_key="" maps_google_api_key="AIzaSyDXNVFxzyZnAtPNMWB7abExgrvXP4APfGE" maps_zoombuttons="false" radar="true" audio="false" gyro="true" gyro_touchmode="off" webvr="false" webvr_gyro_keeplookingdirection="false" webvr_prev_next_hotspots="true" littleplanetintro="false" title="false" thumbs="true" thumbs_width="165" thumbs_height="110" thumbs_padding="10" thumbs_crop="0|40|240|160" thumbs_opened="false" thumbs_text="true" thumbs_text_align="top" thumbs_dragging="true" thumbs_onhoverscrolling="false" thumbs_scrollbuttons="true" thumbs_scrollindicator="false" thumbs_loop="false" tooltips_buttons="false" tooltips_thumbs="false" tooltips_hotspots="false" tooltips_mapspots="false" deeplinking="false" loadscene_flags="MERGE" loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)" loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)" loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)" loadingtext="loading..." layout_width="100%" layout_maxwidth="814" controlbar_width="-20" controlbar_height="30" controlbar_offset="10" controlbar_offset_closed="-40" controlbar_overlap.no-fractionalscaling="0" controlbar_overlap.fractionalscaling="0" design_skin_images="%SWFPATH%/skin/rgskin/rgskin_v3.png" design_bgcolor="0x761092" design_bgalpha="0.8" design_bgborder="0" design_bgroundedge="1" design_bgshadow="0" design_thumbborder_bgborder="2 0xFFFFFF 1.0" design_thumbborder_padding="2" design_thumbborder_bgroundedge="0" design_text_css="color:#FFFFFF; font-family:Arial;" design_text_shadow="1" /> <style name="dragablehotspot" dragging="if(pressed, sub(dx,mouse.stagex,drag_adjustx); sub(dy,mouse.stagey,drag_adjusty); screentosphere(dx,dy,ath,atv); if(onDrag!==null, onDrag() ); delayedcall(0,dragging()); , if(onDragEnd!==null, onDragEnd() ); );" ondown="spheretoscreen(ath,atv,hotspotcenterx,hotspotcentery); sub(drag_adjustx,mouse.stagex,hotspotcenterx); sub(drag_adjusty,mouse.stagey,hotspotcentery); if(onDragStart!==null, onDragStart() ); dragging();" /> <!-- startup action - load the first scene --> <action name="startup" autorun="onstart"> if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene), null, MERGE); if(startactions !== null, startactions()); set(designcolor, 0x627D77); </action> <action name="closeintro"> trace(introoff); tween(layer[wrapper].alpha, 0); delayedcall(0.7, set(layer[wrapper].visible, false)); </action> <layer name="wrapper" type="container" keep="true" visible="true" enabled="true" alpha="1" aligning="center" width="100%" height="100%" bgcolor="0xffffff" bgalpha="0" bgcapture="true" onclick="closeintro();"> <layer name="intro360" type="image" visible="true" enabled="false" url="images/intro_v01.png" width="1120" height="prop" align="bottom" x="0" y="100" alpha="1"/> </layer> <layer name="corporate_bar_normal" devices="desktop" type="container" keep="true" visible="true" alpha="1" bgalpha="0.8" bgcolor="get:skin_settings.design_bgcolor" width="100%" minwidth="850" height="40" y="10"> <layer name="corporate_logo" type="image" visible="true" url="images/SR_Logo_White.png" width="prop" height="25" align="left" x="25" y="0" enabled="true" handcursor="true" onclick="openurl(http://next.swissre.com)"/> <layer name="corporate_projectname" url="textfield.swf" align="left" html="" enabled="false" css="font-family: SwissReSan; text-align:right; font-size:30px; color:#ffffff;" width="100%" height="100%" vcenter="true" padding="0 25 0 0" wordwrap="true" selectable="false" embeddedfonts="false" background="false" backgroundalpha="0.7" border="true" bordercolor="get:skin_settings.design_bgcolor" onautosized="" /> </layer> <layer name="startbox" state="closed" type="container" keep="true" visible="true" alpha="1" edge="topleft" align="topleft" width="300" height="420" x="-300" y="60" bgalpha="get:skin_settings.disclaimer_bgalpha" bgcolor="get:skin_settings.design_bgcolor" > <layer name="closestartbox" type="container" align="topright" width="40" height="40" x="-40" y="0" bgcolor="get:skin_settings.design_bgcolor" bgalpha="get:skin_settings.disclaimer_bgalpha" > <layer name="closestartboximage" type="image" align="center" scale="0.5" url="get:skin_settings.design_skin_images" crop="76|64|40|64" onclick="showinfo(false);"/> </layer> <layer name="startbox_text" url="textfield.swf" align="top" html="" enabled="false" css="font-family: SwissReSan; text-align:lefttop; font-size:16px; color:#ffffff;" width="100%" height="100%" visible="true" vcenter="false" padding="30" wordwrap="true" selectable="false" embeddedfonts="false" background="false" backgroundalpha="0.5" border="false" bordercolor="get:skin_settings.design_bgcolor" onautosized="" /> </layer> <infotext text_1="[h1]Mythenquai[/h1][h2]Der Standort Mythenquai spielt in unserer über 150 jährigen Geschichte eine zentrale Rolle. 1913 bezogen wir hier unseren Hauptsitz. Wir bauten ihn über die Jahrzehnte laufend aus. Der Standort Mythenquai umfasst heute sechs Gebäude.[/h2]" text_2="[h1]Swiss Re Next[/h1][h2]Swiss Re Next ist eines der modernsten Bürogebäude der Schweiz. Es wurde im September 2017 eröffnet und besteht aus dem Erdgeschoss, fünf Obergeschossen und drei Untergeschossen. Es bietet rund 800 Arbeitsplätze für 1'100 Mitarbeitende sowie Räumlichkeiten für Veranstal-tungen und Besprechungen. Swiss Re Next bildet das Zentrum des Campus Mythenquai.[/h2]" text_3="[h1]Empfang[/h1][h2]Der Empfang ist der Hauptzugang in den Campus Mythenquai. Er ist öffentlich zugänglich und vermittelt den Eintretenden einen unver-wechselbaren, prägenden Eindruck von Swiss Re. Hier holen unsere Mitarbeitenden Kunden und andere Besucher ab. Täglich passieren über 1'000 Personen den Empfangsbereich.[/h2]" text_4="[h1]Foyer Auditorium[/h1][h2]Das Foyer des Auditoriums steht für verschiedene Anlässe zur Verfügung. Es bietet gut 200 Personen Platz. Sein markanter Deckenausschnitt bringt Tageslicht ins zweite Untergeschoss.[/h2]" text_5="[h1]Auditorium[/h1][h2]Das Auditorium bietet Platz für rund 200 Personen. Zehn verschiebbare LED-Wandpaneele mit einer Gesamtfläche von 60m2 lassen sich in vier unterschiedlichen Projektions-Szenarien anordnen.[/h2]" text_6="[h1]Atrium Südwest[/h1][h2]Zwei Atrien bringen Tageslicht ins Innere von Swiss Re Next. Sie ermöglichen interessante Sichtbeziehungen innerhalb der Geschosse sowie über die Stockwerke hinweg. Im Atrium Südwest kreuzen sich die Wege aller Gebäude des Campus Mythenquai.[/h2]" text_7="[h1]Bürogeschoss Begegnungszone[/h1][h2]Die Begegnungszone liegt im Zentrum der Arbeitsgeschosse. Sie erlaubt spontanen, infor-mellen Austausch. Sie dient als Servicebereich mit Kaffeebar, Kopierzone, Postfächern und Entsorgungsstation. Die Begegnungszone ist Teil unseres neuen Arbeitsplatz-konzepts zur Förderung von Zusammenarbeit und Flexibilität.[/h2]" text_8="[h1]Bürogeschoss[br]Home Base[/h1][h2]Jedes Team in Swiss Re Next hat einen zugewiesenen Bereich, seine Home Base. Das schafft Identität und Orientierung. Hier finden die Teammitglieder unterschied-liche Arbeitsumgebungen in nächster Nähe. Die Arbeits-plätze sind nicht fest zugeteilt. Unsere Mitarbeitenden ent-scheiden selbst, an welchem Ort sie eine bestimmte Aufgabe am besten erledigen können.[/h2]" text_9="[h1]Kundenzone[/h1][h2]Die Kundenzone im sechsten Stock besteht aus unterschied-lichen Arbeitsumgebungen und klassischen Sitzungszimmern. Sie steht allen unseren Mitarbeitenden für den Aus-tausch mit ihren Kunden und auch als Arbeitsbereich zur Verfügung.[/h2]" text_10="[h1]Loggia[/h1][h2]Die Loggia ist für Mitarbei-tende und Kunden frei zugänglich. Sie bietet auf 23 Metern Höhe eine Panorama-sicht auf die Stadt und den Zürichsee.[/h2]" text_11="[h1]Nachhaltigkeit[/h1][h2]Swiss Re Next erfüllt die Anforderungen der Nachhaltigkeitslabel Minergie-P-ECO und LEED Platinum. Gegenüber dem vorherigen Gebäude benötigt Swiss Re Next 60% weniger Energie.[/h2]" text_12="[h1]Atrium Nordost[/h1][h2]Im Atrium Nordost zeigen wir relevante Themen aus unserem Tätigkeitsfeld. Eine Öffnung gibt den Blick frei ins Foyer des Auditoriums.[/h2]" /> <action name="newmapspot"> plugin[map].addstylespot(mapspot1, get(scene[get(xml.scene)].lat), get(scene[get(xml.scene)].lng), get(scene[get(xml.scene)].radarheading), rgmapspot, true); </action> <scene name="scene_Kugel_VP1_V4_finish" number="1" title="Mythenquai" thumb_display="true" onstart="set(actualspot, null); showinfo(true, 265); updatemap(google); newmapspot();" havevrimage="true" thumburl="panos/Kugel_VP1_V4_finish.tiles/thumb.jpg" lat="47.359999" lng="8.538965" heading="" radarheading="190"> <view hlookat="-12.707" vlookat="16.325" fovtype="MFOV" fov="100" maxpixelzoom="0.5" fovmin="70" fovmax="100" limitview="auto" /> <preview url="panos/Kugel_VP1_V4_finish.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="1024" if="!webvr.isenabled"> <level tiledimagewidth="7680" tiledimageheight="7680"> <cube url="panos/Kugel_VP1_V4_finish.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="3136" tiledimageheight="3136"> <cube url="panos/Kugel_VP1_V4_finish.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1280" tiledimageheight="1280"> <cube url="panos/Kugel_VP1_V4_finish.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <image if="webvr.isenabled"> <cube url="panos/Kugel_VP1_V4_finish.tiles/vr/pano_%s.jpg" /> </image> <hotspot name="spot1" type="image" enabled="false" url="images/marker_01.png" visible="true" edge="bottomleft" scale="0.7" ath="-40.889" atv="17.820"/> <hotspot name="spot2" type="image" enabled="false" url="images/marker_02.png" visible="true" edge="bottomleft" scale="0.7" ath="-27.912" atv="17.847"/> <hotspot name="spot3" type="image" enabled="false" url="images/marker_03.png" visible="true" edge="bottomleft" scale="0.7" ath="-3.856" atv="19.791"/> <hotspot name="spot4" type="image" enabled="false" url="images/marker_04.png" visible="true" edge="bottomleft" scale="0.7" ath="-19.635" atv="14.773"/> <hotspot name="spot5" type="image" enabled="false" url="images/marker_05.png" visible="true" edge="bottomleft" scale="0.7" ath="-14.374" atv="14.700"/> <hotspot name="spot6" type="image" enabled="false" url="images/marker_06.png" visible="true" edge="bottomleft" scale="0.7" ath="9.961" atv="15.965"/> <hotspot name="spot7" style="skin_hotspotstyle_option" ath="0.364" atv="23.821" onclick="showthumb(thumb7, 0.364, 23.821);" /> <hotspot name="thumb7" style="dragablehotspot" type="image" visible="false" alpha="0" url="images/infobox_01_01.png" ath="0.364" atv="23.821" scale="0.75" onclick="showthumb(thumb7);"/> <hotspot name="spot8" style="skin_hotspotstyle_option" ath="20.545" atv="21.785" onclick="showthumb(thumb8, 20.545, 21.785);" /> <hotspot name="thumb8" style="dragablehotspot" type="image" visible="false" alpha="0" url="images/infobox_01_02.png" ath="20.545" atv="21.785" scale="0.75" onclick="showthumb(thumb8);"/> <hotspot name="spot9" style="skin_hotspotstyle_option" ath="56.519" atv="2.965" onclick="showthumb(thumb9, 56.519, 2.965);" /> <hotspot name="thumb9" style="dragablehotspot" type="image" visible="false" alpha="0" url="images/infobox_01_03.png" ath="56.519" atv="2.965" scale="0.75" onclick="showthumb(thumb9);"/> </scene> <scene name="scene_2_Aussen_v02_bearb" number="2" title="Swiss Re Next" thumb_display="true" onstart="set(actualspot, null); showinfo(true, 385); updatemap(google); newmapspot();" havevrimage="true" thumburl="panos/2_Aussen_v02_bearb.tiles/thumb.jpg" lat="47.359546" lng="8.535583" radarheading="-110"> <view hlookat="-14.998" vlookat="-19.826" fovtype="MFOV" fov="100" maxpixelzoom="1.0" fovmin="70" fovmax="110" limitview="auto" /> <preview url="panos/2_Aussen_v02_bearb.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="1024" if="!webvr.isenabled"> <level tiledimagewidth="6400" tiledimageheight="6400"> <cube url="panos/2_Aussen_v02_bearb.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="2560" tiledimageheight="2560"> <cube url="panos/2_Aussen_v02_bearb.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1024" tiledimageheight="1024"> <cube url="panos/2_Aussen_v02_bearb.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <image if="webvr.isenabled"> <cube url="panos/2_Aussen_v02_bearb.tiles/vr/pano_%s.jpg" /> </image> <hotspot name="spot1" style="skin_hotspotstyle_option" ath="-7.545" atv="-26.422" onclick="showthumb(thumb1, -7.545, -26.422);" /> <hotspot name="thumb1" style="dragablehotspot" type="image" visible="false" alpha="0" url="images/infobox_02_01.png" oy="100" ath="-7.545" atv="-26.422" scale="0.75" onclick="showthumb(thumb1);" /> <hotspot name="spot2" style="skin_hotspotstyle_option" ath="1.516" atv="0.098" onclick="showthumb(thumb2, 1.516, 0.098);" /> <hotspot name="thumb2" style="dragablehotspot" type="image" visible="false" alpha="0" url="images/infobox_02_02.png" ath="-131.752" atv="0.098" scale="0.8" oy="-250" onclick="showthumb(thumb2);" /> </scene> <scene name="scene_03_Empfang_v02" number="3" title="Empfang" thumb_display="true" onstart="set(actualspot, null); showinfo(true, 345); updatemap(none);" havevrimage="true" thumburl="panos/03_Empfang_v02.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="3.0" vlookat="0.0" fovtype="MFOV" fov="100" maxpixelzoom="0.5" fovmin="70" fovmax="110" limitview="auto" /> <preview url="panos/03_Empfang_v02.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="1024" if="!webvr.isenabled"> <level tiledimagewidth="6656" tiledimageheight="6656"> <cube url="panos/03_Empfang_v02.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="2560" tiledimageheight="2560"> <cube url="panos/03_Empfang_v02.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1152" tiledimageheight="1152"> <cube url="panos/03_Empfang_v02.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <image if="webvr.isenabled"> <cube url="panos/03_Empfang_v02.tiles/vr/pano_%s.jpg" /> </image> <hotspot name="spot1" style="skin_hotspotstyle_option" ath="34.338" atv="-0.646" onclick="showthumb(thumb1, 34.338, -0.646);" /> <hotspot name="thumb1" style="dragablehotspot" type="image" visible="false" alpha="0" url="images/infobox_03_01.png" scale="0.75" ath="34.338" atv="-0.646" onclick="showthumb(thumb1);" /> <hotspot name="titel1" type="image" url="images/titel_03_01.png" ath="91.383" atv="-6.059" scale="1.0" enabled="false" background="false" /> <hotspot name="titel2" type="image" url="images/titel_03_02.png" ath="153.831" atv="-7.631" scale="1.0" enabled="false" background="false" /> <hotspot name="art1" style="skin_hotspotstyle_option" ath="103.849" atv="-0.639" onclick="showart(artbox1);" /> <hotspot name="art2" style="skin_hotspotstyle_option" ath="-73.012" atv="17.630" onclick="showart(artbox2);" /> <hotspot name="art3" style="skin_hotspotstyle_option" ath="75.171" atv="0.527" onclick="showart(artbox3);" /> <hotspot name="artbox1" type="image" visible="false" alpha="0" url="images/artbox_01_de.png" scale="0.75" ath="103.849" atv="-0.639" ox="10" oy="55" onclick="showart(artbox1);" /> <hotspot name="artbox2" type="image" visible="false" alpha="0" url="images/artbox_16_de.png" scale="0.75" ath="-73.012" atv="17.630" ox="10" oy="55" onclick="showart(artbox2);" /> <hotspot name="artbox3" type="image" visible="false" alpha="0" url="images/artbox_17_de.png" scale="0.75" ath="75.171" atv="0.527" ox="10" oy="55" onclick="showart(artbox3);" /> </scene>
actions used in scenes
Code<krpano> <action name="showinfo"> tween(layer[startbox].height, %2); set(scenenumber, get(scene[get(xml.scene)].number)); txtadd(startboxtext, 'get:infotext.text_', get(scenenumber)); set(layer[startbox_text].html, get(startboxtext)); if(%1, set(layer[startbox].state, "opened"); set(layer[closestartboximage].crop, 12|64|40|64); set(layer[get(startboxtext)].visible, true); tween(layer[startbox].x, 0); , set(layer[closestartboximage].crop, 76|64|40|64); tween(layer[startbox].x, -300); delayedcall(0.5, set(layer[get(startboxtext)].visible, false)); if(layer[startbox].state == "closed", showinfo(true);, set(layer[startbox].state, closed);); ); </action> <action name="updatemap"> if(%1 == 'google', set(show_extramap, true); set(layer[googlemaps].visible, true); set(layer[googlemaps].parent, skin_extramap); , set(layer[googlemaps].visible, false); set(layer[extramap].visible, false); set(show_extramap, false); ); </action> <action name="showthumb"> txtadd(hotspotclose, %1, close); txtadd(hotspotpic, %1, pic); txtadd(hotspottxt, %1, txt); if(actualspot !== null, tween(hotspot[get(actualspot)].alpha, 0); set(hotspot[get(actualspot)].zorder, 1); delayedcall(0.5, set(hotspot[get(actualspot)].visible, false);); ); if(hotspot[%1].visible != true, set(hotspot[%1].ath, %2); set(hotspot[%1].atv, %3); set(hotspot[%1].visible, true); set(hotspot[%1].zorder, 2); tween(hotspot[%1].alpha, 1); delayedcall(0.5, set(actualspot, %1);); , set(actualspot, null); tween(hotspot[%1].alpha, 0); set(hotspot[%1].zorder, 1); delayedcall(0.5, set(hotspot[%1].visible, false); ); ); </action> <action name="showart"> txtadd(hotspotclose, %1, close); txtadd(hotspotpic, %1, pic); txtadd(hotspottxt, %1, txt); if(actualspot !== null, trace(notnull); tween(hotspot[get(actualspot)].alpha, 0); set(hotspot[get(actualspot)].zorder, 1); delayedcall(0.5, set(hotspot[get(actualspot)].visible, false);); ); if(hotspot[%1].visible != true, set(hotspot[%1].visible, true); set(hotspot[%1].zorder, 2); tween(hotspot[%1].alpha, 1); delayedcall(0.5, set(actualspot, %1);); , set(actualspot, null); tween(hotspot[%1].alpha, 0); set(hotspot[%1].zorder, 1); delayedcall(0.5, set(hotspot[%1].visible, false); ); ); </action> </krpano>
we have a custom skin file as well. but i don't like to share this open here.
i can provide it to you klaus if needed...thanks for your help
sven -
Hi guys
I have a strange behavior when going back from second to first scene via the arrows in the menu.
On my mac it's only on Safari, Chrome is working fine (Mac/Win).So what's wrong:
When coming back to first scene, my hotspots are not clickable anymore. Cursor Icon stay on the arrow, no hand icon appearing.
-> as soon as i open the thumbnail gallery they work again. As well when i come back to first scene over thumbnail gallery it works.
So i checked the skin_nextscene action and found out that i can solve the problem when changing the value of theat the beginning to
(values below don't work).
If it was only 0.1 seconds it would not be a problem, but one feels the delay with 0.3s.Also with same appearance as the problem above i get not best resolution loaded when going back to first scene.
-> this can't be solved with opening menu, but with a slight zoom over mouse scroll.Anyone already had similar problems before?
Using Krpano 1.19pr12 for this projectThanks for your help
Sven -
Hi all together
I am working again with panoramic video and this time i have several Problems. ATM im using the newest Version pr13.
So what's not working for me:I have a vtour where already the first scene is a panoramic video (3840x1920, mp4). I have it paused at start an i can see the poster getting loaded and some seconds later the first frame of the video shows up.
To start the video i have placed a button, that calls the function.
When i start it normally on my desktop, everything works fine. The button disappears and the video plays. When i first enter VR mode and click the button in VR, the button also disappears but the video will no play. I can hear the sound of the video, so somehow it is playing but i just get the first frame shown. I just have that for the first scene, later scenes work as they should. (Is it normal that the video pauses when you enter VR mode while the video is already playing?)
Any advice on how to solve that?Another thing:
Is it possible to have like a "loading..." sign (own graphic preferred) also when entering a panoramic video in VR? I just get a black screen until the video has loaded.If anyone has experience with problems like that it would really help if you could share your knowledge with me. Literally stuck on that problem atm.
Sven -
-
set the video plugin to visible false when you want to change scene or so
already tried that and also removing the whole videohotspot. Didn't work for me -
-
Sure here is the information you need:
Url: https://360.raumgleiter.com/0000_sundowner/
Xml: https://360.raumgleiter.com/0000_sundowner/tour.xmlThanks for any help
Sven