OpenVR for Processing (Virtual Reality)

Hello,

This is David, an undergraduate Computer Engineer student from Hungary.

I first got to know Processing while programming Arduinos and recently rediscovered it for writing 3D programs. It grabbed my attention how easy it is to write programs without all the hassle around OpenGL.

I’m teaching a high school class 3D graphics and I’m using Processing to lower the barrier of entry for them: https://dawars.me/3d-graphics/

I would like to make it possible for them and for others to view their programs in Virtual Reality. As I was browsing the forum I came across requests for this functionality from as far back as the Oculus DK1.

OpenVR is compatible with all of the major VR headsets as far as I know, making it a good choice for integration.

I already created a proof of concept as well as an updated version of JOpenVR: https://github.com/Dawars/openvr-for-processing

During the program I would like to create a drop-in replacement renderer for VR based on my proof of concept and make it into an easy-to-use library with examples.

What do you think?

Comments

  • Hi David, thanks for your interest in contributing to Processing during Summer of Code, and for sharing your work on the VR library, looks great!

    One comment I'd like to make is that we have a VR library as part of the core in Processing for Android, so perhaps would be a good idea to make sure that the APIs of the VR libraries both in the Java and Android modes are consistent so it is easier to move VR code back and forth between Android (cardboard/daydream) and VR systems for PC like the Oculus or the Vive.

Sign In or Register to comment.