Skip to content

Scene Mode

Pre-release
Pre-release

Choose a tag to compare

@germanalvarez15 germanalvarez15 released this 27 Apr 14:52

This release introduces the new Scene Mode, important resource management improvements, and enhances core AR functionalities.

πŸš€ New Features

  • Scene Mode (mode="scene"):
    • Define 3D scenes directly in HTML using primitive elements like <kitcore-webar-box>, <kitcore-webar-sphere>, <kitcore-webar-cylinder>, and <kitcore-webar-plane>.
    • Initially displays the scene in an interactive 3D viewer with orbit controls.
    • Includes an AR button (auto-generated or custom kitcore-webar-button) to seamlessly transition the entire defined scene into an immersive WebXR AR experience, anchored to your starting position.

✨ Enhancements

  • Improved AR Stability: Refinements to the AR session lifecycle and rendering loop for smoother experiences across all AR modes (Floor, Wall, GPS, Anchors, and Scene).
  • GPS/Anchor Object Handling: Better management and updates for objects in GPS and Anchors modes, including reliable lookatuser behavior.
  • Placement Feedback: More robust hit-testing feedback during object placement in Floor and Wall modes.

πŸ› Fixes

  • Geolocation Cleanup: Implemented proper cleanup for navigator.geolocation.watchPosition instances. Active location watchers started when using enableGPS or enableAnchors are now correctly removed when the <kitcore-webar> component is disconnected from the DOM, preventing potential resource leaks and background activity.