i'm anderstend, problem was in script - "false"
thank you very much
Beiträge von panotour.ge
-
-
unbilivobal !!!!
perfect job! -
But , why this code not work in vtour script?
-
but why this scrept don't work in vtour ?
-
thank you very very much!!!!!
-
hello everyone. i need your help
in Vtour i vont make logo on each panorama. i mean diferent logos . when i wriht this code for them in scane 2 -this logo stay in every scane<!-- logo -->
<plugin name="logo"
url="Logo-image.png"
keep="true"
enabled="false"
align="rightbottom"
x="10" y="5"
/>------SAMPLE-------
<krpano version="1.0.8" onstart="startup();">
<!-- vtour.xml template krpano tools version 1.0.8.12 -->
<action name="startup">
<!-- load the first scene -->
loadscene(get(scene[0].name), null, MERGE);
<!-- build the thumbnails (remove the next line to remove the thumbnails) -->
buildthumbs();
</action>
<!-- disable the default progress bar -->
<progress showload="none" showwait="none" /><!-- hotspot styles (for Flash and HTML5) -->
<style name="hotspot_ani_black"
url="hotspots/hotspot_ani_black_64x64x20.png"
crop="0|0|64|64"
frames="20" framewidth="64" frameheight="64" frame="0"
onloaded="hotspot_animate();"
altonloaded="if(isphone, mul(scale,2)); onloaded();"
/><style name="hotspot_ani_white"
url="hotspots/hotspot_ani_white_64x64x20.png"
crop="0|0|64|64"
frames="20" framewidth="64" frameheight="64" frame="0"
onloaded="hotspot_animate();"
altonloaded="if(isphone, mul(scale,2)); onloaded();"
/><action name="hotspot_animate">
inc(frame,1,get(frames),0);
mul(ypos,frame,frameheight);
txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight));
delayedcall(0.03, hotspot_animate() );
</action>
<scene name="scene_4" title="4" onstart="" thumburl="4.tiles/thumb.jpg"><view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" />
<preview url="4.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="633" progressive="false">
<level tiledimagewidth="3165" tiledimageheight="3165">
<left url="4.tiles/l3_l_%0v%0h.jpg" />
<front url="4.tiles/l3_f_%0v%0h.jpg" />
<right url="4.tiles/l3_r_%0v%0h.jpg" />
<back url="4.tiles/l3_b_%0v%0h.jpg" />
<up url="4.tiles/l3_u_%0v%0h.jpg" />
<down url="4.tiles/l3_d_%0v%0h.jpg" />
</level>
<level tiledimagewidth="1583" tiledimageheight="1583">
<left url="4.tiles/l2_l_%0v%0h.jpg" />
<front url="4.tiles/l2_f_%0v%0h.jpg" />
<right url="4.tiles/l2_r_%0v%0h.jpg" />
<back url="4.tiles/l2_b_%0v%0h.jpg" />
<up url="4.tiles/l2_u_%0v%0h.jpg" />
<down url="4.tiles/l2_d_%0v%0h.jpg" />
</level>
<level tiledimagewidth="792" tiledimageheight="792">
<left url="4.tiles/l1_l_%0v%0h.jpg" />
<front url="4.tiles/l1_f_%0v%0h.jpg" />
<right url="4.tiles/l1_r_%0v%0h.jpg" />
<back url="4.tiles/l1_b_%0v%0h.jpg" />
<up url="4.tiles/l1_u_%0v%0h.jpg" />
<down url="4.tiles/l1_d_%0v%0h.jpg" />
</level>
</image><!-- logo -->
<plugin name="logo"
url="LOGO.jpg"
keep="true"
enabled="false"
align="rightbottom"
x="10" y="770"
/>
<!-- place hotspots here -->
<!-- example hotspot:
<hotspot name="spot1" style="hotspot_ani_black"
ath="0"
atv="0"
zoom="false"
onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
/>
--></scene>
<scene name="scene_5" title="5" onstart="" thumburl="5.tiles/thumb.jpg">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" />
<preview url="5.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="955" progressive="false">
<level tiledimagewidth="1910" tiledimageheight="1910">
<left url="5.tiles/l2_l_%0v%0h.jpg" />
<front url="5.tiles/l2_f_%0v%0h.jpg" />
<right url="5.tiles/l2_r_%0v%0h.jpg" />
<back url="5.tiles/l2_b_%0v%0h.jpg" />
<up url="5.tiles/l2_u_%0v%0h.jpg" />
<down url="5.tiles/l2_d_%0v%0h.jpg" />
</level>
<level tiledimagewidth="955" tiledimageheight="955">
<left url="5.tiles/l1_l_%0v%0h.jpg" />
<front url="5.tiles/l1_f_%0v%0h.jpg" />
<right url="5.tiles/l1_r_%0v%0h.jpg" />
<back url="5.tiles/l1_b_%0v%0h.jpg" />
<up url="5.tiles/l1_u_%0v%0h.jpg" />
<down url="5.tiles/l1_d_%0v%0h.jpg" />
</level>
</image><!-- place hotspots here -->
<!-- example hotspot:
<hotspot name="spot1" style="hotspot_ani_black"
ath="0"
atv="0"
zoom="false"
onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
/>
--></scene>
<scene name="scene_6" title="6" onstart="" thumburl="6.tiles/thumb.jpg">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" />
<preview url="6.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="955" progressive="false">
<level tiledimagewidth="1910" tiledimageheight="1910">
<left url="6.tiles/l2_l_%0v%0h.jpg" />
<front url="6.tiles/l2_f_%0v%0h.jpg" />
<right url="6.tiles/l2_r_%0v%0h.jpg" />
<back url="6.tiles/l2_b_%0v%0h.jpg" />
<up url="6.tiles/l2_u_%0v%0h.jpg" />
<down url="6.tiles/l2_d_%0v%0h.jpg" />
</level>
<level tiledimagewidth="955" tiledimageheight="955">
<left url="6.tiles/l1_l_%0v%0h.jpg" />
<front url="6.tiles/l1_f_%0v%0h.jpg" />
<right url="6.tiles/l1_r_%0v%0h.jpg" />
<back url="6.tiles/l1_b_%0v%0h.jpg" />
<up url="6.tiles/l1_u_%0v%0h.jpg" />
<down url="6.tiles/l1_d_%0v%0h.jpg" />
</level>
</image><!-- place hotspots here -->
<!-- example hotspot:
<hotspot name="spot1" style="hotspot_ani_black"
ath="0"
atv="0"
zoom="false"
onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
/>
--></scene>
<!-- thumbnail actions begin (remove the 'buildthumbs()' call in the onstart event to remove the thumbs) -->
<action name="buildthumbs">
if(%1 != NEXT, set(i,0));
if(i LT scene.count,
copy(thumb, scene[get(i)].thumburl);
txtadd(thumbname,'thumb_',get(i));
addplugin(get(thumbname));
set(plugin[get(thumbname)].url, get(thumb));
set(plugin[get(thumbname)].keep, true);
set(plugin[get(thumbname)].align, leftbottom);
set(plugin[get(thumbname)].width, 40);
set(plugin[get(thumbname)].height, 40);
set(plugin[get(thumbname)].x, 10);
set(plugin[get(thumbname)].y, 10);
mul(plugin[get(thumbname)].x, i,3);
mul(plugin[get(thumbname)].y, i,3);
add(plugin[get(thumbname)].x, 5);
add(plugin[get(thumbname)].y, 5);
copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
add(plugin[get(thumbname)].zorder, 100, i);
set(plugin[get(thumbname)].effect,glow(0xFFFFFF,1.0,2,10000));
set(plugin[get(thumbname)].jsborder,'1px solid #FFFFFF');
copy(plugin[get(thumbname)].thumbpos, i);
set(plugin[get(thumbname)].linkedscene, get(scene[get(i)].name) );
set(plugin[get(thumbname)].onclick, openthumbs() );
inc(i);
buildthumbs(NEXT);
);
</action><action name="openthumb">
if(%2 != NEXT,
set(pos,0);
copy(curpos, plugin[%1].thumbpos);
set(xdst, 0);
set(ydst, 0);
);if(pos LT curpos,
inc(pos);
inc(ydst,90);
sub(ymax, stageheight, 100);
if(ydst GT ymax, inc(xdst,90);set(ydst,0); );
openthumb(%1,NEXT);
,
add(xdst,10);
add(ydst,10);
tween(plugin[%1].x, get(xdst) );
tween(plugin[%1].y, get(ydst) );
tween(plugin[%1].width, 80);
tween(plugin[%1].height, 80);
);
</action><action name="closethumb">
tween(plugin[%1].x, get(plugin[%1].xsmall));
tween(plugin[%1].y, get(plugin[%1].ysmall));
tween(plugin[%1].width, 40);
tween(plugin[%1].height, 40);
</action><action name="openthumbs">
if(%1 != NEXT,
set(i,0);
set(events.onclick, set(events.onclick,null); delayedcall(0.1, closethumbs() ); );
);if(i LT scene.count,
txtadd(thumbname,'thumb_',get(i));
openthumb(get(thumbname));
set(plugin[get(thumbname)].onclick, set(events.onclick,null); closethumbs(); loadscene(get(linkedscene),null,MERGE,BLEND(1)); );
inc(i);
openthumbs(NEXT);
);
</action><action name="closethumbs">
if(%1 != NEXT, set(i,0));
if(i LT scene.count,
txtadd(thumbname,'thumb_',get(i));
closethumb(get(thumbname));
set(plugin[get(thumbname)].onclick, openthumbs() );
inc(i);
closethumbs(NEXT);
);
</action>
<!-- thumbnail actions end --></krpano>
i wont diferent logo imeges in every scane
please help
10x -
hello please help me . where is mistek in this code. after " lensflareset"
<krpano version="1.0.8">
<include url="skin/defaultskin.xml" />
<view hlookat="0" vlookat="0" maxpixelzoom="1.0" />
<display details="22" /><preview url="church-by-the-name-of-kovlad-cmindata.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="955" progressive="false">
<level tiledimagewidth="1910" tiledimageheight="1910">
<left url="church-by-the-name-of-kovlad-cmindata.tiles/l2_l_%0v_%0h.jpg" />
<front url="church-by-the-name-of-kovlad-cmindata.tiles/l2_f_%0v_%0h.jpg" />
<right url="church-by-the-name-of-kovlad-cmindata.tiles/l2_r_%0v_%0h.jpg" />
<back url="church-by-the-name-of-kovlad-cmindata.tiles/l2_b_%0v_%0h.jpg" />
<up url="church-by-the-name-of-kovlad-cmindata.tiles/l2_u_%0v_%0h.jpg" />
<down url="church-by-the-name-of-kovlad-cmindata.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="955" tiledimageheight="955">
<left url="church-by-the-name-of-kovlad-cmindata.tiles/l1_l_%0v_%0h.jpg" />
<front url="church-by-the-name-of-kovlad-cmindata.tiles/l1_f_%0v_%0h.jpg" />
<right url="church-by-the-name-of-kovlad-cmindata.tiles/l1_r_%0v_%0h.jpg" />
<back url="church-by-the-name-of-kovlad-cmindata.tiles/l1_b_%0v_%0h.jpg" />
<up url="church-by-the-name-of-kovlad-cmindata.tiles/l1_u_%0v_%0h.jpg" />
<down url="church-by-the-name-of-kovlad-cmindata.tiles/l1_d_%0v_%0h.jpg" />
</level>
</image><lensflareset name="DEFAULT" url="%SWFPATH%/krpano_default_flares.jpg">
<flare pixsize="128"
pixupos="0"
pixvpos="0"
color="0xFFFFFF"
pos="0.0"
scale="0.1"
/>
<flare ... />
<flare ... />
...
</lensflareset></krpano>
-
-
hello . anybody know how i can insert light ring like is in this panorame ?
http://virtualtour.ge/view.php?pano=1017&lang=gethanks
-
in hospot i mine markers
please help me
-
hello
i need helphow link the hospot
after i insert this script in htmlfunction initialize() {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);// Add 10 markers to the map at random locations
var bounds = map.getBounds();
var southWest = bounds.getSouthWest();
var northEast = bounds.getNorthEast();
var lngSpan = northEast.lng() - southWest.lng();
var latSpan = northEast.lat() - southWest.lat();
for (var i = 0; i < 10; i++) {
var point = new GLatLng(southWest.lat() + latSpan * Math.random(),
southWest.lng() + lngSpan * Math.random());
map.addOverlay(new GMarker(point));
}
}
i just wont click on hospot and go to another html page and wotch panorama at this place