Thanks so much, tested on 1.19 pr3 and it works!
Posts by VVZen
-
-
Hi,
Is it possible to use the include statement like this:
To dynamically load different language files based on the user language?
Currently the language var is passed as a query parameter, like this: file:///myFilePath/main_vr.html?startscene=scene_name&language=en
What would be the best way to support multiple languages and avoid to load multiple useless files?
Thanks,Namastè
-
Without proper source code, it's hard to say the reason of this conflicting behaviour.
Where did you put the webvr.toggleVR() ?
By the way, have a look at this useful thread, too: [WebVR] How to 'autostart' WebVR with click event *SOLVED*Namastè.
-
-
Hello guys!
Sorry for being such a newbie!
Where exactly should I place this line of code for this to work?
You could put in the startup action, and pass the argument while sending the address like this: http://mytour/tour.html?enterinvr=true
Code<action name="startup" autorun="onstart"> delayedcall(0.5, if(get(enterinvr), webvr.toggleVR(); );); trace('VR is active? ', get(enterinvr)); if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene),merge,blend(4)); if(startactions !== null, startactions() ); </action>
UPDATE:
It seems that on my mobile phone it won't start directly in vr mode, while on desktop under fake vr it does.
Is it required some kind of user interaction to enter in vr mode?
Can we bypass this?
I'm loading the pano inside the webview of an android app.Namastè.
-
Thank you so much, works like a charm!!
Great solution.
Two thumbs up!Namastè.
-
Hi,
Yes, but the xml (and the skin there) would need to be designed for that.
The default vtourskin.xml is not designed for getting loaded directly from an other tour.[...]
Best regards,
KlausThank you so much, Klaus!
At the end I was able to obtain what I needed by redesigning some of the xml structure.
My only other little question is: is it currently possible to load a virtual tour directly in vr mode?For example, this could be achieved passing a var to the tour address request? (like: myAddress.html?loadinvrmode=yes ).
(this leads me to.. : How can I trigger the webvr.enterVR() without user interaction? )Thanks again.
Namasté
-
//EDITED
Hi!
You have to do script per face.
You cannot use the %s special character.
And maybe it also can't find the file because you didn't escape the space character.
Have a look here: http://superuser.com/questions/2790…quotation-marks .I'm on a mac so I can't help you on the cmd.exe side, but maybe looking to this repo can help you to format the right syntax for the maketiles command https://github.com/VVZen/shell-ut…_toCustomise.sh.
Don't forget to recheck https://krpano.com/tools/kmaketiles/ .Namastè.
-
-
Is it currently possible to load a new tour.xml in VR mode and continue the navigation without exiting VR?
So that I can load a scene from another xml.
Using loadpano() currently exits from VR mode.
I tried also loadscene() with an <include url="myOtherTour.xml">, but I'm having problems with my styles (different for each tour) being overridden.
Thanks for the great job!
Namastè. -
-
Ok, one of my errors was that I was reversing the order of the %h and %v.
I checked the xml and saw what was wrong.Code<level tiledimagewidth="10540" tiledimageheight="10540"> <front url=“my_name/0/4/%v_%u.jpg"/> <right url=“my_name/1/4/%v_%u.jpg"/> <back url=“my_name/2/4/%v_%u.jpg"/> <left url=“my_name/3/4/%v_%u.jpg"/> <up url=“my_name/4/4/%v_%u.jpg"/> <down url=“my_name/5/4/%v_%u.jpg"/> </level>
Now, my face comes out quite well, but as you can see there's a glitch in the last row and column
(obviously the center is simply censored by me).
Here's a screenshot:What could be wrong here?
Namastè.
-
Hi,
I'm trying to get the original multires image back from a series of tiles created with Panotour.
My script is something like this:Code./krpanotools maketiles /myPath/%h_%v.jpg recombined.tif 0 -insize=10540x10540 -intilesize=512x512 -inindexbase=1
My tiles go from 0_0.jpg all the way up to 20_20.jpg .
The first things that the terminal says is:
But it processes the image, which in the end has some errors (see pic).The problem is that the not all of the tiles are quads, so I've got also 512x300 or 300x512.
Is there any way to get the multires back?
What am I missing?Thanks.
Namastè.
-
I guess if you are in zoom mode then very little movements would change many degrees in the pano, so you would get sick very easily...Another thing would be that the gyro plugin recognize that if you are in zoom mode then movements are scaled down so you can move your head a lot without moving a lot of degrees, the problem here is that if you turn 360 degrees in real then you would not be in the same place as in the begining...
I'm not sure but I guess somehow making a zoom will useful and nice in some future...
Yep, that would be a nice addition! +1 for this feature request.
I'm back with another problem:
I am using this code
Code<action name="goto"> mul(newdepth, depth, 2); tween(depth, get(newdepth), 0.25); tween(oy|alpha|rx, -400|0|45, 0.25, default, loadscene(%1, null, NOPREVIEW|MERGE|KEEPMOVING, BLEND(1)) ); </action>
to load new scenes when clicked on an hotspot:
Code<hotspot name="scene_galerie" style="arrowspot" ath="-66.1" atv="3.3" rotate="70" depth="10000" onclick="goto(scene_galerie);" />
And here's the scene to load:
Code
Display More<scene name="scene_galerie" title="galerie" onstart="" thumburl="panos/kuchlerhaus/galerie.tiles/thumb.jpg"> <preview url="panos/kuchlerhaus/galerie.tiles/preview.jpg" /> <image prealign="0|180|0"> <cube url="panos/kuchlerhaus/galerie.tiles/pano_%s.jpg" /> </image> </scene>
I've got just two questions:
1. When the scene gets loaded, I get a black screen with still the VR ui active, but no error.
I am not able to understand why this happens.
This leads me to2. Which is the best way to load scenes on a hotspot click in order to keep them working both in VR and non-VR?
In the examples folder (kuchlerhaus) the hotspots work only when VR is active.Namasté.
-
Hi,
There is no zoom in 'real reality' and also not in 'virtual reality' ;-).
Trying to do that is and feels just wrong.Best regards,
KlausThank you so much for your answer, Klaus!
What I meant was: I don't want to zoom as a result of an user interaction, but just start with a zoomed view of the pano.
I've got a very large multires pano and I want to start the scene being a lot closer to some details, so I need a zoom and a narrow fov.
Setting a lower fov in the pano view seems to work only when outside VR.Namastè.
-
Don't change the lens_fov ! Act on the <view> fov with zoom buttons displayed as distorted hotspots for instance.
I tried changing for example the <view> to fov="30", but when I enter into VR mode it resets the zoom.
I need it to be fixed at startup and not to be editable by the user. -
VVZen
Do you want to zoom in a specific object or the image ?
I'd like to have the actual pano zoomed!Thanks.
-
Hi!
Thanks for another great release!Is there any way at the moment to "zoom" the view of a pano while being in VR?
I was actually able to fake a zoom by lowering the mobilevr_lens_fov, but the image quality degrades quite a lot, even if I'm loading a multires image.
So I guess I must be doing something wrong..Namastè.
-
Thank you very much, Tubbritt.
Saving me is becoming quite an habit, for you.(however, this time I did find out the solution by myself)
Your tip is super-right, the best way to add support for WebGL on versions before Lollipop is to use a XWalkView (which comes from the cordoba crosswalk project) instead of the default android WebView.
I'm managed to do so and I'm pretty happy with the result.
It seems to me that the XWalkView is slightly faster, too.
For anyone who's interested, I've followed these simple steps in order to add the xwalk library under maven and use all of the features of XWalk: https://diego.org/2015/01/07/emb…android-studio/ .
This guy also uploaded a small repo on githubo, if you wanna have a look (it's an android studio project): https://github.com/dougdiego/CrosswalkDemo .The only downside of using Crosswalk is that is uses a lot of phone permissions, so you really have to convince your users that you're app is great!
Namastè
-
Has somebody successfully managed to upgrade tours made with Panotour (krpano 1.17) and implement the WebVR features of 1.19 pr2?
I tried both solutions shown here, but they don't seem to work, since I'm not able to see any ENTER VR button:
implement webvr in vtour of panotour pro...Namasté.