Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
The Samsung VR browser is rendering the WebVR WebGL canvas only with 2048x1024px - that's for both eyes and before lens distortion - and that's very low. Manually trying to increase that resolution doesn't work. Samsung itself would need to improve the browser.The pano quality in the Samsung Browser is not as good as in chrome, is there a higher compression or is there a lower quality loaded?
![]() |
Source code |
1 2 3 |
<layer name="xmask" type="container" align="lefttop" x="10" y="30" width="300" height="284" bgcolor="0xFFFFFF" bgalpha="0.8" maskchildren="true"> <plugin name="xmasktext" keep="true" url="%SWFPATH%/plugins/textfield.swf" html="tmptxt" css="font-family:Tahoma; font-size:13px;" border="false" background="false" selectable="true" align="lefttop" y="2" width="100%" height="100%"/> </layer> |
![]() |
Source code |
1 |
<plugin name="cornerClick" url="./TransparantClickArea.png" align="top" y="12" onclick=anActionOnClick()" /> |
This post has been edited 1 times, last edit by "mastucc" (May 23rd 2016, 10:44am)
This post has been edited 1 times, last edit by "Umalo" (May 24th 2016, 7:55am)
Thanks - right, that's due an updated default html template file (with mobilescale=1.0 by default now) and missing update of the defaultskin.xml (which assumes a mobilescale=0.5 for mobile devices).With the version 1.19pr4 the the buttons version does not scale correctly
![]() |
Source code |
1 |
<layer name="defaultskin_buttons" scale="2.0" devices="mobile" /> |
![]() |
Source code |
1 |
<layer name="defaultskin_buttons" scale="2.0" if="device.mobile AND stagescale LT 1.0" /> |
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
![]() |
Source code |
1 |
if="device.mobile AND stagescale LT 1.0" |
![]() |
Source code |
1 2 3 |
<layer name ="infobutton" style="skin_base|skin_glow" crop="64|710|64|64" align="bottom" x="230" y="0" scale="0.6" alpha="1.0" keep="true" onclick="action(showintroimage);" /> |
![]() |
Source code |
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
<!-- determine the visibility of the buttons and calculate their positions --> <action name="skin_arrange_buttons"> calc(show_selbuttons, scene.count GT 1); calc(show_thumbutton, skin_settings.thumbs == true); calc(show_mapbutton, skin_settings.maps == true); calc(show_gyrobutton, plugin[skin_gyro].available == true AND view.vlookatrange == 180 ); calc(show_vrbutton, webvr.isavailable == true); calc(show_fsbutton, device.fullscreensupport == true); calc(show_infobutton, skin_settings.maps == true); set(lpos,6); set(cpos,0); if(show_gyrobutton, dec(cpos,20)); if(show_vrbutton, dec(cpos,24)); set(rpos,6); calc(show_dirbuttons, !device.mobile AND ((area.pixelwidth + 2*cpos) GT 520)); copy(layer[skin_btn_navi].visible, show_dirbuttons); copy(layer[skin_btn_prev].visible, show_selbuttons); copy(layer[skin_btn_next].visible, show_selbuttons); if(show_selbuttons, inc(lpos,44); inc(rpos,44); ); copy(layer[skin_btn_thumbs].visible, show_thumbutton); copy(layer[skin_btn_thumbs].x, lpos); if(show_thumbutton, inc(lpos,40)); copy(layer[skin_btn_map].visible, show_mapbutton); copy(layer[skin_btn_map].x, lpos); if(show_mapbutton, inc(lpos,40)); if(show_dirbuttons, copy(layer[skin_btn_navi].x, cpos); inc(cpos,140); set(layer[skin_btn_gyro].align, center); copy(layer[skin_btn_gyro].visible, show_gyrobutton); copy(layer[skin_btn_gyro].x, cpos); if(show_gyrobutton, inc(cpos,48)); set(layer[skin_btn_vr].align, center); copy(layer[skin_btn_vr].visible, show_vrbutton); copy(layer[skin_btn_vr].x, cpos); if(show_vrbutton, inc(cpos,80)); , set(layer[skin_btn_gyro].align, left); copy(layer[skin_btn_gyro].visible, show_gyrobutton); copy(layer[skin_btn_gyro].x, lpos); if(show_gyrobutton, inc(lpos,40)); set(layer[skin_btn_vr].align, left); copy(layer[skin_btn_vr].visible, show_vrbutton); copy(layer[skin_btn_vr].x, lpos); if(show_vrbutton, inc(lpos,80)); ); copy(layer[skin_btn_hide].x, rpos); inc(rpos,40); copy(layer[skin_btn_fs].visible, show_fsbutton); copy(layer[skin_btn_fs].x, rpos); if( show_fsbutton, inc(rpos,40)); copy(layer[infobutton].x, 40); </action> |
This post has been edited 1 times, last edit by "zappano" (May 30th 2016, 1:28pm)
Yes, just add -renderer="css3d" - to your hotspots, then the browser will render the hotspots via CSS3D transform as in the previous versions.Is there any way to activate gif animation hotspot with pr4/pr5 ?