Cov txheej txheem:

DeskMagic - Ua App rau Koj Aryzon AR Headset (TfCD): 22 Kauj Ruam
DeskMagic - Ua App rau Koj Aryzon AR Headset (TfCD): 22 Kauj Ruam

Video: DeskMagic - Ua App rau Koj Aryzon AR Headset (TfCD): 22 Kauj Ruam

Video: DeskMagic - Ua App rau Koj Aryzon AR Headset (TfCD): 22 Kauj Ruam
Video: RULES OF SURVIVAL AVOID YELLOW SNOW 2024, Hlis ntuj nqeg
Anonim
DeskMagic - Ua App rau Koj Aryzon AR Headset (TfCD)
DeskMagic - Ua App rau Koj Aryzon AR Headset (TfCD)

Hauv Cov Lus Qhia no peb yuav mus ib kauj ruam zuj zus los ntawm cov txheej txheem ntawm kev tsim qhov yooj yim augmented reality (AR) thov rau Aryzon AR Headset. Tsis xav tau coding lossis lwm yam kev paub dhau los. Txawm hais tias lub app yog qhov yooj yim yooj yim, nws yog kev lom zem thiab yooj yim txoj hauv kev kom pib ua si nrog kev muaj peev xwm ntawm AR.

Yog xav paub ntxiv txog Aryzon AR lub mloog pob ntseg, mus ntsib:

aryzon.com/

Cov qauv siv hauv Phau Ntawv Qhia no qhov twg rub tawm los ntawm Google Poly los ntawm cov kws sau ntawv hauv qab no:

Sled, snowman, tsob ntoo nrog khoom plig, hauv tsev - los ntawm 14islands Lab raws li CC -BY daim ntawv tso cai

Lwm tsob ntoo - los ntawm Poly los ntawm Google raws li daim ntawv tso cai CC -BY

Snowy av - los ntawm kuv

Kauj ruam 1: Download Unity 3D

Download Unity 3D
Download Unity 3D

Los ntawm qhov txuas hauv qab no, rub tawm dawb, tus kheej version ntawm kev sib koom siab. Qhov no yuav yog lub cav ntawm peb AR app.

store.unity.com/

Kauj ruam 2: Nruab Unity 3D

Nruab Unity 3D
Nruab Unity 3D
Nruab Unity 3D
Nruab Unity 3D

Thaum lub installer qhib, koj raug nug kom xaiv cov qauv ntawm kev sib koom siab uas koj xav teeb tsa. Koj yuav xav tau cov hauv qab no

  • Kev sib sau nws tus kheej - Qhov tseem ceeb heev
  • MonoDevelop - siv rau kev debugger, tsis muaj qhov tseeb coding hauv txoj haujlwm no
  • Cov ntaub ntawv - rau kev pabcuam kom ua haujlwm tau zoo
  • Android tsim kev txhawb nqa - qhov no tso cai rau koj los tsim cov ntawv thov hauv nrog koj txoj haujlwm, koj tuaj yeem ntxiv lwm lub platform ntxiv uas koj xav txhim kho rau, txawm hais tias cov lus qhia no tsuas yog siv hauv
  • Vuforia Augmented Reality Support - Siv rau qhov tseeb AR taug qab, tsim nyog los tso peb 3D ntiaj teb rau ntawm koj lub rooj.

Kauj Ruam 3: Tsim tus account (pub dawb)

Tsim ib tus account (pub dawb)
Tsim ib tus account (pub dawb)

Koj yuav tsum tsim tus as khauj los siv Unity 3D. Qhov no pub dawb rau siv tus kheej.

Kauj Ruam 4: Tsim Koj Txoj Haujlwm

Tsim Koj Txoj Haujlwm
Tsim Koj Txoj Haujlwm

Tam sim no nws yog lub sijhawm rau koj los tsim koj qhov project. Muab koj lub npe rau npe zoo, thiab xaiv qhov chaw uas koj tuaj yeem nrhiav rov qab tau cov ntaub ntawv uas Unity yuav muab tso rau ntawd.

Kauj ruam 5: Tsim Koj Scene

Tsim Koj Scene
Tsim Koj Scene

Kev sib koom siab yuav qhib nrog qhov khoob uas twb tau tsim lawm. Koj tuaj yeem sau npe qhov xwm txheej no los ntawm kev txuag nws tam sim no.

Kauj Ruam 6: Rub tawm Aryzon SDK

Rub tawm Aryzon SDK
Rub tawm Aryzon SDK

Aryzon tau tsim SDK uas sib koom ua ke los ntawm kev sib koom ua ke. Koj tuaj yeem rub tawm SDK ntawm qhov txuas hauv qab no:

developer.aryzon.com/t/basic-setup-of-sdk/…

Kauj Ruam 7: Ntshuam Aryzon SDK hauv Kev Sib Koom

Ntshuam Aryzon SDK hauv Kev Sib Koom
Ntshuam Aryzon SDK hauv Kev Sib Koom
Ntshuam Aryzon SDK hauv Kev Sib Koom
Ntshuam Aryzon SDK hauv Kev Sib Koom

Mus rau Cov Khoom Siv> ntshuam pob> pob khoom tshwj xeeb. Tom qab ntawd xaiv Unitypackage ntawm SDK thiab ntshuam txhua yam rau hauv koj qhov project.

Kauj Ruam 8: Qhib Vuforia Demo Scene

Qhib Vuforia Demo Scene
Qhib Vuforia Demo Scene
Qhib Vuforia Demo Scene
Qhib Vuforia Demo Scene

Tam sim no koj yuav pom ob peb daim nplaub tshev tshiab hauv txoj haujlwm tseem ceeb. Mus rau Cov Khoom> Aryzon> Qauv Scenes, thiab qhib Vuforia taug qab qhov xwm txheej.

Kauj Ruam 9: Tsim Prefab Tshiab

Tsim Prefab Tshiab
Tsim Prefab Tshiab

Txhawm rau cawm peb tus kheej qee qhov teeb meem, peb tuaj yeem tsim ib qho prefab (tus qauv, daim ntawv muaj peev xwm tivthaiv tau) los ntawm 'ImageTarget' tivthaiv, xaiv-muaj peev xwm nyob rau hauv lub qhov rai hierarchy.

Tsuas yog luag tus 'ImageTarget' tivthaiv rau Cov Khoom> Aryzon> Prefabs, nplaub tshev, zoo li kuv twb tau ua tiav hauv daim duab lawm.

Kauj ruam 10: Ntshuam Prefab rau hauv Scene

Ntshuam Prefab rau hauv Scene
Ntshuam Prefab rau hauv Scene

Tam sim no koj tuaj yeem siv tib lub prefab nplaub tshev rau import ob qhov tseem ceeb tshaj plaws ntawm lub app: AryzonVuforia tivthaiv, thiab cov khoom lag luam xav tau. Koj tuaj yeem rub cov no los ntawm cov ntawv tais ceev tseg ua ntej rau hauv koj qhov xwm txheej.

Kauj ruam 11: Rho tawm lub voos xwmfab

Rho tawm lub Cub
Rho tawm lub Cub

Thaum koj nyem rau ntawm ImageTarget tivthaiv hauv koj lub qhov rai hierarchy, koj yuav pom tias lub voos xwmfab ntawm lub vijtsam yog menyuam yaus rau cov khoom ntawd. Qhov no qhia lub cav qhov twg nws yuav tsum tso lub voos xwmfab txheeb ze rau lub hom phiaj.

Qhov no txhais tau tias txhua tus qauv peb xav qhia kom raug hauv AR, yuav tsum tau ntxiv rau qhov tshwm sim thaum menyuam yaus rau ImageTarget tivthaiv.

Tam sim no peb tuaj yeem tshem lub voos xwmfab, thiab hloov nws nrog cov khoom pom zoo dua

Kauj Ruam 12: Tsim Tus Qauv Qauv

Tsim Cov Qauv Ntawv
Tsim Cov Qauv Ntawv

Txhawm rau ua kom taug qab tau zoo ntawm txhua yam peb ntxiv rau hauv qhov xwm txheej, koj yuav xav tsim cov ntawv tais ceev tseg hauv qhov project qhov rai. daim nplaub tshev no yuav suav nrog txhua tus qauv peb yuav xav ntxiv rau qhov xwm txheej.

Kauj Ruam 13: Tau (rub tawm) Qauv

Tau (download) Qauv
Tau (download) Qauv
Tau (download) Qauv
Tau (download) Qauv

Tam sim no peb yuav rub qee cov qauv lom zem rau peb qhov xwm txheej, thiab muab cov no tso rau hauv cov qauv ntawv peb nyuam qhuav tsim. Txog qhov kev qhia no, peb yuav tau txais cov no los ntawm google Poly. Google Poly yog qhov zoo tshaj plaws, vim tias nws cov qauv tau ua kom zoo rau VR thiab AR kev ua tau zoo.

Thaum rub tawm tus qauv, nco ntsoov cov hauv qab no

  • Tus qauv yuav tsum yooj yim (ob peb textures, suav polygon tsawg), vim tias koj lub xov tooj muaj cov peev txheej txwv
  • Credit tus sau ntawm tus qauv (koj yuav tau txais kev ceeb toom thaum qhov no tsim nyog)
  • Thaum ua tau, rub cov ntawv hauv FBX hom ntawv. OBJ yuav ua haujlwm rau, tab sis nyuaj me ntsis los daws hauv Unity.

Kauj ruam 14: Luag thiab poob

Luag thiab poob
Luag thiab poob

Koj tuaj yeem tso cov qauv rau hauv koj qhov xwm txheej los ntawm kev rub lawv los ntawm cov qauv nplaub tshev thiab muab tso rau hauv qhov rai tshwm sim. Thaum tso, koj tuaj yeem ntsuas, tig thiab rub lawv mus rau qhov chaw uas koj xav kom lawv nyob hauv qhov chaw.

Nco ntsoov: raws li peb tau hais yav tas los, cov qauv tso rau hauv qhov xwm txheej yuav tsum tau muab tso ua ib tus menyuam yaus ntawm ImageTarget tivthaiv.

Kauj Ruam 15: Ua Nws Daus

Ua Nws Daus
Ua Nws Daus
Ua Nws Daus
Ua Nws Daus

Txhawm rau tsav tsheb mus tsev tiag tiag rau hnub so, koj tuaj yeem ntxiv qee cov daus. Ib txoj hauv kev yooj yim los ua qhov no yog los ntawm kev siv lub tshuab ua pa. Hauv lub qhov rai hieracrhy, mus tsim> cuam tshuam> cov txheej txheem. Qhov no yuav tsim cov khoom tawg hauv koj qhov xwm txheej. Nws yog qhov zoo tshaj plaws los ua si ib puag ncig hauv lub qhov rooj tshuaj xyuas, thiab nrhiav seb qhov chaw zoo tshaj plaws rau koj yog dab tsi (daus daus, lossis tej zaum muaj cua daj cua dub). Cov teeb tsa hauv daim duab ua haujlwm zoo rau peb.

Kauj ruam 16: Hloov lub Platform

Hloov lub Platform
Hloov lub Platform

Ua ntej peb tuaj yeem ua lub app ntawm peb lub xov tooj Android, peb yuav tsum tsim nws ua ntej. Ua ntej, peb yuav tsum hloov qee qhov chaw txawm hais tias. Hauv cov ntawv qhia zaub mov bar, mus rau File> Build Settings. Xaiv lub Android platform thiab tom qab ntawd nyem 'Hloov Platform'.

Kauj Ruam 17: Hloov Chaw

Hloov Chaw
Hloov Chaw
Hloov Chaw
Hloov Chaw
Hloov Chaw
Hloov Chaw

Hauv tib lub qhov rais, tam sim no nias lub pob 'Player Settings'. Qhov no yuav ua rau txhua qhov kev teeb tsa ntawm lub platform tshwm nyob rau hauv tus neeg soj ntsuam qhov rai. ntawm no koj yuav tsum ua cov hauv qab no:

  • Nkag mus rau (fictitious) lub tuam txhab npe
  • Nkag mus rau lub npe khoom (qhov no yuav yog lub npe ntawm koj li app).
  • hauv 'lwm qhov chaw', ntxiv lub tuam txhab thiab lub npe khoom rau hauv 'pob npe lub npe' teb.
  • Teem qib API yam tsawg kawg nkaus. Qhov no yuav tsum yog tib yam ntawm Android uas koj lub xov tooj tab tom khiav, lossis qis dua. Qhov qis koj mus, qhov sib raug zoo dua nrog cov khoom qub, tab sis koj tseem yuav poob qee yam haujlwm.
  • Nco ntsoov tias 'Android TV sib xws' tsis raug xaiv. Kev txheeb xyuas qhov no yuav tiv thaiv Vuforia los ntawm kev ua haujlwm.
  • Thaum kawg, hauv 'XR Chaw', khij 'Vuforia Augmented Reality'

Kauj Ruam 18: Tau Txais Vuforia Key

Tau Txais Vuforia Key
Tau Txais Vuforia Key
Tau Txais Vuforia Key
Tau Txais Vuforia Key
Tau Txais Vuforia Key
Tau Txais Vuforia Key

Txhawm rau AR taug qab ua haujlwm, koj yuav tsum xub qhib daim ntawv tso cai Vuforia (pub dawb rau siv tus kheej).

  • Tsim tus account ntawm

    developer.vuforia.com/vui/auth/register

  • Mus rau Tus Thawj Saib Xyuas Daim Ntawv Tso Cai, thiab xaiv 'Tau Txais Qhov Tseem Ceeb'
  • Ntawm no koj nkag mus rau lub npe koj tau muab rau koj app hauv cov kauj ruam dhau los
  • Luam cov cai tseem ceeb uas tau tsim rau koj cov ntawv teev cia

Kauj Ruam 19: Nkag mus rau Vuforia Key hauv Koj Txoj Haujlwm

Nkag mus rau Vuforia Key hauv Koj Txoj Haujlwm
Nkag mus rau Vuforia Key hauv Koj Txoj Haujlwm
Nkag mus rau Vuforia Key hauv Koj Txoj Haujlwm
Nkag mus rau Vuforia Key hauv Koj Txoj Haujlwm
  • Hauv koj qhov xwm txheej hierarchy, xaiv 'ARCamera' tivthaiv (hauv qab AryzonVuforia).
  • Hauv tus kws tshuaj ntsuam qhov rai, nyem lub pob hauv qab sau tias '' Open Vuforia Configuration"
  • Tam sim no tus kws tshuaj ntsuam qhov rai yuav tso saib Vuforia teeb tsa. Muab tshuaj txhuam daim ntawv tso cai koj nyuam qhuav tau theej rau 'App License Key' teb.

Kauj ruam 20: Tau txais Android SDK

Tau txais Android SDK
Tau txais Android SDK

Thaum kawg, txhawm rau tsim koj lub app Kev Sib Koom xav tau Android SDK kom muaj nyob hauv koj lub Computer. Txoj hauv kev yooj yim kom tau txais SDK no los ntawm Android Studio. Android studio tuaj yeem rub tawm (tsis suav nrog!) Los ntawm qhov txuas hauv qab no:

developer.android.com/studio/index.html

Txhim kho Android Studio yuav cia li tso Android SDK rau hauv koj lub Computer.

Kauj ruam 21: Tsim Sijhawm

Tsim Sijhawm!
Tsim Sijhawm!

Tam sim no koj tuaj yeem tsim koj li AR app!

  • Nkag mus tsim cov ntawv qhia zaub mov dua (Cov Ntaub Ntawv> Tsim Chaw), thiab nias lub pob 'tsim'
  • Tam sim no koj tuaj yeem sau lub npe rau APK (App Pob). Nco ntsoov tias qhov no tsuas yog lub npe siv, nws yuav tsis cuam tshuam lub npe ntawm koj li app.
  • Qhib APK ntawm koj lub xov tooj los teeb tsa koj tus kheej AR app!

Yog tias koj lub xov tooj tsis tso cai rau koj nruab cov apps los ntawm "Tsis paub qhov chaw", yooj yim mus rau koj lub xov tooj qhov system teeb tsa, tom qab ntawd mus rau qhov kev xaiv kev nyab xeeb thiab khij lub npov "Tsis paub qhov chaw". Txog kev nyab xeeb, nws tau pom zoo kom tshem lub npov no tom qab koj tau teeb tsa lub app.

Kauj Ruam 22: Txaus Siab Rau Koj Cov Khaub Ncaws Christmas Zoo Nkauj

Txaus Siab Rau Koj Cov Khaub Ncaws Christmas Zoo Nkauj
Txaus Siab Rau Koj Cov Khaub Ncaws Christmas Zoo Nkauj
Txaus Siab Rau Koj Cov Khaub Ncaws Christmas Zoo Nkauj
Txaus Siab Rau Koj Cov Khaub Ncaws Christmas Zoo Nkauj
Txaus Siab Rau Koj Cov Khaub Ncaws Christmas Zoo Nkauj
Txaus Siab Rau Koj Cov Khaub Ncaws Christmas Zoo Nkauj

Khiav lub app, tso koj lub xov tooj rau hauv Aryzon AR lub mloog pob ntseg thiab pluaj nws rau koj lub ntsej muag. Koj tuaj yeem tso tus cim nrog rau txhua qhov chaw koj xav kom koj kho kom zoo nkauj Christmas kom ci rau koj hnub! Ib sab ntawm koj lub computer piv txwv: D

Tau kawg, koj tsis tas yuav siv Christmas themed qauv rau koj li app. Dab tsi txog lub thoob dej yug ntses, lossis lub tiaj ua si Jurassic?

Kuv suav nrog daim ntawv theej ntawm app tsim hauv Cov Lus Qhia (DeskMagic), yog li koj tuaj yeem tshawb xyuas cov txiaj ntsig ua ntej koj sim nws koj tus kheej.

DeskMagic yuav:

  • Ua kom koj lub rooj zoo dua qub
  • Sau koj lub hearth nrog kev sov siab thiab hnub so
  • Ua rau koj zoo nkauj heev

Nco ntsoov tias kuv tsuas tau sim qhov no ntawm kuv lub xov tooj qub (Galaxy Note 3), yog li koj cov nqi yuav txawv li cas.

Tsaug rau kev nyeem ntawv!

Pom zoo: