You are not logged in.

Search results

Search results 1-20 of 21.

Saturday, June 3rd 2023, 8:21am

Author: nikonutsch

play sound at hotspot

dear tuur pleas have a look to the example below. the virtual tour starts with classic texts that are stored in the hotspots... you can activate the audio tour in the panorama window on the right. a solution should fit well into the system and, of course, also run on mobile phones. https://360.tirol/brockenweg/ thank you for now klaus

Thursday, June 1st 2023, 12:38pm

Author: nikonutsch

play sound at hotspot

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 ...

Wednesday, March 22nd 2023, 5:37pm

Author: nikonutsch

playsound_at_hotspot

first of all thank you very much for your support. I'll go through the whole audio control again. I will consider what is absolutely important to me and what is not. greetings from tirol nico

Wednesday, March 22nd 2023, 11:06am

Author: nikonutsch

About the volume and noise:

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

Tuesday, March 21st 2023, 6:11pm

Author: nikonutsch

playsound_at_hotspot

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 Source code 1 <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> S...

Tuesday, March 21st 2023, 1:17pm

Author: nikonutsch

playsound_at_hotspot

dear forummembers we are expanding our archaeological tours with audio support. the simplest solution seems to be to use playsound_at_hotspot. Source code 1 <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 ba...

Saturday, February 18th 2023, 6:29pm

Author: nikonutsch

getlooktodistance

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 Source code 1 if( (ath LT calc(view.hlookat + 30)) AND (ath GT calc(view.hlookat - 30)), 2st code Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <events name="chec...

Thursday, February 9th 2023, 10:00am

Author: nikonutsch

svg plugin syntaxError??

hello douglas I tried to install the code but unfortunately there is an error message ERROR: parsing '/plugins/svg.js' failed:SyntaxError: Unexpected token ')' I couldn't find the cause wbr klaus

Wednesday, February 8th 2023, 6:06pm

Author: nikonutsch

onresize="parentobject"

thanks klaus, this works. to jump up in the hirarchy!!!!!!!!!!!!! parentobject.parentobject.parentobject.width = ...;

Wednesday, February 8th 2023, 4:24pm

Author: nikonutsch

parentobject in version 1.21

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 Source code 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 2...

Wednesday, February 8th 2023, 12:52pm

Author: nikonutsch

parentobject in version 1.21

Hello Klaus. can i also read out the lowest layer in a hierarchy and bring this value to the parent. for example the value from text2 (see code below) Source code 1 2 3 4 5 6 <layer type="container" ... flowchildren="v" childmargin="5"> <layer type="img" ... > <layer type="vector" ... > <layer type="text1" ... > <layer type="text2" ... /> </layer></layer></layer>

Wednesday, February 8th 2023, 11:25am

Author: nikonutsch

how to get the width of a textlayer and copy it

dear forummembers how to read out the width of this textfield see the code below and copy it to it's parent layer[primus] Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 <style name="leo2" keep="false" type="text" renderer="webgl" alpha="1" edge="lefttop" capture="false" distorted="true" css="color:#fff;font-size:14px;" padding="4" wordwrap="true" selectable="false" background="false" backgroundcolor="0xffffff" backgroundalpha="0.7" border="false" bordercolor="0xFFFFFF" r...

Monday, February 6th 2023, 2:17pm

Author: nikonutsch

SVG to data converter

Thanks alot mr.indexofrefraction! to you (and many others of course) always can be counted on!!! wbr klaus

Sunday, February 5th 2023, 1:44pm

Author: nikonutsch

svg hotspots

dear tuur and forummembers Unfortunately, I'm not able to integrate a svg file as a hotspot I searched for xml file exporter in illustrator but couldn't find anything... Source code 1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path d="M968,144.18H99.46a34.87,34.87,0,1,0,0,11.64H968Z" style="fill:#fff;stroke:#231f20;stroke-miterlimit:10"/></svg> Can anybody help me further wbr from tirol klaus

Tuesday, January 10th 2023, 12:31pm

Author: nikonutsch

sliding door hotspot

thanks everyone for the great help Finally, I added a variable so and sc to the door hotspots in order to use different opening states of the sliding doors Source code 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 <hotspot name="x_sd1" type="image" url="skin/türop1.jpg" keep="false" renderer="webgl" visible="true" enabled="true" capture="false" handcursor="true" cursor="pointer" maskchildren="false" zorder="" style="" ath="00" atv="0.000" edge="center" zoom="false" dist...

Monday, January 9th 2023, 6:13pm

Author: nikonutsch

sliding door hotspot

a new problem with this code i can get all hotspots with x at the beginning of the title Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <events name="check_viewathotspot" keep="true" onviewchanged="slideingdoor"/> <action name="slideingdoor"> for(set(i,0), i LT hotspot.count, inc(i), copy(hs,hotspot[get(i)]); hs.getcenter(hs_h, hs_v); getlooktodistance(d, hs_h, hs_v); subtxt(destVar,get(hs.name),0, 1); if(destVar == "x", if(d LT 40, set(hs.ox, 200); , set(hs.ox, -200); ); ); ); </action> ...

Sunday, January 8th 2023, 2:24pm

Author: nikonutsch

sliding door hotspot

dear San7 thank you for this great solution. it makes working with a lot of hotspots much easier!!!!!!!!!!!!!

Tuesday, January 3rd 2023, 6:35pm

Author: nikonutsch

sliding door hotspot

wonderful this is the right example for my level Many Thanks wbr klaus ps now,the "thing" works perfect https://360.tirol/leo23/

Tuesday, January 3rd 2023, 2:26pm

Author: nikonutsch

sliding door hotspot and getlooktodistance

dear forumpeople Isn't there a simple example for my problem. the postings to getlooktodistance are too complicated for me. I use a hotspot as a sliding door and it should open when the camera looks at it. What is the standard procedure; what information do I have to read out and how is it passed on. wbr klaus example: in the 2nd and the 3d scene my sliding doors are used. currently the doors can be opened with onclick.... https://360.tirol/leo23/

Monday, January 2nd 2023, 8:18pm

Author: nikonutsch

getlooktodistance

i ll have a look.thanks to tuur lg klaus