Page 1 of 1

Openvibe and Unity

Posted: Mon Dec 14, 2020 3:23 pm
by arianna
Hi everyone. I am very new to Openvibe and virtual reality, and I'm trying to build a BCI in order to modify a virtual enviroenment in Unity according to the classification output.
To start, I have used the tutorial "rolling ball" that receives an LSL input from unity and moves the ball accordingly to the sinus generated by the box 'sinus oscillator'. I then tried to modify this to use a marker, and not a signal (I tried keyboard stimulation or clock stimulation) but I did'nt manage to import the LSL stream into unity. Does anybody know how to do it? how are markers sent (int, bool, etc)?
Do you think it is better to use the VRPN connection? In case, can anybody give me an example of C# code, in order to import the output of a classifier into unity through VRPN?
I really thank everyone who will help me, these might be easy questions but I am really at the beginning and don't know how to move.
Thaank you a lot.

Re: Openvibe and Unity

Posted: Tue Dec 15, 2020 9:26 am
by Thibaut
Hi,
I have had 2 tutorial games with unity, (one revceive signal and marker, second send signal and marker)
https://gitlab.inria.fr/openvibe/unity-games
And you have in openvbie 3.0.0 the 2 associated boxes.
Thibaut