https://github.com/workingdog/webvrtest
WebVR Cesium test
https://github.com/workingdog/webvrtest
Last synced: 5 months ago
JSON representation
WebVR Cesium test
- Host: GitHub
- URL: https://github.com/workingdog/webvrtest
- Owner: workingDog
- Created: 2016-09-23T08:54:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-23T09:01:13.000Z (over 9 years ago)
- Last Synced: 2025-05-31T14:29:04.236Z (about 1 year ago)
- Language: HTML
- Size: 2.93 KB
- Stars: 3
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebVR with Cesium.js and milsymbol.js
This is based on the Cesium Cardboard example to respond to a VR device orientation.
The [WebVR](https://w3c.github.io/webvr/) API provides purpose-built interfaces to VR hardware
to allow developers to build compelling, comfortable VR experiences.
[Cesium](http://cesiumjs.org/) is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
[milsymbol.js](https://github.com/spatialillusions/milsymbol) is a library in pure JavaScript that creates SVG symbols according to MIL-STD-2525C,
MIL-STD-2525D and NATO STANAG APP6(b).
## Usage
Install [Cesium](http://cesiumjs.org/) version 1.25 or greater.
Download [milsymbol.js](https://github.com/spatialillusions/milsymbol/tree/master/dist) and put it in the
"Cesium/Apps" directory.
Put this file "testwebvr.html" also in the "Cesium/Apps" directory.
Connect your VR headset to your computer.
Launch Cesium (node server.js).
Point your browser to http://localhost:8080/Apps/testwebvr.html
Push the VR button on the bottom right corner to go into VR mode.
Move your head around Sydney Australia.
I don't have a VR device, so let me know if this works.