Posts by nikonutsch

    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

    dear kme and forum.

    to make sure that we didn't include any syntax errors in our new project , i created a completely reduced panorama audio example and attached it as a rar file.

    this is what happens when calling "audioactions" via getlooktodistance!

    if anyone is interested, here is the link to our current project.(entering audioguidet tour with the right sidebar ore audiobutton in the hamburger menue)

    https://360.tirol

    dear kme

    i know this treat.
    that was the first thing we tried.
    unfortunately we doesn't get it to work. sound actions like play- resume- and pause seems to generate an extreme sound level and noise
    this is our code

    Code
    <events name="check_viewathotspot" keep="true" onviewchanged="hotspots_fade_in_out()"/> <action name="hotspots_fade_in_out"> for(set(i,0), i LT hotspot.count, inc(i), getlooktodistance(d,hotspot[get(i)].ath,0); if(d LT 30, resumesound(ufer),pausesound(ufer))) </action>


    Code
    <hotspot name="xtUfer" type="text"html="Pause▐▐"css="color:#fff;font-size:14px;"padding="10" bgcolor="0x0A9393"roundedge="20" zorder="2" width="" height="40"ath="10" atv="0"onloaded="" onclick="togglesound(ufer);switch(html,Play ▶,Pause▐▐ )" />


    and

    Code
    <action name="playsoundat"> playsound_at_hotspot(ufer,'skin/brockenweg.mp3', hotspot[xtUfer],true,1,30, ) </action>


    wbr klaus

    dear forummembers


    we are expanding our archaeological tours with audio support.

    the simplest solution seems to be to use playsound_at_hotspot.

    Code
    <action name="playsoundat">	playsound_at_hotspot(bw,'%HTMLPATH%/a.files/audio/brockenweg.mp3', hotspot[xt360],true,1,30, )	</action>

    so far this works .

    now we try to pause the audio sequence ,when the hotspot gets out of the predefined field (30° in our case)

    and of course the audio sequence should continue playing when the hotspot comes back into focus.


    does anyone have an idea how this could work


    wbr klaus

    dear forummembers.
    Thanks to your help, I have come this far! everything works.
    now I've been trying for several days, to get the getlooktodistance function more precisely.
    the goal would be to be able to set a range for ath respectively.

    I tried a solution like in the 1st code
    to build into the 2nd code. but without success


    1st code

    Code
    if( (ath LT calc(view.hlookat + 30)) AND (ath GT calc(view.hlookat - 30)),


    2st code


    wbr klaus

    dear forummembers

    i have had a lot of questions in the last days
    svg hotspots , getlooktodistance and now the problem with bringin child value to the parent.

    i ll show an example on what i am working.
    ( i have bought a license for callout hotspots, but ei want to have a bit more control, so i started to try.......)


    https://360.tirol/bw/

    finaly i want to get the sice of the masklayer depending to its child_parts