Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Repository files navigation

Archived: This project has been archived. Future development has moved to the NPM package for better package management: @multisetai/vps

Multiset WebXR SDK

This project is a sample WebXR application that demonstrates AR localization using the Multiset VPS API. It uses React, Three.js, and Vite, and supports AR sessions in compatible browsers.

Features

  • WebXR AR session with camera access
  • Real-time localization using Multiset VPS API
  • Visualization of pose results with 3D gizmo and axes
  • Uses Three.js for rendering and model loading
  • Tailwind CSS for styling

Getting Started

1. Clone the repository

git clone <repo-url>
cd multiset-webxr-sdk

2. Install dependencies

npm install

3. Configure API Credentials

Edit src/config.ts and set your CLIENT_ID, CLIENT_SECRET, and CODE:

export const CLIENT_ID = "YOUR_CLIENT_ID";
export const CLIENT_SECRET = "YOUR_CLIENT_SECRET";
export const CURRENT_MAP_TYPE = "map" || "map-set";
export const CODE = "MapCode/MapsetCode";

4. Start the development server

npm run dev -- --host

Open the printed URL in a browser that supports WebXR (e.g., Chrome for Android).

Project Structure

Scripts

  • npm run dev — Start development server with Vite
  • npm run build — Build for production
  • npm run preview — Preview production build
  • npm run lint — Lint the codebase

Notes

  • Requires HTTPS for WebXR camera access (Vite dev server is configured for HTTPS).
  • The Draco decoder files are included in public/draco/.
  • Tested with Chrome on Android.

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages