Posts by nikonutsch

    I should have expressed myself more precisely.


    The else actions are very different in my case......not exclusively like in the example at the beginning.
    That's why I wanted to know how to represent the syntax in this case as an if (action). But thanks for the help anyway

    Code
    if(layer[xtUfer_4].html === 'pause ▐▐ ', 
    	set(layer[xtUfer_4].html, 'Play ▶ ');
    , 
    		  set(layer[xtUfer_4].padding,10); 
    		  set(layer[xtUfer_4].roundedge,20);
    		  set(layer[xtUfer_5].visible,false););

    However, in this particular case I am faced with an absolute puzzle. In this case I did indeed start with a switch(action).

    Code
    set(layer[xtUfer_4].onclick, pausesoundtoggle(xtUfer); 
    switch(layer[xtUfer_4].html, 'Play ▶ ', 'Pause▐▐ '););

    after that didn't work, I tried to solve the problem with an if(action)

    Code
    set(layer[xtUfer_4].onclick, pausesoundtoggle(xtUfer);
    if(layer[xtUfer_4].html === 'pause ▐▐ ', 
    	set(layer[xtUfer_4].html, 'Play ▶ ');
    , 
    	set(layer[xtUfer_4].html, 'pause ▐▐ '););)


    after all that didn't work, I tried replacing the swich(action) with a simple set(action) for test purposes, which surprisingly worked

    Code
    set(layer[xtUfer_4].onclick, pausesoundtoggle(xtUfer); 
    set(layer[xtUfer_4].html, 'Play ▶ '););

    In the meantime I have tried a different approach; unfortunately, just as unsuccessfully.

    I have decided to upload the example I am working on so that it is not so abstract.

    In this project we use an auditour for the first time. Switchable with the button gotoAudiotour (screenright)

    Hall360Tirol Brockenweg


    here is the code that transforms the text hotspots into the desired audio hotspots

    the play pause switch is now in the if(sound[xtUfer].paused, action placed. it doesnot work even

    good morning. first of all, thank you very much for your support.

    however, I would like to understand the detail in which the value for hfov is edited.

    that is the way I want to go. see xml.
    with set(hfov, value) and updateobject(); that works, but I would like a tween of hfov and vfov values

    many thanks in advance klaus

    dear tuur

    isnt it possible to make adynamic change of <image vfov="0" hfov="1" >

    like tween(img.hfov,0,2)


    einfache testanordnug

    dear forum.

    is it possible to "unfold" a littleplanet panorama into a 360x180 degree panorama

    into something like a flat panorama

    Code
    <image hfov="1.00" vfov="0.500000" voffset="0.00">
    <flat url="001.tiles/l%l/%v/l%l_%v_%h.jpg" multires="512,512x256,1024x512,2048x1024" />
    </image>

    Ideally, this should be achieved with some kind of slider blend function


    ok, i found this thread.

    andrewglover
    June 23, 2016 at 11:36 PM

    I will try to find out everything about it.

    thanks to all

    wbr klaus

    hallo s-maier. vorerst danke für die antwort.

    leider habe ich keine ahnung was deeplinking ist, obwohl ich seit langem krpano lizeznehmer bin .

    kannst du mir ein kurzes beispiel daz geben. lg klaus


    Hello s-maier. First of all, thanks for the answer.

    Unfortunately, I have no idea what deeplinking is, even though I've been a krpano licensee for a long time.

    Can you give me a short example? Greetings Klaus

    dear forum

    a short question about syntax

    the action showallhotspots should be called on each scene exept the startscene

    thanks for help

    Code
    <events name="startsequenz" keep="true"
    
    onnewscene="if(scene[].name !== scene[0].name,shoeallhotspots());"/>

    hallo klaus
    ich muss hier aud deutsch umschwenken, da ich das problem auf englisch nicht formulieren kann.
    die übersetzung stammt von google
    wir von der stadtarchaeologie hall in tirol haben in den letzten 10jahren eienen virtuellen archaeologischen stadtrundgang erstellt.
    (https://hall360.tirol)

    mittlerweile umfasst der rundgang 16 stationen, die wiederum aus einer panoramatour mit mehreren scenen bestehen.
    die zentrale station ist das archaeologische museum hall. von hier aus gibt es immer wieder querverweise auf fundgegenstände, die in einer der 15 anderen stationen
    verarbeitet sind. um nun zb den auffindungsort eines "mittelaltelichen sarges" in der "josefskapelle" zu erreichen, und dabei nicht die gesamte station Josefskapelle durchzugehen und dan die kamera auf den fundort zu lenken, entstand die idee mittels einer html "SARGDECKEL" direckt die scene "Gruft" aufzurufen und den kameraschwenk
    auf den Sarg zu ermöglichen. natürlich könnten wir ein zusätzliches xml file anlegen, dass die bedingungen erfüllt, aber eleganter währe es mittels html Aufrufe zu machen.

    Hello Klaus
    I have to switch to German here because I can't formulate the problem in English.
    the translation comes from google
    We at Stadtarcheologie Hall in Tirol have been creating a virtual archaeological city tour for the last 10 years.
    (https://hall360.tirol)

    The tour now includes 16 stations, which in turn consist of a panoramic tour with several scenes.
    the central station is the archaeological museum hall. From here there are always cross-references to objects found in one of the 15 other stations
    are processed. In order, for example, to reach the location of a "medieval coffin" in the "Josef's Chapel" and not have to go through the entire Josef's Chapel station and then direct the camera to the location, the idea came about using an html "COFFIN LID" directly in the scene "Crypt " and the camera pan
    onto the coffin. Of course we could create an additional XML file that meets the conditions, but it would be more elegant to make calls using HTML.

    hello forum
    I know how to load a specific scene out from an HTML file. But how can you attach information to vlookat and hlookat?

    html

    Code
    	<script>
    		embedpano({swf:"tour.swf", xml:"josefskapelle/360tour.xml", vars:{startscene:"sargdeckel"} , target:"pano", html5:"auto", passQueryParameters:true});
    	</script>

    thanks for help

    dear forum members servus klaus

    Hello, can someone tell me why this action doesn't work

    Code
    txtadd(audio_name,get(var111));
    playsound(calc('%CURRENTXML%,local,audio,' + audio_name + '.wav'))

    thanks for help

    klaus

    dear forum

    Until recently the code below worked.
    but since I did an update there has been a problem

    This function no longer works

    txtadd(text_data,get(var111));

    set(layer[get(layer_name)].text,data:get(text_data)); 



    can someone help me find the problem.
    with thanks in advance
    wbr klaus

    dear forum

    we from the "stadtarchaeologi hall" want to expand a panorama tour as an audio guided tour.
    the best solution would be, to do this using play sound at hotspot...

    in practice the following problem arises. whenever you drive over a hotspot, the audio track starts over again.

    if users listen to the entire text, you can still use the oncomplete function, but very often the entire audio file is not played.


    does anyone have an idea how to integrate some kind of pause function.


    of course it is possible to use audio hotspots that you can start with oncklick and also set them to pause. but that would be an inelegant compromise.

    thanks for help klaus