|
|
Source code |
1 2 |
<!-- skin_base - the base skin image --> <style name="skin_base" url="calc:'%CURRENTXML%/skin/' + skin_settings.design_skin_images" /> |
|
|
Source code |
1 2 |
<currentxml url="./" /> <style name="skin_base" url="calc:currentxml.url + skin_settings.design_skin_images" /> |
Hi,
yes, that will be changed in the next release.
The '%CURRENTXML%/skin/' was used there because when using 'calc:' in the url attribute, the automatic url path adjusting - to make the url relative to the xml where it was defined - wasn't possible.
The next release will use this code: (could be used also in the current pre-release)
There the relative url of the custom 'currentxml.url' variable will be adjusted and then later be used to calculate the correct path to the skin image.
![]()
Source code
1 2 <currentxml url="./" /> <style name="skin_base" url="calc:currentxml.url + skin_settings.design_skin_images" />
Klaus
That code is only a temporary optimizations of the krpano VR example and shouldn't be used in normal examples. That means these lines should be removed.Did you imply that it must be in my code and it causes the hotspots in non-vr mode not to work?
I removed that line of code, and the hotspots work perfectly now!
See here and click '+Multires':What should be the code when using multiresolution? I tried different combinations but none works
Quoted
However, in a quick test tour that I made with 1.19 beta (https://virtualtours.nl/test/tour.html), I noticed that the tour does not show in stereoscopic view automatically when I click on the VR glasses symbol, on my phone. There is also no possibility to switch VR modes in the tour.
Even if the tour is monoscopic, it will still be necessary to view it in side by side view to be able to watch it in Cardboard or other vr glasses. How do I achieve this?
Quoted
I'm just testing the 1.19r2 on an iPhone 5s. I want the screensize as default on 5.1 inch and not at 4.0. That is what he's auto-detecting. How can I change that in the code?
Ok. Clear. But If I test on my Iphone 5s. It detects: Device: iPhone 5 / screensize: 4.0 inch, like you describe. But when I put it in my Cardboard I have to change the setting of the screensize to 5.1 (see image), otherwise the crosses don't overlap.The iPhone 5s has a 4.0 inch display!
Changing the display size would be possible by the mobilevr_screensize setting, but that wouldn't make sense and wouldn't be recommended. The screen size is the base physical parameter for all other physical sizes (IPD, fov). When using a wrong screensize these sizes will also get wrong!
The tour should already work as it is...
After clicking the 'VR icon' on a mobile device just rotate the device to landscape (as the 'image' suggests)...
This will work the same for monoscopic and stereoscopic images.
If this doesn't work - what happens in your case what device are you using?

|
|
Source code |
1 |
chrome://flags/#ignore-gpu-blacklist |