The 'headset presets' are not a native feature, they are defined by the webvr.xml.Is there a way to get the name of the selected headset preset?
When rendering via the WebVR API the browser itself controls the fov ('distance of the screen'). That means that should be the same like in any other native Oculus Rift App...I can view my 360pano with oculus DK2 in krpano 1.19-pre3 version, But I don't feel comfortable about the distance of the scene, how can I control it?
How can I change the fov of the scene in VR mode ,I have change the view[fov] in tour.xml,also the element of plugin[webVR] ,but all of this do not work, my scene became much more bigger in DK2 than google box, or nomal mode.
When rendering via the WebVR API the browser itself controls the fov ('distance of the screen'). That means that should be the same like in any other native Oculus Rift
klaus great tool
but I have the following problem
sometimes shows me the button "Enter VR" and sometimes not.
clean the cache and similar things, but does not work me.
I use a example in version 1.19 pre 3
My device is a Moto X, 2nd generation
android 5.0.1
thanks for the help
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<scene name="scene_1cw" title="1cw" onstart="" thumburl="panos/1cw.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="0" vlookat="0" vlookatmax="66" fovtype="MFOV" fov="110" fovmin="90" fovmax="125" limitview="range" /> <preview url="panos/1cw.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="512"> <level tiledimagewidth="1792" tiledimageheight="1792"> <cube url="panos/1cw.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1024" tiledimageheight="1024"> <cube url="panos/1cw.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <!-- place your scene hotspots here --> </scene> |
|
|
Quellcode |
1 2 |
<!-- webvr.xml - WebVR plugin, enter/exit VR buttons, VR cursor, VR setup --><include url="plugins/webvr.xml" /> <plugin name="WebVR" mobilevr_fake_support="true" />
<include url="skin/vtourskin.xml" /> <!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? -->
|
|
|
Quellcode |
1 |
<layer name="skin_btn_vr" style="skin_base|skin_glow" crop="0|384|64|64" align="bottom" x="140" y="4" scale="0.5" onclick="showVR();" /> |
|
|
Quellcode |
1 |
<action name="showVR"> webvr.enterVR(); </action> |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »rbasniak« (3. Januar 2016, 18:40)
What kind of distortion do you mean?
Not the lens-pre-distortion, or?!
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
<krpano onstart="startup()">
<action name="startup">loadscene('eins', null, MERGE, ZOOMBLEND(1.2));</action>
<include url="%SWFPATH%/plugins/webvr.xml"/>
<style name="vr_menu_style" depth="800" visible="true"/>
<scene name="eins">
<image>
<sphere url="../images/test-image.jpg"/>
</image>
<view hlookat="0" vlookat="0" fov="120"/>
</scene>
<plugin name="WebVR" />
</krpano>
|
What kind of distortion do you mean?
Not the lens-pre-distortion, or?!
When using the WebVR API (Oculus Rift) then the browser and Oculus Runtime are doing the lens-distortion - that means the pano should look and distort like in native Oculus Rift apps. krpano doesn't do any additional distortion or so.Actually this can be reproduced with the demo, too: http://d8d913s460fub.cloudfront.net/krpa…x.html?v=119pr3 If you look at the Paris 2D panorama with the Oculus DK2 and focus on vertical lines and then look up/down, you can see the lines don't stay 100% vertical. It's a bit like as if a little fisheye effect is still in place.
For mobile devices without native WebVR API krpano does the lens distortion itself - the form and amount of distortion depends on the individual headset and can't be auto-detected - therefore the 'VR Setup' menu with some presets and the possibility to adjust the settings.Klaus -- not sure if this is what danieln is experiencing or something entirely different. On my 2nd VR Mode attempt I notice a lot of barrel distortion in the image. It can be pretty well corrected using VR Setup
No error would be strange...because one of my clients had loading problems with a tour I did.
I have indeed a problem on iphone, sometimes some cube face just don't load and I have no errors in the log...
No error would be strange...
When the server is slow or busy and reports a loading error or times-out krpano still tries the loading again retrycount times before reporting an error in the log, no loading and no error is not normal.
Is that problem related to 1.19 pre-release 3? (because posting here)
If not, please open a separate thread and post there the link to the example.

Hi,
%SWFPATH% or not doesn't matter to loading errors when the path itself is correct.
I have tested your tour now some time (also with an iPhone 6+) and it was basically working, but on one scene I've got an loading error about the preview.jpg and the hotspots/map.png, but on the next try (without browser loading) it was working - and that means the server itself responded with an loading error!
Best regards,
Klaus

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »jeromebg« (13. Januar 2016, 14:29)