View Full Version : Limits while loading panorama
yellow
04-30-2009, 11:44 AM
Hi guys,
Is there any way to make limits plugins work while loading another panorama?
It works when the first panorama of the tour is loading. But once I try to load another panorama using hotspots, limits just disappear. But appear again after it's completely loaded.
And the problem is that I need it working during loading process because all panoramas of the tour are partial.
Please help...
siesfor
05-01-2009, 02:00 AM
Is there any way to make limits plugins work while loading another panorama?
Not that I've seen, but then again, maybe that's something that can be fixed(?)
You can work around it though by adding
onNewPano="friction=0"
onTransitionEnd="friction=0.8"
to your global tags. (you can change 0.8 to whatever you normally set friction to)
And it'll keep your viewers from seeing all the dark matter around your panos.
www.bodensee360.de
05-01-2009, 04:17 AM
Hope i understand it right.
Maybe you can try this with the limits plugin:
I use that with the borders plugin
loadPanoL2="
pano.leash=free;
external.borders.tilt_max=19.5;
external.borders.tilt_min=-19.5;
external.borders.pan_min=-180.0;
external.borders.pan_max=179.9
loadPano(panoName=visualFiles/L2&pan=140.27&tilt=-3.52&zoom=1.42&zoomMin=1.0&zoomMax=2.1&panoType=cube0,1000,fade);
"
I specify my borders before loading the new one...
In "LoadPano(panoName=visualFiles/L2..." you could set the new parameters....
Michael
krisbfunk
09-05-2009, 04:19 AM
Is there code to lock the tilt / pan during loading of another pano? During the load screen.. a perfect example would be when using loadPreview(), then onTransitionEnd, loadMain()
This seems like a major showstopper for me if there isn't.. what about even locking the mouse drag on preview during load time?
I tried borders and limits within the global / loadPreview(), however it had no effect (during loader meter)
krisbfunk
09-05-2009, 04:47 AM
Not that I've seen, but then again, maybe that's something that can be fixed(?)
You can work around it though by adding
onNewPano="friction=0"
onTransitionEnd="friction=0.8"
to your global tags. (you can change 0.8 to whatever you normally set friction to)
And it'll keep your viewers from seeing all the dark matter around your panos.
This doesn't seem to work for me at all during the loader screen. Since FPP has been around for so long.. what are everyone elses methods of hiding those black borders from view when the loader is on the screen?
Trausti Hraunfjord
09-05-2009, 06:03 AM
disable controls during transition... as far as I can tell.
Trausti Hraunfjord
09-05-2009, 06:06 AM
.... or ... was it in this situation that a transparent .png static image would be on top of everything during transition, effectively blocking mouse interaction with anything below it?
That might be it.
DaveGibson
05-02-2010, 09:52 AM
Hi- I came upon this thread as I am re-tooling a QTVR tour I did some time ago which included some cylinders, some partials and some cubics. I noticed the problem you mentioned and I think I have a solution. Use pano.disableControls=1; just before the loadPano. This works also on the preview if you put it in before loadPano in the loadMain function. For example here are my onStart functions:
loadPreview ="loadPano(xml_file=hm23preview.xml,300);onTransitio nEnd=loadMain();pano.qualityStatic=low;"
loadMain="pano.disableControls=1;pano.leash=free;loadPano(xm l_file=hm23.xml,600);onTransitionEnd="
and here are some onClick functions:
go1="pano.disableControls=1;pano.leash=free;loadPano(xm l_file=hm23.xml);"
go2="pano.disableControls=1;pano.leash=free;loadPano(xm l_file=hm24.xml);"
go3="pano.disableControls=1;pano.leash=free;loadPano(xm l_file=hm25.xml);"
This freezes the pano while loading is going on. Control resumes when loading is complete.
Dave
Virtualguide
05-02-2010, 10:36 AM
Yellow: is there some reason why not use different xml for panos?
if the answer is YES, I am using what Michael recommends (with external.borders) for that purpose.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.