|
|
Quellcode |
1 2 3 4 |
INFO: krpano 1.19-pr2 (build 2015-05-08) INFO: HTML5/Desktop - Firefox 38.0 - WebGL INFO: Registered to: Elena Markovsaya ERROR: ./skin/menu.xml - xml parsing failed! |
The best and correct solution for checking for an empty string would be writing the expression this way:
This work in the old and the new parser and is according to the specs/documentation that says that %N parameters will get replaced by their passed values.
![]()
Quellcode
1if('%1' == '', ...);
s
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<action name="set_fb_hs">
trace(%0,' 1:last_hotspot_param: ',%1,' 2:fb_id: ',%2,' 3:img_url: ',%3,' 4:name: ',%4,' data1: ',%5,' data2: ',%6);
if('%3' === '',
trace('param 3 empty');
,
trace('param 3 not empty');
);
if(%3 === '',
trace('param 3 empty');
,
trace('param 3 not empty');
);
if('%3' == '',
trace('param 3 empty');
,
trace('param 3 not empty');
);
if(%3 == '',
trace('param 3 empty');
,
trace('param 3 not empty');
);
ifnot('%3',
trace('param 3 empty');
,
trace('param 3 not empty');
);
ifnot(%3,
trace('param 3 empty');
,
trace('param 3 not empty');
);
</action>
|
Is there a way with PR 2 to "drag and drop" a stereoscopic version, or does that still have to be manually edited?
Zitat
There is no tools/droplet support for handling the input of stereoscopic images yet. The usage of stereoscopic images need to be set-up manually in the xml at the moment.
can someone help me with the code in order to do this? I'm pretty code illiterate, but I was able to make it work with the PR1 simply by replacing images in the correct places. I can't seem to make this new version work.Is there a way with PR 2 to "drag and drop" a stereoscopic version, or does that still have to be manually edited?
As per Klaus' original post about PR2:
Zitat
There is no tools/droplet support for handling the input of stereoscopic images yet. The usage of stereoscopic images need to be set-up manually in the xml at the moment.
So unless I misunderstand this is still coming.
Sorry, but I don't understand what you mean. Please 'read everything' and ask more specific.I didn't read everything, yust want to know it will be also compatibile the web-vr for iphone, or how to activate? And, a observation, maybe you alredy know, in web-vr mode the crin go to lock after that time that is in the preference of the phone, I had set to my phone to 5 min when I 'm watching with the vr glasses.
That's not possible, there is no Browser API for locking the screen rotation yet. There exists a working draft for such feature (see here) but today no browser has implemented that functionally and when it comes to iOS and Apple it's more than skeptical if they would ever implement it. But as soon there as there will be a working and stable API, I will add support for that of course!it will be some anti-locking screen in the future?
Currently not, but eventually it might be possible. Currently when a new video will be played, the videoplayer plugin creates internally a new html5 video object and removes the old one - this is done to avoid HUGE memory-leak bugs of several browsers (especially of Firefox and iOS) - and the new video requires again a new touch from the user to be able to be played. By reusing the video-object from the previous video it should be possible to play that without the need for a touch. I still need to do several tests and analyzing here, but maybe this can be enabled for some browsers (e.g. for Android Chrome).Given the limitations of mobile browsers (can't play a video without a tap event), is there currently a way to deal with multiple videos?
Do you mean when applying an inverse horizontal rotation to the nadir hotspot to keep the hotspot oriented with the viewing (like in the nadir-logo.xml example)?Gyro2 and nadir/zenith arrow spots : the spot rotate with gyroscope movements. Not a urgent problem, just funny to see the rotation of the spot.
|
|
Quellcode |
1 |
<events name="nadirlogorotation" onviewchange="if(hotspot[nadirlogo].rotatewithview, set(hotspot[nadirlogo].rotate, calc(view.hlookat + view.camroll)); );" /> |
I know about this and this is also still in working. Once the previous pano is suspended, only relative movements are allowed to be applied and this make it's a bit complicated. A solution for the moment should be simply NOT using the KEEPMOVING flag, be the previous keeps still at it's previous position.Sadly there seem to be something strange happening when I use this though. Let say for example I have a Tour with 2 images. Image one has no webvr.resetsensor set, and image 2 does, say a value of 45. When on Oculus Rift (DK2), if I look at the hot spot to go from image 1 to image 2, image 1 will jump instantly to 45 degrees and about half a second later image 2 loads correctly as I set it. So it seems the settings for the second image are effecting the first one when I select the hotspot to enter image 2.
That will be never possible without any user interaction! Switching to VR mode also requires to switching to fullscreen mode and there is an user-interaction like a click or touch required doing that.How to make the tour load by default in VR mode irrespective of mobile/desktop?
Sorry, I don't know about problems here, nothing has been changed here.1) check please, whether normally worked event onautosized textfield in Flash
I was faced with the fact that under ntml5 everything works fine, and in the flash this event does not work
Here too - sorry, no known problems, there could be several reasons and they don't need to be related to the new version. Please use a separate thread with examples for this problem.2) after the encryption I get error parsing under html5 on the desktop:
That should be fixed with the next release.Having problems with the new parser.
The following didn't work at all for empty arguments.
This works still the same and is definitely working. Please see here for the xml syntax for using stereoscopic images:but I was able to make it work with the PR1 simply by replacing images in the correct places. I can't seem to make this new version work.
Gyro2 and nadir/zenith arrow spots : the spot rotate with gyroscope movements. Not a urgent problem, just funny to see the rotation of the spot.
Sorry, but I've no idea what you mean...No in fact I've a static hotspot very near of the nadir and so when used with WebVR + Gyro2, the spot enter in rotation on gyroscope displacement so I can apply rotation to my spot (an arrow) with a displacement of the device gyroscope.
Thanks, I will check this.
Zitat
An other minor thing : if I destroy (with javascript unload and remove methods) the player (which is in webvr mode) then load a new player at same place (in webvr mode also) the iframe for the "webvr_localstorage" is created twice into the webpage.
Use the Oculus Rift in 'Direct-Mode' - in this mode the Chromium WebVR browser is able to use all goodness of the Oculus Rift - 75hz rendering, timewarp and low persistence - and this results in a low latency.Thanks to this forum I solved all my problems on cardboard but in Oculus Rift with Chromium in Mac OSX i see a lot of latency, how can I get an experience with zero latency (or almost) in Oculus Rift (DK2) in Windows or Mac OSX? Which requirements must have the PC?

So this is stereoscopic? If it is, can you share the xml code you used to make it work? I can't seem to figure it out.Hello,
the first true 3D Tour is finished, i use the pre2![]()
http://tulum3d.web-design-opelt.de
Regards panomexico
With the next release there will be a 'havesettings' setting and this could be used to check if settings were successfully loaded.Hi, is there a way to check is settings have been saved in the html5 storage on not ?
I would like to display the setting panel is the html5 storage is empty ;)
Looks great (tested with Oculus Rift DK2) but there some small stereoscopic problems - the distance between the capture camera was too large and so as results everything looks 'tiny' in VR
. And on some locations there is a vertical displacement between the left and the right image - this can be stressful to the eyes. The eyes are trying to correct the displacement, but when they do that the vr-cursor starts looking displaced, and when looking at the cursor the same happens in the opposite way.So far I know there is no 'simple' way - either rooting and installing a special app for blocking or physically blocking the usb connection somehow.Is there any simple way to bypass Samsungs autolaunch of the Oculus VR app, so the phone can be mounted and connected in a normal way?
At the moment the Android Chrome browser would be the recommended browser.Also, what is the recommended browser to use on Android?
That's only web-design related - e.g. use a thumbnail with a link to a full-sized pano for mobiles devices. Or on Android you could use the HTML5 fullscreen mode also from iframes (when adding the iframe allowfullscreen setting).VR on mobile is using the whole screen, but thats not how websites in general are build. I need people to be able to navigate, view ads, reading text etc. On desktop this is usually solved with an iframe, and then visitors can click on fullscreen to get the full experience. Not so on mobile, where most browsers doesn't support fullscreen. The "flip screen to get VR" does not work either, as long as the VR content is inside an iframe. Any ideas on how I should integrate VR on ordinary websites?
That's basically simple - please see here for the xml syntax:So this is stereoscopic? If it is, can you share the xml code you used to make it work? I can't seem to figure it out.
|
|
Quellcode |
1 2 3 |
<image ... stereo="true" stereolabels="1|2"> <cube url="pano_%s_%t.jpg" /> </image> |
With the next release there will be a 'havesettings' setting and this could be used to check if settings were successfully loaded.