psychopy.org | Reference | Downloads | Github

Any VR application?


#1

OS: Ubuntu 16.04
Psychopy version: 1.90

Anyone has tried Psychopy in a VR or AR environment? Where should I start? Any tutorial available?

Thank you


#2

I actually have developed modules for using the Oculus Rift CV1 with PsychoPy, allowing for full 3D scenes to be rendered with tracking. I haven’t yet made them publicly available since there is some preliminary work required to incorporate such a massive code base into PsychoPy without breaking everything.

Stay tuned.


#3

Great! Looking forward to, and please keep me (and the psychopy community) informed !!

ty


#4

That’s awesome! I’ve been trying to get any stimulus presentation set up with an Oculus CV1 with OpenHMD, with little luck. Looking forward to a public release – any ETA? Would love to talk to you a bit about what you’ve accomplished there!


#5

Hello,

Interesting you brought this up now since I’ve been working on getting this out ASAP. I updated the bindings to support the most recent version of the Oculus SDK, but I need to put a bit more work into getting the PsychoPy interface to reflect those changes.

At the very least, the extension library for working with the Rift will be released soon as a separate package. If you have any questions, you can private message me them.


#6

That’s awesome: PM’ed!

Looking forward to a release!


#7

Great!! Please keep me (and the Psychopy community) informed. I started using Psychopy just a year ago. I love it. Before that, I used E-prime and customized C# and VB.net. Psychopy is the best. I earnestly hope the Psychopy framework grows and becomes the standard for behavioral and neuroscience studies.

  • takashi

#8

Hello,

I’ve publicly released the source code for a library used to interface with the Oculus Rift (CV1 and DK2) called PsychXR (https://github.com/mdcutone/psychxr). The library is the basis for HMD support being added into PsychoPy. PsychXR just wraps HMD APIs does not provide rendering support, you need to use Pyglet or similar to draw anything. Eventually other APIs may be supported through that library, however there are no plans as of yet (OpenHMD for instance).

I would wait for the PsychoPy support which greatly simplifies using the Rift in your experiments, including 3D stimuli classes and examples. However, if you are writing applications from scratch and can handle OpenGL, you can use PsychXR directly. I’ll be releasing pre-compiled binaries of PsychXR once PsychoPy support rolls out since their development is closely related.


#9

Just a follow-up.

PsychXR is now available on PyPI. Only 64-bit Python 3.6 is supported.


#10

Thank you! takashi