documentation

Release Notes 2.2

Version 2.2.1

Info

Release date: 01.06.2022
Release info: Patch

Documentation Changes

  • Added docu page explaining how to use AR Foundation Remote in combination with VisionLib

Bugfixes

  • Updated settings in provided FFMPEGs meta file to deploy the correct files for Windows applications in Unity
  • Renewed certificate for native UWP examples
  • Fixed compatibility issues with updated versions of ARCore.
  • Deploying for Android from Unity 2019 is now no longer possible and will result in Gradle Build errors.
    • Unity 2020 and above do work.
  • Fixed compatibility issues with ARFoundation, that previously required workarounds including the deletion of .aar files from the plugins folder.
  • Note: Using VisionLibs ARFoundation extension on Android only works with ARFoundation 4.x.

Version 2.2.0

Version Info

Release date: 21.09.2021
Release info: Feature Release

General

This is a minor feature release for VisionLib which:

  • updates external dependencies to remove known vulnerabilities,
  • restructured the API reference (see VisionLib.SDK.Unity),
  • improves performance of internal image processing and
  • adds several bug fixes and enhancements.

Thank you to all our users for giving feedback.

Features

Unity

  • Added SetGlobalObjectPose command for TrackingAnchor.
  • Added a new AddModel function to ModelTracker.cs and corresponding AnchorAddModel function to TrackingAnchor.cs. This function makes it possible to load additional models (model parts) for one tracking target during runtime.
  • The DeviceInfo.Camera class now contains supportsDepthData and supportsSmoothedDepthData variables, which state whether the VisionLib supports the acquisition of (smoothed) depth data with the respective camera.
  • Added possibility to set a rootTransform for a WorkSpace. This is only relevant for ARFoundation and HoloLens scenes using DynamicModelTracking (see Using Models from the Unity Hierarchy) and is automatically determined if the Destination object of the WorkSpace points to a TrackingModel.
  • Added a new SetModelPropertyURI function to ModelTracker.cs and the corresponding AnchorSetModelPropertyURI function to TrackingAnchor.cs. This function makes it possible to load a specific model, which is specified by an uri. This will remove all other models.

Native

  • The JSON object returned by the vlWorker_GetDeviceInfo function now contains supportsDepthData and supportsSmoothedDepthData variables for each object in the availableCameras arrays. This variables state whether the VisionLib supports the acquisition of (smoothed) depth data with the respective camera.
  • Updated external dependencies (curl, Eigen, ffmpeg, libJPEG, libPNG, libTIFF, OpenCV, OpenSSL) to remove known vulnerabilities.
  • Removed external dependencies imagexx, jpegxx and pngxx.

Enhancements / Bugfixes

General

  • Fixed a bug in AutoInit, which lead to an error when trying to learn with an empty WorkSpace.
  • Fixed memory alignment bug in AutoInit on Windows 32 bit versions.
  • Fixed a bug in internal generation of InitData. This might lead to a slightly different behaviour when learning initData during runtime (see Initialization: Fast Init & Re-initialization).
  • Improved speed of some internal image processing functions.

Unity

  • Fixed bug which prevents the orientation overwrite in ScreenOrientationObserver to work correctly.

Interface Changes

General

  • The functions GetRadialDistortion() and SetRadialDistortion() from IntrinsicDataWrapper are deprecated. Please use the GetDistortionParameters() and SetDistortionParameters() instead.

Unity

  • The function SetModelPropertyAsync is obsolete. Please use the specific SetModelPropertyEnabledAsync or SetModelPropertyOccluderAsync function instead.
  • The function AnchorSetModelPropertyAsync is obsolete. Please use the specific AnchorSetModelPropertyEnabledAsync or AnchorSetModelPropertyOccluderAsync function instead.
  • The TrackingState now contains the ratio of successfully learned poses.
  • The function SetInitPose for TrackingAnchor is obsolete. Please use the SetGlobalInitPose instead.

Others

Documentation Changes

  • Fixed a bug in the generation of the documentation for the API and restructured this documentation.