Hi to every one,
I'm just a beginner and I'm finding difficult to manage the Krpano application.
There are 3 main problem that I have.
The first one:
I cannot manage to write a code to implement the navigation buttons.
The second one:
After pressing on the link to my virtual tour I would like the windows to be open just in the middle of the screen not a full size.
(see any of the sample at this link http://www.photoplan.co.uk/portfolio/360.asp)
The third one: maybe the biggest!
I'm using a panoramic mirror to do my virtual tour from PANO-PRO.
I then develop an equiterectangular panorama with the PANO-publisher sofware.
I then drop this panorama into KRPANO droplet MAKE A VIRTUAL TOUR (NORMAL)
after following all the instruction I find my self with a very bad virtual tour the resolution is bad.
I have tried shooting in raw and in Jpg,
I do a little retouch in photoshop first and none on the publisher software.
I did follow the instruction on how to find the best focus using the mirror.
I have a canon 50 d and I'm using a basic 18-55mm lens.
Questions.
Do I have to use the PANO-PUBLISHER softwar or I can unwrapp my round photo directley with the Krpano SOFTWRE?
I can I improve the quality of my virtual tour?
I does the multi resolution business work?
I'm bit lost and I know this are lots of question they may sound silly for most of you but not for me.
Could someone give some advise?
It would be much appreciated.
here is the link to my virtual tour I did manage to change the size of the virtual tour itself in the html code but not of the windows
http://danielelongo.co.uk/360virtual/vtour/tour.html
Thanks
<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_55vt_unwrapped" title="55vt_unwrapped" onstart="" thumburl="55vt_unwrapped.tiles/thumb.jpg">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" />
<preview url="55vt_unwrapped.tiles/preview.jpg" />
<image>
<left url="55vt_unwrapped.tiles/pano_l.jpg" />
<front url="55vt_unwrapped.tiles/pano_f.jpg" />
<right url="55vt_unwrapped.tiles/pano_r.jpg" />
<back url="55vt_unwrapped.tiles/pano_b.jpg" />
<up url="55vt_unwrapped.tiles/pano_u.jpg" />
<down url="55vt_unwrapped.tiles/pano_d.jpg" />
</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>
<!DOCTYPE html>
<html>
<head>
<title>krpano.com - 55vt_unwrapped</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style>
html { height:100%; }
body { height:100%; overflow: hidden; position:center margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#f4f4f4; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
</style>
</head>
<body>
<script src="tour.js"></script>
<div id="pano" style="width:50%; height:50%;">
<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano"});
</script>
</div>
</body>
</html>