that's great. i also set the embed code with some parameter such as autostart=1 transparent=1 . it works with autostart but transparent. and it works in html files.
i wonder if it doesn't work because of textfield.swf?
Posts by reachyours
-
-
hi,klaus
i try to use
linkedscene_lookat="get(view.hoolkat),get(view.vlookat),get(view.fov)"
to set the view in the new scene with the current view, but it doesn't work.
can the linkedscene_lookat set like this -
hi klaus
is it corret like this:loadscene(get(startscene), null,MERGE);
set(view.hlookat, get(view.hlookat));
set(view.vlookat, get(view.vlookat));but it doesn't work
-
-
hi Alex,i want to make seval 360object page. and use this plugins open different page.
is it posibble -
i would like to embed 3d model on sketchfab. how to do
the code of sketchfab isCode<div class="sketchfab-embed-wrapper"><iframe width="640" height="480" src="https://sketchfab.com/models/aba23531911c45439067a6e0aaccad07/embed" frameborder="0" allowvr allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/models/aba23531911c45439067a6e0aaccad07?utm_medium=embed&utm_source=website&utm_campain=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Kokura Castle</a> by <a href="https://sketchfab.com/avatta?utm_medium=embed&utm_source=website&utm_campain=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">AVATTA</a> on <a href="https://sketchfab.com?utm_medium=embed&utm_source=website&utm_campain=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a> </p> </div> -
it doesn't like 3d model. how do you do it . with mattport?
-
that‘s great. Umalo, could u share me the plugins,pls.

-
Code
customimage[mobile].path=%INPUTPATH%/%BASENAME%.tiles/mobile_%s.jpg customimage[mobile].res=1024 customimage[mobile].path1=panos/%basename%.titles/mobile_%s.jpg customimage[mobile].imagesettings=jpegquality=82 jpegsubsamp=444 jpegoptimize=true customimage[mobile].xml=<mobile>[NL][TAB]<cube url="[PATH1]" />[NL]</mobile>
is it posibble for using [PATH1] placeholders to define url path in xml? -
hi , i set one tools for synchronizing the panos with the server. so i need to build one folder for panos synchronizing and web path of panos in the tour.xml. but went i try , i found the image path will be the same with titlepath. how can i do in the normal-vtour.config
-
hi,
i use this action in xmlCode
Display More<action name="visitcount" type="Javascript" > <![CDATA[ var caution=false var c1= krpano.get("layer[count]") function setCookie(name,value,expires,path,domain,secure) { var curCookie=name+"="+escape(value) + ((expires)?";expires="+expires.toGMTString() : "") + ((path)?"; path=" + path : "") + ((domain)? "; domain=" + domain : "") + ((secure)?";secure" : "") if(!caution||(name + "=" + escape(value)).length <= 4000) { document.cookie = curCookie } else if(confirm("Cookie exceeds 4KB and will be cut!")) { document.cookie = curCookie } } function getCookie(name) { var prefix = name + "=" var cookieStartIndex = document.cookie.indexOf(prefix) if (cookieStartIndex == -1) { return null } var cookieEndIndex=document.cookie.indexOf(";",cookieStartIndex+prefix.length) if(cookieEndIndex == -1) { cookieEndIndex = document.cookie.length } return unescape(document.cookie.substring(cookieStartIndex+prefix.length,cookieEndIndex)) } function deleteCookie(name, path, domain) { if(getCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT" } } function fixDate(date) { var base=new Date(0) var skew=base.getTime() if(skew>0) { date.setTime(date.getTime()-skew) } } var now=new Date() fixDate(now) now.setTime(now.getTime()+365 * 24 * 60 * 60 * 1000) var visits = getCookie("counter") if(!visits) { visits=1; } else { visits=parseInt(visits)+1; } setCookie("counter", visits, now) ]]></action>
to count the visits and set a layer to show it
but i can not get the "visits" to "html"
help me please -
hi,guys,
i am trying make one tour with live pano. i make a openning drawer as live hotspot. i want to make one polygonal in the drawer for people taking stuff in the drawer.
my question is how to make a polygonal hotspot in a image hotspot -
Display More
hi,
this is fairly simple to do.
so the button Dutch is clicked. Then set for example set(_lang, Dutch);
and
and
Code<action name="PlayAudio"> set(_audio, calc:'audioplayer/audio/' + _lang + '/' + scene[get(xml.scene)].audio); if(scene[get(xml.scene)].audio, playsound(sound1,get(_audio)); , stopsound(sound1); ); </action>something like that.
EDIT: sorry.. i forgot the language.. haha .. edited in..
Hope it helps!
Tuur
hi Tuur, another problem i haven't found before.
i also use set(_lang,chinese) in the first scene onstart, if i don't the first scene will link none mp3.
when i go back to the first scene, the language will return to chinese.
i also use action set(_lang,chinese) in startup but it doesn't work.
how to set one kind language as default. -
you should change some limit of the driver which the image local. i use OSS storge which has the same problem after i change the limit it work. hope help
-
-
hi Klaus,
i set my skin to 2 language by using skinselect code
when i change the skin , the tour will refresh one time (the visual angle doesn't change it works fine)
it is diffrent with your example, the example will not refresh the tour.
is there something i miss. -
thanks a lot
it works -
so i want if i can set one list of hotspot ouside scene, so i can change the include url for different language.
-
hi guys i set 2 language ui for the tour,and also set 2 language hospot for it.
i use combobox for selecting.it works when language change, but when the scene change the hospot still unchange.
here is the code
these 2 hospot is for the 2 language i set one visible "true" and one "false"Code<hotspot name="spot7" style="floorchinese" html="上楼" ath="-61.861" atv="8.823" onclick="switch(layer[skin1].visible);switch(layer[skin2].visible);" visible="true"/> <hotspot name="spot10" style="floorenglish" html="upstairs" ath="-61.861" atv="8.823" onclick="switch(layer[skin1].visible);switch(layer[skin2].visible);" visible="false"/>
i use this action change UICode<action name="change_skin_design"> set(design, %1); copy(skin_thumbs_last_state, layer[skin_thumbs].state); loadpanoscene('%SWFPATH%/tour.xml', get(xml.scene), null, IGNOREKEEP|KEEPVIEW|KEEPMOVING, BLEND(0.5)); </action>
this action change hotspot visible or notCode
Display More<action name="hotspotchinese"> for(set(i,0),i LT hotspot.count,inc(i), if(hotspot[get(i)].style == 'floorenglish', set(hotspot[get(i)].visible,false); ); if(hotspot[get(i)].style == 'floorchinese', set(hotspot[get(i)].visible,true); ); ); </action> <action name="hotspotenglish"> for(set(i,0),i LT hotspot.count,inc(i), if(hotspot[get(i)].style == 'floorchinese', set(hotspot[get(i)].visible,false); ); if(hotspot[get(i)].style == 'floorenglish', set(hotspot[get(i)].visible,true); ); ); </action>
this is for the comboboxCode<plugin name="language" keep="true" url="%SWFPATH%/plugins/combobox.swf" alturl="%SWFPATH%/plugins/combobox.js" native="false" align="lefttop" x="10" y="0" > <item name="item1" caption="国语" onclick="change_skin_design('chinese');hotspotchinese();" /> <item name="item2" caption="English" onclick="change_skin_design('english');hotspotenglish();" />
could some one help me -
thanks a lot sage,it works fine.
i also have two language hotspot in the scene.
i want to make one onloaded action to check what' language was select for the hotspot.
how can i do?