Git Product home page Git Product logo

virtual_reality's Introduction

Virtual Reality Environment

Blender code for a virtual reality environment implementing a basic Two-Alternative Forced Choice task.

The environment is designed to be displayed in 3 monitors, thus providing a more realistic experience to the subject.

A triangle and a semi-circle are randomply displayed on the left and right of the front wall.

The subject has to move (with the mouse or keyboard arrows) along the corridor towards the rewarded shape (the semi-circle by default).

alt tag

Prerequisites

  • Blender 2.79.

Installing

Just download the repository and a Blender version lower than 2.8 (which does not support the game engine).

Details

All relevant parameters are specified via the VRparams.txt stored in the folder corresponding to the sobject.

The present code implements the most basic instance of the protocol, and so some of the parameters (e.g. texture) or scripts (e.g. to control the water pump) are not necessary. [the serial module (necessary to control e.g. the pump) is actually not imported because it requires some extra dependencies]

The only change that will be required for the the environment to run is to update the folder property associated to the MOUSE object, and potentially the name of the subiect (mouse_id).

After pressing P, a black screen will be shown and the user will be able to start the training pressing X.

alt tag

Authors

virtual_reality's People

Contributors

manuelmolano avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.