hi all
i want to go in a scene with url it's possible ? I know to go in a single pano but don't find the good syntax for scene
thanks
hi all
i want to go in a scene with url it's possible ? I know to go in a single pano but don't find the good syntax for scene
thanks
yes Tuur exactly
Ok it's work perfect to get a scene
But now I want a scene and get a position in a scene, I don't find the good syntax, I try &x=.... &y=.... &z= or &view.hlookat=.... &view.vlookat=.... &viewfov=.... without sucess
Hi Job.1,
Inside your loadscene() action, you can use the vars parameter for that...
loadscene(scenename,vars*,flags*,blend*)
SAlut.
Thank's Michel but I can just pass one like view.vlookat=-40 but what else for the others, view.hlookat=15 and view.fov=50
Yes I see that but not working
Did you in your krpano js code/embed code ...?
viewer.passQueryParameters();
See the getlink example in your examples folder.
It's only for panonot for scene mode
Then you can build your scene dynamically with php or asp
xml=krpano.php?fov=60 <- just a rough example
and in the krpano.php
<scene fov=<?php print $_GET["fov"] ?>"
another rough example with no input validate or default setting for the variable.
I know that but the trouble is that I can put only one and is working
But if you put two or three not working
That shouldn't be the case, Post your php or asp code then.
The maxlength of your xml file plus its parameters, shouldn't be close to 2048.
Hi Job,
I have tried some... The loadscene() action itself seems to accept multiples vars when used from xml... but seems to accept only one var when used from url or as a variable in the embed process...
Perhaps it is a bug from the swfkrpano.js...
SAlut.
Yes Michel I think the same
Hi Klaus,
it's a bug or normal way to work ?
Hi,
Quote
when using the & in the url then the browser will assume a new 'http-get' parameter will be started,
maybe escaping the inner & by %26,
e.g.
Quote
beside of that - I would recommend setting the startup view by set() or the lookat() actions,
this should be to more reliable and unproblematic way,
e.g.
Quote.....http://mydomain.com/krpano.swf?pano=tour.xml&onstart=loadscene(myscene)[color=#009900];lookat(52,-20,120); [/color]
best regards,
Klaus
Thanks Klaus all working well
but it seem not working with encript xml
Quotebut it seem not working with encript xml
Hi, make sure that the "Disable External Parameters" is NOT checked in the kprotect tool,
best regards,
Klaus
Don’t have an account yet? Register yourself now and be a part of our community!