Releases: blippar/webar-sdk-example
Releases · blippar/webar-sdk-example
WebAR SDK v1.7.4
What’s Changed
-
Added new API SetFaceScaleFactor() for face tracking
It configures the scale at which AR objects are displayed relative to the user’s face in a web-based AR experience. -
Fixed a crash when using custom loader
WebAR SDK v1.7.3
What’s New:
- Enhanced UX for PlayCanvas Surface Tracking: We have introduced a new and improved user experience for PlayCanvas Surface tracking, streamlining and enhancing user interactions.
- Lazy-Mode Support for Face Tracking: This update brings lazy-mode support, optimizing face tracking for efficiency and performance.
- WEBARSDK.EnableTrackingOnDesktop() Function: A new function to enable desktop-only tracking specifically for face tracking. This is particularly useful in scenarios like BB, where the app initially starts in lazy-mode and subsequently determines the appropriate tracking mode.
webar-face-pivot
AFrame Attribute: A new attribute that allows an entity to move in sync with the user’s head movements, without rotating with the head. This enhances the realism and interactivity of AR experiences.webar-raycaster
AFrame Attribute: A specialized attribute for improved AR interaction in face-tracking mode. Developers can now use el.addEventListener('click', (evt) => {}) to receive raycast events. This attribute replaces AFrame’s native raycaster and cursor attributes in face tracking mode, addressing compatibility issues with AFrame’s built-in raycaster component in face-tracking scenarios. Our custom raycaster component ensures better performance and reliability.
WebAR SDK v1.7.1-r1
What’s New:
- Added time-based linear interpolation for Gyroscope Data.
- Fixed a rotation issue where, in the absence of ‘webar-ux-control’ or when the stage cursor is disabled by the user, AR objects would rotate with the camera movement.
WebAR SDK v1.7.1
What’s Changed
Enhanced User Experience for Surface Tracking
- New UX for Surface Tracking: Added a ‘safe zone’ that appears once SLAM anchors, allowing users to place objects anywhere using the cursor. Just tap on the screen to place an object.
- Interactive Animations & Cues: Introduced animations and visual cues to further enhance the user experience during interaction.
Model Interaction Improvements
- Pinch to Zoom: Implemented pinch-to-zoom functionality to allow users to zoom in and out for a better model viewing experience.
- Swipe to Rotate: Added the ability to rotate the model by swiping, making it easier to adjust the model’s orientation.
Enabling New UX Experience
- New APIs:
- SetARModelPlaceCallback(callback): Assigns a callback to execute after an AR model is placed within the scene, enabling custom post-placement interactions.
- SetResetButtonCallback(callback): Links a custom callback to the reset button’s action for customized reset logic. Requires webar-ux-control with stageCursorUX: true.
- SetResetButtonVisibility(isVisible): Controls the reset button’s visibility within the AR interface, allowing for UI customization.
SDK Configuration Properties
- rotation-speed: Controls the sensitivity of the AR object’s rotation in response to user gestures. Accepts values greater than 0 and less than 1.
- gesture-scale-max: Sets the maximum scale factor for enlarging an AR object using pinch gestures.
- gesture-scale-min: Sets the minimum scale factor for reducing an AR object’s size in a single pinch gesture.
- hide-reset-button: Optionally hides the reset button from the UI, active only when webar-ux-control with stageCursorUX: true is configured.
General Implementation Note
- Dependency on webar-ux-control: All new functionalities—including callbacks, visibility controls, and interactive attributes—require a properly configured webar-ux-control. This is essential for activating the full range of UX and interactive features in both A-Frame and Babylon.js environments.
For more detailed implementation guidance and best practices, please refer to our WebAR SDK v1.7.1 Documentation.
WebAR SDK v1.5.1
What’s new
- Fixed: An issue affecting iOS users with the latest version.
WebAR SDK v1.5.0
Release Notes - WebAR SDK v1.5.0
What’s new
- Fixed: Wide angle camera issue on some devices.
- Fixed: Delayed or sometimes stuck loading screen.
- Added an example server settings file in a .vscode folder for ease of use.
WebAR SDK v1.4.9
Release Notes - WebAR SDK v1.4.9
- Improved marker tracking experience
- Small bug fixes
WebAR SDK v1.4.8
What’s new
Enabled these APIs for Surface Tracking:
- GetCurrentPose()
- GetCurrentPosition()
- GetCurrentRotation()
- GetCurrentScale()
Fixes
AFrame: Removed THREEJS dependency while constructing the pipeline, which enables developers to add ReactJs & VueJS examples for AFrame
WebAR SDK v1.4.7
Release Notes - WebAR SDK v1.4.7
- Added new APIs:
- SetAutoScale()
- GetCurrentPosition()
- GetCurrentRotation()
- GetCurrentScale()
- Fixed marker tracking scaling issues
- Some internal bug fixes
Note: DisableAutoScale() is deprecated.
WebAR SDK v1.4.4
Patch Release - WebAR SDK v1.4.4
- Fixed PlayCanvas launcher issue
- Restructured folders for sdk
- Fixed a fade out event for default loader