Posts

Showing posts with the label Unity tutorials

Unity tutorials - sound in VR

 https://learn.unity.com/tutorial/unit-7-sound-in-vr?uv=2018.4&courseId=5d955b5dedbc2a319caab9a0#5da89cffedbc2a03c51594e5 Add Oculus Spatializer Plugin Binaural Synthesis - uses a head-related transfer function (HRTF), which accurately simulates how sound arrives at the ears, including the delay between them and appropriate frequency filtering Spatial audio is critical to VR as it reinforces the visuals, helps fill out parts of the world that lie outside the field of view Open the Escape Room vertical slice Edit>ProjectSettings>Audio>SpatializePlugin set to 'OculusSpatializer'. Set DSP Buffer Size to 'Best Latency'. Default speaker mode>Stereo Add a sound to the scene by creating an empty game object and adding an audio source to it Create three empty game objects Select object>add component>AudioSource>Duplicate Game object three times Rename first object 'TeleportSound'>Search for audio file (in this case Escape Room, Audio) drag te...

Unity tutorials - hand presence and interaction in VR

Image
 https://learn.unity.com/tutorial/unit-5-hand-presence-and-interaction/?courseId=5d955b5dedbc2a319caab9a0&tab=overview&uv=2018.4#5d955988edbc2a23122a1e7d Create hands in VR Search CustomHandLeft and Right. Drag Left onto TrackedAlias>LeftControllerAlias and the same for the right. Look at the inspector for CustomHandLeft. Two scripts are visible. Retain enable for Hand Script. Disable 'OVR grabber' as the VRTK is going to do the grabbing Cubes are no longer required. Do not delete, just disable by unchecking mesh renderer in the inspector These hands are not in the right layer. VRTK will cast rays for the locomotion created in the locomotion and ergonomics tutorials. These rays will hit the hands and we will not be able to teleport anywhere. Select hand>inspector>layer>ignore raycast>yes to change children prompt Save Test in VR Recording below When creating custom hands, make sure that your virtual hands align correctly with real-world hands. This is kno...

Unity tutorials _ Locomotion and Ergonomics

Image
 https://learn.unity.com/tutorial/unit-4-locomotion-and-ergonomics/?courseId=5d955b5dedbc2a319caab9a0&tab=overview&uv=2018.4#5d955977edbc2a001f0ea3ea Locomotion or how we move is one of the core design features Users need to remain comfortable during the experiences.  Individual preferences vary quite a bit Recommended supporting all types of locomotion, so people can choose Physical Movement Movement in VR that matches the physical movement, provides the most comfortable experience because there is no mismatch of senses that could trigger discomfort Comes with some limitations - room size. Design for a small room, or limited mobility Choose a mechanic that supports the design and considers all the types of users Scripted movement and Avatar Movement Scripted - the perspective moves along a predefined path of motion. Often considered difficult. Use sparingly if at all. Vection - the sensation of movement of the body in space produced purely by visual stimulation Avata...

Using Unity to Develop VR experiences -OVR camera

Image
 https://learn.unity.com/tutorial/unit-3-using-unity-to-develop-vr-experiences?uv=2018.4&courseId=5d955b5dedbc2a319caab9a0#5d95596dedbc2a06804dd48e https://learn.unity.com/tutorial/unit-3-using-unity-to-develop-vr-experiences?uv=2018.4&courseId=5d955b5dedbc2a319caab9a0#5d967d9cedbc2a2d9fcf75c0 VRTK - updated in Github  https://github.com/xrsutd/Getting-Started-With-VRTK. Has to be added manually in code. Create Unity project using 2018.4.28 LTS (for the purposes of the tutorial) Download Oculus Integration from the Asset store Package manager Oculus desktop Navigate through explorer to the project packages file. Right click and open 'manifest' text file Copy paste this under the first {add: "scopedRegistries": [  {  "name": "npmjs",  "url": "https://registry.npmjs.org/",  "scopes": [  "io.extendreality"  ]  }  ], add the following entries to the dependencies section  "io.extendreality.vrtk.prefab...

Unity tutorials - Pre-production

Image
Now in pre-production and about to dive in to create the world, I've been following Unity tutorials about creating a VR experience. https://learn.unity.com/tutorial/unit-1-design-develop-and-deploy-for-vr?uv=2018.4&courseId=5d955b5dedbc2a319caab9a0#5d955a53edbc2a001f0ea3ff Notes: For many experiences, sounds are more important than the visuals in selling the believability of the experience Asset optimisation is crucial The magic is not about the headset - it's about the worlds you create Quality is first Cristiano Ferriera - tools used in Oculus to evaluate performance evaluation Pre-Production Nail down ideation Resources intended to use Art references Mind-mapping Making forced connections - randomly pair nouns or adjectives  http://creativityforyou.com/combomaker.html How to find an audience for your idea Passive experiences Interactive experiences Make the most of the technology you have Make sure the interactions are solid and fun Oculus rift want to feel immersed and ...