Hi,
here the next snapshot of the development state of the next 1.19 version. Even though it's not finished and feature complete yet, there are some new features and fixes and it's ready to use.
krpano 1.19 Pre-Release VR Demonstration:
Best regards,
Klaus
here the next snapshot of the development state of the next 1.19 version. Even though it's not finished and feature complete yet, there are some new features and fixes and it's ready to use.
News and changes in krpano 1.19 Pre-Release 3
For information about the previous pre-releases, please see here:WebVR / MobileVR Support
- Wakelock support - avoid that the mobile device turns itself off while being in VR mode.
- Chromatic aberration correction support for Mobile VR (=better visual quality).
- Additional post-processing Lens distortion for Mobile VR.
- New multiresolution locking - when enabled all tiles from a certain multiresolution level will be preloaded when being in VR mode. This avoids loading interrupts during the viewing.
- Improved Fake Mode - direct mouse control (when pointerlock is supported by the browser), resetsensor() emulation. The fake mode is now enabled by default in the vtourskin.xml.
- Improved headset tracking stability for mobile devices (skip invalid browser events and invalid gyro data, limit the extrapolation time to avoid bad tracking on low framerates or short pauses).
-
Other news, changes and fixes:
- Optional, additional touch control.
- Optional automatic gyroscope calibration.
- Support more Android devices for automatic screen-size detection.
- New havesettings to allow checking if user settings were loaded (could be used to show a first time setup screen).
- The load/savesettings(storage) action support an additional parameter to optionally load and store the vr settings also only locally (to avoid a cross-domain web access).
- The cross-domain settings storage iframe will be loaded into the into the viewer DOM to avoid problems with dynamically removing the viewer from the webpage.
- The webvr.xml was updated and has got some smaller fixes.
krpano 1.19 Pre-Release VR Demonstration:
krpano HTML5 Viewer
- Microsoft Edge (Windows 10) browser support.
- Improved pano blending (when WebGL is availabe) - support seamless blending across an infinite number of panos, new nice blending modes/effects - Demo: Pano Blending
- Improved pixelgrid-fitting when using a fractional page-scaling / page-zoom (some Android and Windows Phone devices are doing that by default).
- New display.framebufferscale setting for custom adjusting of the internal WebGL buffer size. Use lower values to improve the rendering performance on slower devices (e.g. in VR mode on Android devices) and higher values to do oversampling for better image quality.
- New webglsettings settings (via embedding script) for customizing the WebGL usage.
- Colored krpano log and colored browser console log.
- Improved backward compatibility for the new action parser (especially for empty string parameter checks).
-
Fixes:
- The loading of multiresolution stereoscopic images wasn't fully working.
- A wrong (too low) WebVR rendering target resolution was used in the native WebVR mode.
- Respect the stereooverlap setting when hit-testing in stereo rendering mode.
- Wrong mouse cursor in some cases when using WebGL hotspot rendering.
- Filter invalid 0-bytes from decrpyted encrypted xml files.
- Inaccurate CSS3D transforms number rounding in some cases.
- Polygon hotspots were kept visible when switching to stereo mode.
- Flat pano-videos weren't working when they were defined as flat already on startup.
- The progress.progress values tracks now the loading of the locked level.
- The device.pixelratio will be updated on resizes - the user might have changed the page zoom.
- Use the correct pixelratio for the mulitres level selection on desktop.
- Partial wmode=transparent support in WebGL.
- Workaround for the iOS9 turn-off/turn-on WebGL canvas size bug.
- Bypass control keyboard keys (like TAB) for browser-side handling.
VTour Skin
- The new Flat skin will be used by default now.
- Little planet intro - the vtourskin.xml has now a build-in little planet intro support, just set the 'littleplanetintro' setting in the tour.xml to 'true'.
- Deep linking - the vtourskin.xml has now a build-in deep-linking support. That means the browser url will get automatically updated to link to the current scene and viewing point. To enable it, just set the 'deeplinking' setting in the tour.xml to 'true'.
- The VR fake mode will be enabled by default - to give the desktop user an idea of the possibilities when watching the tour with a VR headsets.
- Use different pano-blending modes when switching to the previous-pano (slide-left-effect), or to the next pano (slide-right-effect) or when opening a pano via thumbnails or hotspots (open-zoom-effect).
- New 'startactions' startup setting - passes custom startup actions via the tour url.
- Support additionally to PAGEUP, PAGEDOWN also the HOME, END keys for the tour keyboard navigation.
- Flat skins - calculate the contextmenu background color for touch devices automatically from the base skin color. That means only one color would need to be changed to change all skin colors.
- New skin_hideskin('instant') action for instantly hiding the vtour skin (e.g. on startup).
-
Changes / Fixes:
- The circles around the zoom button icons in the vtourskin_light.png were removed.
- The vtourskin.xml uses now a relative url for skin style image.
- Correct non-stereo portrait mode when switching the VR mode without resizing.
- Missing 'var' definition for the 'dh' variable in 'webvr_menu_following' action.
- Hide the VR navigation hotspots when there is only one pano in the tour.
- Flat skins - no controlbar overlap devices with a fractional scaling (to avoid visual problems due browser-side scaling and rounding).
XML / Actions
-
New <style> and
style="..." behavior of the krpano xml parser:
- When a xml element will be parsed into objects and values, then first the values from the assigned <style> will be loaded and then as second step the values that were defined at the xml element itself.
- That means values from a <style> can be overwritten at the xml element definition now.
- style="..." can be used now on all xml elements (not just plugin, layer and hotspot).
-
Additionally Javascript actions:
- jscall(...) - directly call any kind of Javascript code.
- jsget(var, ...) - get the value of a Javascript variable or the return value of a Javascript function.
- Both actions provide a krpano Javascript-Interface object named 'krpano' inside the Javascript code for a two-way communication.
- Support the bitwise operators <<, LSHT (left bitshift), >>, RSHT (right bitshift), BAND (bitwise-AND), BOR (bitwise-OR) in expressions.
- New Array sorting via arrayname.sortby(attr).
- Support using get:var and calc:expr inside <include> url values.
- Support using calc(...) inside array[] indices.
- New txtsplit() action for splitting texts into arrays.
- New parameter for the error(msg, fatal=true) action for tracing non-fatal error messages.
- New parameters for the lookat(h,v,fov, distortion, archi, pannini) action.
- New xml.view object - it will store the initial <view> element from the xml. Could be used to get the startup view settings of the current pano.
- New image.cubelabels setting for defining custom lables for %s cube side placeholder.
- The view.fisheye setting has been renamed to view.distortion, but the old name is still supported and working.
- New device.fractionalscaling device check for detecting devices or browsers with a fractional page scaling.
- The addplugin/addlayer/addhotspot actions are now returning the new created element (when called from Javascript or AS3).
- New hotspot.polyline setting to draw line-polygons instead of filled-polygons.
-
Fixes:
- The screentosphere() action supports stereo rendering.
- Changing the autorotate waittime during autorotating.
- Action parser error when using '|' in a string.
- Dispatching events - check if the event has got removed during dispatching.
- Check multi-variable tweens for valid values to avoid a script crash.
Gyro2 Plugin
- Touch support (several modes).
- Automatic gyroscope calibration.
- New friction setting for dampening the vibration of the gyro movement. When using friction=auto the dampening will automatically depend on the zoom level (helpful on large gigapixel panos when zooming in, works like an lens image stabilizer).
- support for flat panos - pan relatively to device motion
- Improved tracking stability - skip invalid browser events and invalid startup gyro data, limit the extrapolation time to avoid bad tracking on low framerates or short pauses.
Other...
- Textfield Plugin - automatically convert any occurrence of '0x' to '#' in the css setting to allow using the same color value syntax as in the krpano xml.
- Soundinterface Plugin - don't re-resume paused sounds on window restore, avoid script crashes when passing invalid values.
- Videoplayer Plugin - avoid script errors when the posterimage finished loading after removing the videoplayer plugin, the use_as_videopano settings returned null instead of false.
- Maps Plugins - automatically use the HTTPS mapsapi for HTTPs pages.
- Update Tool - support updating xml plugins.
Why still a Pre-Release?
- The WebGL hotspot rendering is still not finished yet.
- The krpano tools are not finished yet.
- Several features and some known bugs (e.g. videopano autorotate, video pano/layer switching) are not finished/fixed yet.
- The krpano webpage, the documentation and the examples are not fully updated yet.
- But beside of this, the pre-release version itself should be stable and ready to use.
Download
Best regards,
Klaus