Skip to content

Add VR client functionality: Implement app.js for the VR client, including WebSocket connection handling, scene setup with Three.js, and basic event listeners for VR interaction. This file lays the groundwork for character mode selection and input handl#46

Merged
skim0119 merged 2 commits intometa2quest-integrationfrom
app-setting
Apr 15, 2026

Conversation

@skim0119
Copy link
Copy Markdown
Collaborator

@skim0119 skim0119 commented Apr 12, 2026

Add VR client functionality

Implement app.js for the VR client, including WebSocket connection handling, scene setup with Three.js, and basic event listeners for VR interaction. This file establishes the foundation for character mode selection and input handling in the virtual reality environment.

Add initial VR client files: Create index.html for the VR interface with styled panels for character selection and connection status, and modes_registry.js defining available character modes (demo-spline, two-cr, two-gcr, noel-c4).

The implementation includes:

  • Three.js scene initialization with hemisphere lighting and grid helper
  • WebXR support with VR button integration
  • WebSocket client for server communication with JSON message protocol
  • Calibration offset support via URL parameters
  • Mouse and keyboard event handlers for desktop mode
  • Character mode selection dropdown populated from registry
  • Pointer lock functionality for immersive desktop interaction

…cluding WebSocket connection handling, scene setup with Three.js, and basic event listeners for VR interaction. This file lays the groundwork for character mode selection and input handling in the virtual reality environment.
@graphite-app graphite-app Bot changed the base branch from graphite-base/46 to meta2quest-integration April 15, 2026 01:50
… and `modes_registry.js` for character mode definitions.
Copy link
Copy Markdown
Collaborator Author

skim0119 commented Apr 15, 2026

Merge activity

  • Apr 15, 1:56 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 15, 1:56 AM UTC: @skim0119 merged this pull request with Graphite.

@skim0119 skim0119 merged commit 7456271 into meta2quest-integration Apr 15, 2026
1 check passed
@skim0119 skim0119 deleted the app-setting branch April 15, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant