/Virtual-Reality-Projects

VR Projects built with AFrame, React360, Unity

Primary LanguageJavaScript

Virtual Reality

VR Apps Repo - Check out the different folders for code samples and getting started examples

As I learn VR with Javascript and Unity - I will share helpful tips to ease your transition into programming with VR and WebVR.

FYI: If your developing WebVR - You have to use Mozilla Nightly browser - as it will allow you to run the VR app on Vive, Oculus and others. You can enable WebVR on Chrome under chrome://flags - but this didnt work for me. Chromium also supports WebVR - but it had lag issues that Mozilla Nightly didnt have. Sevro browser also is said to support WebVR - but I had installation issues, and Mozilla Nightly worked fine for my needs.

VR Hardware: Vive Pro Processor: AMD Ryzen Threadripper Graphics: GeForce GTX 1080 Ti * 2

playcanvasHello Play Canvas- Javascript

  • Hello World - Exploring the WebVR Potential
  • Example courtesy of Play Canvas GitHub Examples
  • Once loaded on browser - on the bottom right/left you will see headset 0 when no headset is found, it will change automatically to headset 1 when your compatible headset is connected

reactHello React 360- Javascript

  • Demo is a 360 photo viewer using an array of images - you can add more images on client.js
  • Once loaded on browser - on the bottom right/left you will see vr icon - click that to start connection with headset

aframehello A-FRAME- Javascript

  • Demo example courtesy of A-FRAME Docs - checkout their site for lots of getting started examples
  • Once loaded on browser - on the bottom right/left you will see vr icon - click that to start connection with headset

unityHello UNITY- C#

  • TBA