Examining Optical Illusions in VR
Total Page:16
File Type:pdf, Size:1020Kb
MASARYK UNIVERSITY FACULTY OF INFORMATICS Examining Optical Illusions in VR MASTER’S THESIS Roman Gluszny Brno, 2018 Declaration I hereby declare that this thesis is a presentation of my original research work and that no other sources were used other than what is cited. I furthermore declare that wherever contributions of others are involved, this contribution is indicated, clearly acknowledged and due reference is given to the author and source. Brno 9.12. 2018 Supervisor: Fotis Liarokapis, Ph.D. ii Acknowledgment I want to express big thanks to my supervisor Fotis Liarokapis, Ph.D. for his professional guidance and support on this work. Another great thanks to RNDr. Filip Škola for teaching me the basics of electroencephalography recording and evaluation. Finally, I thank my family for their enduring support and to all my friends who helped me with the participation in the experiment. iii Abstract: The aim of this thesis was to examine optical illusions in three-dimensional space and the way they are perceived by human’s brain. In the beginning, a Unity application with several scenes was created, after which a user-study with 30 healthy participants took place using EEG device to collect data from brain waves. Received neurofeedback was subsequently analyzed to find possible correlations in reception using different media such as computer screen and virtual reality, and to determine scope and nature of changes on brain wave frequencies between different intervals while perceiving the illusions. Keywords: optical illusions, virtual reality, electroencephalography, oscillatory patterns, brain-computer interfaced, iv Table of Contents List of Figures ......................................................................................................................... viii 1 Introduction ......................................................................................................................... 1 2 Optical Illusions .................................................................................................................. 3 2.1 Introduction to visual illusions .................................................................................... 3 2.1.1 Physical illusions .................................................................................................. 3 2.1.2 Physiological illusions .......................................................................................... 3 2.1.3 Cognitive illusions ................................................................................................ 3 2.2 The Eye ........................................................................................................................ 4 2.2.1 Structure ............................................................................................................... 5 2.2.2 Vision ................................................................................................................... 5 2.3 3D optical illusions ...................................................................................................... 6 2.3.1. Ambiguous cylinders ............................................................................................ 6 2.3.2 Ames room ........................................................................................................... 7 2.3.3 Magnetic slopes .................................................................................................... 8 2.3.4 Following eyes ..................................................................................................... 9 2.3.5 Rubin’s vase ambiguous figure ............................................................................ 9 2.3.6 Penrose triangle .................................................................................................. 10 2.3.7 Ambiguous sculptures ........................................................................................ 11 3 Brain-Computer Interfaces ................................................................................................ 12 3.1 Significance of BCI ................................................................................................... 12 3.2 BCI Classification...................................................................................................... 13 3.3 EEG ........................................................................................................................... 13 3.3.1 Noise and Artifacts ............................................................................................. 15 3.4 Brain Waves .............................................................................................................. 16 3.4.1 Alpha waves ....................................................................................................... 16 3.4.2 Beta waves .......................................................................................................... 16 v 3.4.3 Gamma waves .................................................................................................... 16 3.4.4 Delta waves ........................................................................................................ 16 3.4.5 Theta waves ........................................................................................................ 17 3.6 Enobio ........................................................................................................................ 17 4 Virtual Reality ................................................................................................................... 19 4.1 Introduction to VR ..................................................................................................... 19 4.2 Brief history of VR .................................................................................................... 20 4.3 Visualization in VR ................................................................................................... 22 4.4 HTC Vive .................................................................................................................. 23 4.5 Unity .......................................................................................................................... 23 5 Implementation ................................................................................................................. 25 5.1 Analysis and Design .................................................................................................. 25 5.2 Scene Implementation ............................................................................................... 26 5.2.1 Scene 1: Ambiguous Cylinders .......................................................................... 26 5.2.2 Scene 2: Ames Room ......................................................................................... 26 5.2.3 Scene 3: Following Eyes .................................................................................... 27 5.2.4 Scene 4: Magnetic Slopes .................................................................................. 27 5.2.5 Scene 5: Ambiguous Statues .............................................................................. 27 5.2.6 Scene 6: Impossible Objects .............................................................................. 28 5.2.7 Scene 7: Ambiguous Shapes .............................................................................. 28 5.3 Used Assets..................................................................................................................... 28 5.4 Technical Solution ..................................................................................................... 28 5.3.1 VR build vs FPS build ........................................................................................ 30 6 User Study ......................................................................................................................... 31 6.1 Testing Stages ............................................................................................................ 31 6.1.1 Setup ................................................................................................................... 31 6.1.2 EEG recording .................................................................................................... 32 vi 6.1.3 Receiving feedback ............................................................................................ 32 7 Data Analysis Result ......................................................................................................... 34 7.1 Demographics ............................................................................................................ 34 7.2 Qualitative Feedback ................................................................................................. 34 7.3 NASA TLX................................................................................................................ 35 7.4 Scene rating ............................................................................................................... 36 7.5 EEG data .................................................................................................................... 37 7.5.1 Expected results .................................................................................................. 37 7.5.2 Preprocessing ..................................................................................................... 37 7.5.3 Ambiguous cylinders .........................................................................................