Skip to content

Example slideshow to render stereoscopic side-by-side images in 3D using a VR headset

License

Notifications You must be signed in to change notification settings

Shawireland/stereoscopic-slideshow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stereoscopic slideshow

This repo demonstrates how a slideshow can be created to render stereoscopic side-by-side images in 3D using a VR headset. It uses A-frame and specifically aframe-stereo-component as building blocks.

The SPA loads a set of side-by-side images in JPS (JPEG Stereo) format from a web server which are displayed as 2D thumbnails in the page. Clicking one of the images launches the slideshow in immersive VR using the browser's WebXR API and displays the selected image in the slideshow UI.

VR headsets with stereo displays will render each half of the side-by-side image to the relevant eye, so it appears to the viewer in stereoscopic 3D. The slideshow UI has buttons to load the next/previous image in the set and move the UI closer or further away. The controllers for the various VR headsets supported by A-frame are wired up so they can also be used to operate the slideshow controls.

The slideshow will still work on devices without immersive VR support by the images will be rendered in 2D.

Demo

You can view the slideshow demo here: https://dpa99c.github.io/stereoscopic-slideshow/

Screenshots

About

Example slideshow to render stereoscopic side-by-side images in 3D using a VR headset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.2%
  • HTML 14.4%
  • SCSS 1.4%