$30 off During Our Annual Pro Sale. View Details »

How to start making a VR application with Unity

Toru Eguchi
December 01, 2018

How to start making a VR application with Unity

Toru Eguchi

December 01, 2018
Tweet

More Decks by Toru Eguchi

Other Decks in Technology

Transcript

  1. How to start making a VR application with Unity. 2018/12/01

    Toru Eguchi
  2. Who I am • Researched VR for my master thesis

    Photo? • Code Chrysalis student Love new technologies ! • Joined KDDI as a server engineer (GCP, AWS) • Lunch master
  3. I was a VR researcher…. If elderly can actively run

    in VR, what happens ??
  4. Put on VR device and motion capture…..

  5. About 2 months ago...

  6. Have you ever used VR ? No No No No

  7. Why not talk about VR ??

  8. Contents • What is VR ? • What are the

    qualities of VR ? • How to start making a VR app from today ??
  9. None
  10. What is Virtual Reality ? Something Funny ? Dystopia ?

  11. Virtual Reality VR is an interactive computed-generated environment taking place

    within computer-environment Digital Info : Real Info 9 : 1
  12. Augmented Reality ? AR is an interactive experience of real

    world where the experience is augmented by computer-generated information 1 : 9 Digital Info : Real Info
  13. How about Mixed Reality ?

  14. MR is between VR and AR Microsoft HoloLens

  15. It’s a spectrum ! VR AR

  16. None
  17. What are the qualities of VR ?

  18. 1. Immersion Dive into a different world

  19. 2D VR < 3D < 1. Immersion

  20. Use Case : Entertainment I’m playing a game. I’m playing

    a game. I’m shooting a gun !
  21. Use Case : Travel

  22. I want to see the Grand Canyon. But it’s expensive...

  23. A picture is not enough to describe..

  24. 2. Makes everything possible with low cost Because VR runs

    on computers, you can do anything.
  25. Use Case : Medical Training

  26. Use Case : Interior Design

  27. None
  28. VR, AR, MR. VR AR

  29. Qualities of VR 1. Immersion 2. Makes everything possible

  30. How to start making a VR app..

  31. You can start it from today !

  32. Let’s make an action game with Cardboard ! Implement it

    with Cardboard $10
  33. Three steps to make a VR app 1. Setup a

    dev environment 2. Special configuration of VR in unity 3. Design tips of VR apps.
  34. Setup a dev environment !

  35. Game Engine It’s software which has many components you need

    when you make a game. • Originally for indivisual developers • For consumer games • Good at mobile apps. • Nice graphics • Covers many VR hardwares
  36. None
  37. What you need to prepare….. • Java Development Kit •

    Android SDK • Google VR SDK • Google CardBoard • USB debug mode for Android
  38. Special Configuration of VR for Unity !

  39. Create New Project ! • Launch Unity.

  40. What does VR support mean ? • Auto VR Rendering

    to Head Mount Display (HMD) • Auto Head Tracking ◦ Get Sensor information from smartphone ◦ Reflect it to Camera
  41. Finish Configuration of VR settings in Unity

  42. None
  43. How to speed up your development ?

  44. Please use public assets ! Asset Store sells many components

    (e.g, 3D model, material) • Dungeon Creator Kit LITE • FantasyMonster • SkyBox Volume 2 (DSBWP)
  45. Google VR SDK for Unity ! It contains - Editor

    emulator for unity - Gaze cursor and Gaze input system • Download GVR SDK ! https://developers.google.com/vr/develop/unity/download
  46. Make the VR Emulator ! • With the emulator, you

    can simulate user input in Unity Editor • Make Camera Container ◦ Make an Empty Object ◦ Move Main_Camera and GvrEditorEmulator as children of Camera_Container
  47. If you add character animations, game system, 3D effects

  48. 1. Avoid motion sickness ! 2. Make user feel familiar

    with VR ! 3. Make user look around ! Three design tips to make a VR app
  49. VR easily causes motion sickness….

  50. Why motion sickness happens ?

  51. Mismatches between physical and visual cues Eyes: Goes right !

    Body: Doesn’t move....
  52. How to avoid motion sickness ?

  53. Never Stop Head Tracking ! If you freeze head tracking

    one second….
  54. Please be careful of smartphone performance ! Smartphone doesn’t have

    super power….
  55. Bad Case ! • Instantiate many objects. • Do not

    destroy objects in proper timing. Let’s see a quick demo !
  56. Good Case ! • Instantiate the proper number of objects.

    • Destroy unnecessary objects in proper timing.
  57. Please use constant velocity ! Roller coaster is normally horrible

    ! acceleration deceleration
  58. How do you move in VR ??

  59. 2 Solutions Stop user’s motion Use teleport

  60. 1. Never stop a head tracking ! 2. Make user

    feel familiar with VR ! 3. Make user look back ! Three Design Tips to make a VR App
  61. Does not feel familiar with VR

  62. How to make user feel familiar with VR ?

  63. Do not start an app automatically ! 1. Make a

    welcome scene. 2. Allow the user start the app. Quick demo !
  64. Give feedback if a user does something!

  65. 1. Never stop a head tracking ! 2. Make user

    feel familiar with VR ! 3. Make user look around ! Three Design Tips to make a VR App
  66. It’s time to make the app fun !

  67. None
  68. If you start making a VR application today

  69. None
  70. Thank you ! ID: egurinko https://github.com/egurinko Photo? ID: Toru Eguchi

  71. References • https://vr.google.com/intl/en_uk/cardboard/developers/ • https://docs.unity3d.com/Manual/android-sdksetup.html • https://developer.oculus.com/ • https://en.wikipedia.org/wiki/Virtual_reality