Skip to content

This project is about trying to generate a stereoscopic view for web-based AR, similar to VR-mode. This allows for an immersive web-AR experience with a headset like the Aryzon.

Notifications You must be signed in to change notification settings

webxrnl/web-ar-stereo-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

web-ar-stereo-view

This project is about trying to generate a stereoscopic view for web-based AR, similar to VR-mode. This allows for an immersive web-AR experience with a headset like the Aryzon or other cardboard.

Stereo camera-feed

There are of course different ways to go about this, but I thought it would be nice to try a 'simple and elegant' solution first: splitting the world up in stereo, before it enters the camera-lens. This can easily be achieved with some mirrors, like in this universal 3D camera lens:

Universal 3D camera lens

3D camera lens in use

These are actually designed to record something in stereo that can later be played back in a VR headset. I've tried this setup and it works! In the Aryzon cardboard headset, the 'real' window to the world needs to be covered though, to see only the stereoscopic camera view. In the normal cardboard, you need to make some modifications to allow for some room for the camera and clip-on.

Stereo rendering of augmented layer

This, I feel, we are doing already with web-VR in VR-mode. I would like to see if it is possible to use this with a transparent background.

Contribute

  1. Fork this project

  2. First navigate to directory you keep your projects and set following temporary environment variables

cd <your-projects>
GITHUB_USERNAME="<github-username>"
PROJECT_NAME="web-ar-stereo-view"
  1. Clone the repo and setup the git remotes
git clone --origin github/"$GITHUB_USERNAME" git@github.com:${GITHUB_USERNAME}/web-ar-stereo-view.git $PROJECT_NAME
  1. Add WebXR NL upstream
cd $PROJECT_NAME
git remote add github/webxrnl git@github.com:webxrnl/web-ar-stereo-view.git
  1. Hack the and open pull request

make your edits

git add -A
git commit -m "your commit message"
git push

Which would make a commit under your fork, Now open https://github.com:${GITHUB_USERNAME}/web-ar-stereo-view in your browser and open pull request.

  1. If you need to update your fork just run
git fetch --all
git rebase github/webxrnl/master
git push

About

This project is about trying to generate a stereoscopic view for web-based AR, similar to VR-mode. This allows for an immersive web-AR experience with a headset like the Aryzon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published