It’s been a little while since I had time to play around with WebVR, and when my flight back to the West coast was delayed 45 minutes, I figured I’d use the time to upgrade after Boris Smus, the author of the WebVR Boilerplate code, tweeted about the updates. To my pleasant surprise, upgrading my little space photo app took about 15 minutes – and I figured I’d share!
- Grab the latest version of the webvr-boilerplate code from GitHub.
- Copy over the new file directories. For me, this was asset_src, a new folder that I didn’t originally have in the version of the boilerplate that I was using previously. I skipped the content_images folder, since my index.html has its own content and didn’t have any dependencies here.
- Update the existing file directories by replacing the contents with the newer versions of the files in them – for me, this was /build, /src, and /test.
Short, simple, and to the point! If you’ve modified the existing files in your own project, you’ll likely have a few more things to play with, but for the simple apps I’ve built, upgrading has been incredibly simple!
I’ve got a couple ideas up my sleeve to work on over the next couple of months with WebVR, and I’m excited to try out a few of my own pages in the new Samsung GearVR web browser – stay tuned for results!