Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tutorial: Getting Started With The Looking Glass & Leap Motion

Tutorial: Getting Started With The Looking Glass & Leap Motion

357c9e58ecce2865f9eb748192e5143f?s=128

TakashiYoshinaga

January 15, 2019
Tweet

More Decks by TakashiYoshinaga

Other Decks in Technology

Transcript

  1. Looking Glass & Leap Motion Tutorial: Getting Started With the

  2. Download Leap Motion SDK (DL & Install) https://developer.leapmotion.com/windows-vr Unity Assets

    for Leap Motion Orion Beta https://developer.leapmotion.com/unity/#5436356 Leap Motion Interaction Engine (1.2.0) https://developer-archive.leapmotion.com/downloads/ external/interaction-engine/windows?version=1.2.0 HoloPlay SDK https://lookingglassfactory.com/downloads/ holoplay-sdk-looking-glass/ Sample Object for This Tutorial http://arfukuoka.lolipop.jp/lookingglass/ LookingRoom.unitypackage
  3. Goal of The Tutorial https://youtu.be/wy_TTPNCUc0

  4. It is NOT necessary to connect the Looking Glass to

    the PC yet
  5. Create New Project of Unity New

  6. Create New Project of Unity Select 3D Create project Project

    Name Save Directory
  7. Learning! Basic Operation of Unity

  8. Role of Each Tab 3D Designer of Game World

  9. Putting a 3D Object ①Right Click ②3D Object ③Cube

  10. Putting a 3D Object Cube appeared

  11. Run a Applicaton View of the camera Click Play Button

    Click to stop Don’t forget stopping it before you back to edit.
  12. Modification of Object’s Transform Select Move Rotate Scale

  13. Changing View Point in Scene Tab [←] [→] Move to

    Left/Right [↑][↓] Zoom In/Out [Alt]+Drag Rotate View +Drag Moving with cursor
  14. Modification of the Cube’s Position & Size Click the cube

    Set Position to0 0 0 Set All Scale to1.5 Inspector
  15. Modification of Cube’s Color ②Right Click ③Create ④Material ①Assets

  16. Modification of Cube’s Color New Material appeared

  17. Modification of Cube’s Color ①Right click Cube ②Mesh Renderer ③Open

    Material
  18. Modification of Cube’s Color Drag & Drop New Material into

    Element0
  19. Modification of Cube’s Color ①Open New Material ②Click□next to Albedo

    Choose the color as you like ※please avoid blue
  20. Modification of Cube’s Color Color is changed

  21. Install Looking Glass SDK ①Assets ②Import Package ②Custom Package

  22. Instalation of Looking Glass SDK ①HoloPlay-SDK-0.1.4.unitypackage ②Open

  23. Instalation of Looking Glass SDK ①Import ②Apply Changes ②Close

  24. Setting up Camera for Looking Glass Delete Main Camera

  25. Setting up Camera for Looking Glass ①HoloPlay ②HoloPlay Capture Drag&Drop

    into Hierarchy
  26. Setting up Camera for Looking Glass Boundary of LookingGlass

  27. Run & Confirm Play Don’t forget to stop running the

    content before you see the next page.
  28. Run Content on Looking Glass Connect LookingGlass with PC

  29. Run Content on Looking Glass Settings Right

  30. Run Content on Looking Glass ①Toggle Preview ②Play

  31. Run & Confirm Don’t forget to stop running the content

    before you see the next page.
  32. Use Leap Motion Connect Leap Motion with PC

  33. Temporarily Hiding the Cube ①Click Cube ②Turn Off

  34. Temporarily Hiding the Cube Cube disappeared

  35. Installation of Leap Motion SDK ①Assets ②Import Package ②Custom Package

  36. Installation of Leap Motion SDK ①Leap_ Motion_ Core_ Assets… ②Open

    ③Import
  37. Making Object to Manage Leap Motion ①Right Click ②Create Empty

  38. Making Object to Manage Leap Motion ①GameObject ②Change its name

    to LeapRig
  39. Making Object to Manage Leap Motion ①LeapMotion→Core→Prefabs Drag&Drop into LeapRig

    ②LeapHandController
  40. Making Object to Manage Leap Motion LeapHandController should be added

    as child object of LeapRig
  41. Adding Hand Objects ②CapsulHandRight&Left ①LeapMotion→Core→Prefabs→HandModelsNonHuman Drag&Drop into LeapRig

  42. Adding Hand Objects CapsuleHands should be added as child object

    of LeapRig
  43. Modification of Parameters ①LeapHandController ②LeapServiceProvider ③Desktop Mode A

  44. Modification of Parameters ①LeapHandController ②Hand Model Manager ③Open Model Pool

    ④Input 1
  45. Modification of Parameters ②Open Element0

  46. Modification of Parameters ①Drag&Drop Capsule Hand Left/Right into Left/Right Model

    ②Check ”Is Enable”
  47. Check ②Hands are shown after you zoom up scene window

    ①Double Click LeapRig
  48. Run & Confirm ①Play ②Hand motion is visualized Notice: You

    might not see hand model in Loking Glass because These models are very smaller than this device.
  49. Before go to next... Stop

  50. Modification of View Point of Scene Double Click HoloPlay Camera

  51. Modification of View Point of Scene ①Click X or Z

    axis ②You can see front view of wire frame
  52. Modification of View Point of Scene Make view point being

    close to wireframe You can simulate the relationship between your eyes and Looking Glass in Unity Editor.
  53. Modification of Hand’s Positon/Scale ①LeapRig ②Position(0,-7,-10) Scale (34,34,34)

  54. Run & Confirm Play Don’t forget to stop running the

    content before you see the next page.
  55. Making Arms Invisible ①Capsule Hand Left ②Turn off ShowArm

  56. Making Arms Invisible ①Capsule Hand Left ②Turn off ShowArm

  57. Run & Confirm ①Play ②Arms are disappeared

  58. Making Cube Visible Again ①Cube ②Turn On

  59. Run & Confirm ①Play ②Cannot interact with Cube yet

  60. Installation of Interaction Engine ①Assets ②Import Package ③Custom Package

  61. Installation of Interaction Engine ①Leap _ Motion _ Interaction _

    Engine・・・ ②Open
  62. Using InteractionEngine ①LeapMotion→Modules→InteractionEngine→Prefab ②InteractionManager ③Drag&Drop into LeapRig

  63. Enable Interaction between Cube and Hands ①Cube ②Add Component

  64. Enable Interaction between Cube and Hands ①Search with the Keyword

    “Interaction” ②Interaction Behaviour
  65. Enable Interaction between Cube and Hands ①Cube ②Auto-Fix

  66. Run & Confirm Play Cube will fall down and you

    can receive it by hands
  67. Check Auto-Fix

  68. Before go to next... Stop

  69. Putting a Boundary Box ①Assets ②Import Package ③Custom Package

  70. Putting a Boundary Box ①LookingRoom ②Open

  71. Putting a Boundary Box ①Assets ②Room ③Drag&Drop into Hierarchy

  72. Run & Confirm Play You can interact with the cube

    inside the boundary box.
  73. Before go to next... Stop

  74. Modification of Bounciness ②Right Click ③Create ④PhysicMaterial ①Assets

  75. Modification of Bounciness ①New Physic Material ②Set Bounciness to 1

  76. Modification of Bounciness ③New Physic Material ②BoxCollider ④Drag&Drop into Material

    ①Cube
  77. Duplication of Cube ①Right Click ②Create Empty

  78. Duplication of Cube ①GameObject ②Change its name to Cubes

  79. Duplication of Cube Drag&Drop Cube into Cubes

  80. Duplication of Cube ①Select Cube & Ctrl+D

  81. Duplication of Cube ①Cube(1) ②Modify its position

  82. Duplication of Cube Increase Cube with the same procedure

  83. Duplication of Cube

  84. Modification of Gravity ①Edit ②Project Settings ③Physics

  85. Modify Gravity Y=-0.2

  86. Complete!!

  87. Any Question? Please contact me! Takashi Yoshinaga @Tks_Yoshinaga

  88. Thanks! Gracias!