Real-time affect detection in virtual reality: a technique based on a three-dimensional model of affect and EEG signals