Skip to content

SamsungInternet/WebVR-navigation-demos

Repository files navigation

WebVR Navigation

Demos of WebVR navigation techniques for WebVR 1.1 Spec.

Background

WebVR 1.1 specification supports navigation.

Link Traversal

For those using A-Frame, the A-Frame team have added Link Traversal to navigate from one WebVR page to another WebVR page. Link traversal uses URLs to navigate to new scenes. This means Link Traversal works the in the same way as how current web pages work. No need to manipulate the web history or using URL parameters.

Links (These demos are not implemented in A-frame.) - You can press the "back" or "next" to get to a different scene.

Deep Link

This demo follows Oculus's navigation concept called Deep Linking. The idea is to introduce WebVR to WebVR page navigation while in Webvr presentation mode. The idea utilizes the history API. The history API allows for manipulation of the history and push new "states" to the history stack.

Deep Link demo - You can press the "back" or "next" to get to different scene.

Thanks @Tim Chang, for help during his time (Summer'17) as an intern on my team.

About

WebVR navigation demos from the Samsung Internet Dev team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published