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

【Unity道場 京都スペシャル】 VRのアレコレ

unitydojo
November 05, 2016
1k

【Unity道場 京都スペシャル】 VRのアレコレ

unitydojo

November 05, 2016
Tweet

Transcript

  1. CLOUD CREATIVE STUDIOS • 2011೥2݄ઃཱ • 2016೥3݄ʮDEAD CITYʯϦϦʔε • 2016೥8݄ʮͶ͜ͼʙͱ♪ʯϦϦʔε • Unity ʹΑΔ࣍ظεϚϗ޲͚λΠτϧ΋Ӷҙ੍࡞தʂ • ΋ͪΖΜ

    VR ޲͚ͷλΠτϧ΋ Unity Ͱ࡞͍ͬͯ·͢ɻ • PlayStation4 / XboxOne ͳͲͷϋΠΤϯυ΋ɻ •  NARUTO •  δϣδϣͷحົͳ๯ݥ • http://cloud-creative-studios.com CLOUD CREATIVE STUDIOS, INC.
  2. KYOTO GAME DEVELOPERS • ఆظతʹ։࠵ • ৔ॴ͸ฐࣾϦϑϨογϡεϖʔε • ओʹ Unity Λ୊ࡐʹͨ͠ษڧձ •  ୈ1ճژ౎UnityήʔϜ։ൃษڧձ

    – Unity(uGUIɺUniRx)Λ͔ͭͬͯήʔϜΛ࡞Ζ͏ʂ •  ୈ1ճژ౎ήʔϜσβΠϯษڧձ •  ୈ2ճژ౎UnityήʔϜ։ൃษڧձ – Unity(Photon)Λ͔ͭͬͯϚϧνϓϨΠήʔϜΛ࡞ Ζ͏ʂ •  ୈ3ճژ౎UnityήʔϜ։ൃษڧձ – UnityΛ͔ͭͬͯϥϯΩϯάରԠήʔϜΛ࡞ͬͯΈ Α͏ʂ •  ୈ4ճژ౎UnityήʔϜ։ൃษڧձ – uGUIͰը໘Λ৭ʑ࡞ͬͯΈΑ͏ #1 •  ୈ5ճژ౎UnityήʔϜ։ൃษڧձ – uGUIͰը໘Λ৭ʑ࡞ͬͯΈΑ͏ #2 •  ୈ6ճژ౎UnityήʔϜ։ൃษڧձ(༧ఆ) CLOUD CREATIVE STUDIOS, INC.
  3. ։ൃ୺຤ •  DELL ͷϫʔΫεςʔγϣϯͰ͸μϝͩͬͨ… •  ίϯιʔϧ։ൃͰ͸ઐ༻ػࡐͰ࣮ߦ͢ΔͷͰͦ͜·ͰͷεϖοΫෆཁ •  ϓϨϏϡʔɺσόοάɺ౳ʑ… •  ͦ΋ͦ΋

    Vive ͕ೝࣝ͠ͳ͍…ʂ •  Ұ൪ͷཧ༝͸ϏσΦΧʔυʢGeForce GTX970 Ҏ্ʣ •  TSUKUMO ͞Μʹ։ൃ༻୺຤Λ༻ҙͯ͠΋Βͬͨ •  G-GEAR •  CPU Intel Core i7-6700 @ 3.40GHz •  RAM 16GB •  SSD 480GB •  NVIDIA GeForce GTX1070 / 8GB •  ిݯ͸ҙ֎ͱ͍͚Δ •  ίϯιʔϧͷ։ൃػࡐ΄Ͳిݯ༰ྔ͸͍Βͳ͔ͬͨ CLOUD CREATIVE STUDIOS, INC.
  4. HTC Vive •  ॳճ͸ωοτͰߪೖ •  ޙ͔Β TSUKUMO ͞Μܦ༝ͷ΄͏͕͍҆͜ͱʹؾ͍ͮͨ… •  ஔ͖৔ॴʹࠔΔ…

    •  έʔϒϧ͕௕͍ɾߗ͍ɾଟ͍ •  Vive ίϯτϩʔϥ͕صͷ্ʹஔ͘ͱෆ҆ఆա͗Δ •  Vive ίϯτϩʔϥ •  ॆిΛ͜·Ίʹ͠ͳ͍ͱҙ֎ͱόοςϦʔ͕࣋ͨͳ͍ •  ϕʔεεςʔγϣϯ •  Ұ૊͋Ε͹ෳ਺୆ͷ HMD ΍ίϯτϩʔϥΛೝࣝՄೳ •  ͜Ε΋ TSUKUMO ͞Μʹڭ͑ͯ΋Βͬͨ…(^_^;) •  ͜ΕҎ֎ͱΈΜͳ஌Βͳ͍ CLOUD CREATIVE STUDIOS, INC.
  5. Unity Ͱ VR ରԠ • Unity Ͱ VR ରԠ͸௒ઈ؆୯ •  PlayerSettings

    Ͱ Virtual Reality Supported ʹνΣοΫೖΕΔ͚ͩ •  ϓϨΠϠʔͷࢹ఺ ͸ MainCamera ͷө૾͕ͦͷ··ར༻͞ΕΔ • දࣔͷΈϚϧνσόΠεରԠ •  VR ରԠͱ͸ݴ͑ɺ͋͘·Ͱ 3D ཱମࢹʹରԠͱ͍͏ঢ়ଶ •  ೖྗܥͷτϥοΩϯά͸ະରԠ CLOUD CREATIVE STUDIOS, INC.
  6. ૊ΈࠐΈ࣌ʹͭ·͍ͣͨ఺ • MainCamera ͷѻ͍ •  SteamVR ಉࠝ͞ΕΔ [CameraRig] ͱόοςΟϯά͢ΔͷͰ஫ҙ •  [CameraRig]

    Λͦͷ··ར༻͢Δ৔߹͸ MainCamera ͸༻ҙ͞Ε͍ͯΔ •  എܠΞηοτΛߪೖͨ͠৔߹ʹൃੜ͠΍͍͢ •  αϯϓϧ͕Ξηοτʹؚ·Ε͍ͯΔͱͨ·ʹ MainCamera ؚ͕·Ε͍ͯΔ CLOUD CREATIVE STUDIOS, INC.
  7. ૊ΈࠐΈ࣌ʹͭ·͍ͣͨ఺ • ىಈ௚ޙͷΤϥʔ •  VR: OpenVR ERROR! Compositor failed initialization with

    error code VRInitError_IPC_CompositorInvalidConnectResponse: “Shared IPC Compositor Invalid Connect Response (307)”! •  ൺֱత΍Β͔͢Τϥʔ •  ϋϯυϦϯάͰ͖ͳ͍Τϥʔ •  Steam ͷ։ൃऀ΋ʮରԠதͰ͢ɺ଴ͬͯͯͶʯͱͷ͜ͱʢ10݄14೔࣌఺ʣ •  https://steamcommunity.com/app/358720/discussions/ 0/343786745995265248/ •  SteamVR Λ࠶ىಈ͢Δ͔͠ํ๏͸ͳ͍ CLOUD CREATIVE STUDIOS, INC.
  8. UI ͷઃܭ • ۭؒʹ UI Λ഑ஔ͢Δͷ͕೉͍͠ •  σΟεϓϨΠʢ2Dʣ্ʹ UI ίϯϙʔωϯτΛ഑ஔ͢Δͷ͸ָ • 

    VR ্ۭؒʹ 2D Ͱ഑ஔ͢Δͷ͸৭ʑͱແཧ͕͋Δ • VR ۭؒʹϚονͨ͠ UI ͷઃܭ •  ੈք؍ʹ͋ͬͨϘλϯ • ͍ΘΏΔ UX ͷྖҬ •  UI/UX ͷ֓೦͕… CLOUD CREATIVE STUDIOS, INC.
  9. UI ͷઃܭ • ۭؒʹ UI Λ഑ஔ͢Δͷ͕೉͍͠ •  σΟεϓϨΠʢ2Dʣ্ʹ UI ίϯϙʔωϯτΛ഑ஔ͢Δͷ͸ָ • 

    VR ্ۭؒʹ 2D Ͱ഑ஔ͢Δͷ͸৭ʑͱແཧ͕͋Δ • VR ۭؒʹϚονͨ͠ UI ͷઃܭ •  ੈք؍ʹ͋ͬͨϘλϯ • ͍ΘΏΔ UX ͷྖҬ •  UI/UX ͷ֓೦͕… • ڑ཭ײ͕௫Έʹ͍͘ •  κϯϏΛϘλϯʹͨ͠Βڑ཭ײ͕௫Έʹ͘͘ԡͤͳ͍ͱ͍͏ࣄଶʹ… •  ͨͩɺ֓Ͷ௨ৗͷϘλϯΑΓ΋ྑ͍ײ͡ CLOUD CREATIVE STUDIOS, INC.
  10. VR ׳Ε • ։ൃ్தͰ VR ʹ׳Εͯ͠·͏ •  ։ൃ్தͰ VR ମݧʹ׳Εͯ͠·͍໎૸ͯ͠͠·͏ • 

    VR ͸ήʔϜ಺༰ͷલʹ VR ͱ͍͏ମݧࣗମ͕ΠϯύΫτ͕͋ΔͨΊؕΔ • λʔήοτ૚ΛΑΓ໌֬ʹ͢Δ •  ήʔϜΛ΍Γ׳Ε͍ͯΔਓʁεϚϗ͔ΒήʔϜΛ࢝Ίͨਓʁ CLOUD CREATIVE STUDIOS, INC.
  11. VR ਲ͍ • શһ͕ޱΛἧ͑ͯݴ͏ʮVR ਲ͍ʯ •  ҰॠͰਲ͏ •  ήʔϜ͕໘ന͍ͱ͔Ҏલͷ໰୊ •  VR

    ݏ͍ʹͳͬͯ͠·͏… • ϓϨΠϠʔͷ༧૝Λཪ੾Δදݱ͕Ξ΢τ •  ॲཧམͪʢϑϨʔϜυϩοϓʣ •  উखʹࢹઢΛม͑ΔɺҠಈͤ͞Δ •  Gͷ͔͔Βͳ͍Ҡಈ • ։ൃͷૣ͍ஈ֊Ͱରॲ͠ͳ͍ͱ… CLOUD CREATIVE STUDIOS, INC.
  12. VR ਲ͍Λແ͘͢ʹ͸… • ͢΂ͯͷҠಈ͸ϓϨΠϠʔ೚ͤ •  ࢹ఺Ҡಈ͸ HMD ͷτϥοΩϯάʹཔΔ •  ϓϨΠϠʔͷҠಈ͸৭ʑ΍ͬͨ݁Ռ… • 

    ςϨϙʔτ͕Ұ൪ਲΘͳ͍ •  Vive-Teleporter •  https://github.com/Flafla2/Vive-Teleporter •  ͍ͬͦͷࣄɺԿ΋͠ͳ͍ CLOUD CREATIVE STUDIOS, INC.
  13. DEAD CITY • κϯϏήʔ •  TSUKUMO ͞ΜϒʔεͰࢼ༡Ͱ͖·͢ •  VR ਲ͍΋ຆͲແ͍ • 

    पΓͰݟͯΔਓ͕ VR ͬͯ໘നͦ͏ͱײͯ͡΋Β͍͔ͨͬͨ • ૯੍࡞࣌ؒɿ2೔ •  ಺༁ •  ϓϩάϥϛϯάɿ4ʙ5࣌ؒɺΞηοτ୳͠ɿ1೔ڧɺσʔλௐ੔ɿ൒೔͙Β͍ •  ࡢ೔ͷ໷ɺॐΛೖΕͯཉ͍͠ͱݴΘΕͨͷͰٸᬎ࣮૷ •  ҙ֎ͱ໘ന͘ͳͬͨ • ໰୊఺ •  ے೑௧͕ώυ͍ •  (*´Д`)ŰōŰō͢Δ CLOUD CREATIVE STUDIOS, INC.