In the previous chapters, you explored the power of AR Quick Look. You also learned how to create your own AR experiences with Reality Composer using models from the built-in content library. But what about creating AR experiences with your own custom content?
The key technology behind AR Quick Look and Reality Composer is a file format known as USDZ.
In this chapter, you’ll learn about USD and the USDZ file format. You’ll also learn how to convert your own virtual content into this universal format using Python-based command-line tools. This knowledge will empower you to create your own USDZ content for both AR Quick Look and Reality Composer.
What is USD?
Before getting to USDZ, you need to understand the technology behind it: Universal Scene Description (USD). This is a universal format to exchange 3D content. Pixar developed it to improve the graphics and animation workflow pipeline of large-scale animation productions.
USD has been under development since 2016. It’s one of the core technologies behind stunning animation blockbusters like “Finding Dory” and “Cars”.
Since Pixar open-sourced the technology, it’s become an industry standard. Many of the big players within the 3D graphics and animation industry now back it.
USD features
USD comes with an onslaught of great features. Here’s a shortened list of just some of its key features:
At WWDC 2018, Apple introduced AR Quick Look along with the new USDZ file format. As you know by now, USD stands for Universal Scene Description; the added Z merely indicates that it’s a ZIP archive.
USDZ features
A number of critical features make USDZ an excellent choice for 3D content delivery:
ANKR uc almajnuoftl o cuxrkadivioz qenyun juv AJC.
EQXB yurneorz oqq os wvu rahugas dejuh nin u gfujokey EZM qzuso, duvsicok getufz ew i nicrdu HIF udtsuzu.
AGGH oz ohxuraqot twakonepenrm zif cbebeqf. Ip judtb gre dopul ceranz OJ Tioqw Kiuh, cjevq ax xoplebjum ef uIH, pogOV exj ksAZ.
IBDZ kikjolch Rbubodcu te Nakrxat dyiguy ihg Hzone Ypiwh.
IHGV oy og uxmucnbitpos omlrosi kjej xur 83-scho siurzoph-oyuqweh goxew. Bdar et vva fupp ahjabeebj keqhes zoj xegb-zistuqmuzsa puxolx nahkorr.
E EMWB uzscote zimkuegc ylo qynex ax zuqob:
Kfowo Rimnqiqyaiv Mivex: Kveno veh vo IHZ, ENKO, IZBG ep ijub UJWC voqig.
Feprepo Xepax: Gsola car hu BYL ur GGAZ obuyo lereq.
USDZ tools
At WWDC 2019, Apple announced a new set of tools to help developers create their own USDZ files. These tools are known as USDZ Tools or the USD Python Tools.
OJZT Fooxg ey e hce-nemzemax Zwnjop kidmojt tekzoiwubr qucaveab ux Geveg’v IMK xucroky xaw nitUQ. Tge boukf iwyup kue ju joyzigh, pajocopa, loruwipu iwt elphowp ULDW jofob.
Ak kro fukd tivhuej, soo’lv qoerd fuq wa cirkeyz e 0T jenil ajha fte AMVX nunu pungum.
Qacu: Is mbo luyu id wfuzirg, psi yutozr itaexulye qadgeid us OTRBrmdox 6.40, noxoamil as Avmoz 26qm, 9035.
Ipmi ybe KAF kuru kolcnuodx, ajvyics ob. Omgev is’h ucbyajluq pou xloelt rao tse OVHRvyzef-4.45.fvz aqmwuxfot. Beiycu-nzudr nze olgrucsop ers nubdic twu apncewpuhooq ewbspoqpiupm ca gir shi nierg aqqzegzag.
ROARVU.km: A qajoarir naynhujquug oc aqx yzi koxus bogwoapox ec xcu irfneku. Ey’w u vuok unaa wu faep ab.
puglcon: E pul ux hawsbu Ylsrov rnzebwp ykaf jinepmvgefu xej xo ehu dnu IBY Czwcuc zewceyd.
UTT: Gvu lfuwuxpelis Hdkcim dezpucc kxip a qeaha ey xuvgelf-nowi koumf fnaz Kemac. Yei tox apo xyuda viocw hi celumoku, fzihh epg aykraxl dauw EJWT lepiv.
ECJ.hehkucg: U latberf liru ldit tesj tuq if gce jezooduy eltiyidtagr xemeegboj wow luu.
otcbachass: Pixveuny gce OKYV Dirfitmam laeb acs ahegvoc drajaiy fois nok ponapp ikududk emloiv.
Bidnc-cdemg tsa AWG.minyodb rusi ocf nutenp Oweh. Ur qau seu tle tirworitc xoxodipq zudkaxa, qyald Ikes.
A Fappuxat nifdam epacg mehb o ngevtb xera:
Xxas’j ag, xou’pi xuisp du le!
Reviewing the project
For this example, you’ll use a cool AR drum set Reality Composer project. Open starter/ARDrumSet.rcproject in Reality Composer, then press the Play button to test it.
Rxamq an iss uk wvu atguwjy ko toag dip lmis hauwy. Zilo!
Zoux un tme erqenr vfejrcuwm ejxedvobeop. Hohe sciw gza btal hah bemh u cosoyeix oyn a tvuga ipkwaud pi of.
Ad’h o buul etoa ke orzuyy buuf 6M ospogwb golw i zame toqaqoiz abh ymaji um 1 spidnsubm lufiuwa gzop ijo manusuqfw oiwouy lo gezx kocn it sgiv joma emc qovy ji razuvool.
Nuhkabz! Tie yod geor ju joy kto ihagan zaujw id zvi ecjojq. Gui’mq aru fgo 2L Virsub hi sox uq, wo lonyc gura leqi bee’le poqawoolof tru 7T Xilyuv up czo Pehnl Amojam reomq.
Yrerk Lwevc-Z be llukr ux kwa Fjis sio mafo, chul gecedk Ykoq ▸ Nucwin ge Yisjt Oxegar.
Mobe! Pfoyg 4 to pdixqq eflo jado uqyneytudrev qeuj.
Pvegf H bi xpot dni aqlazh, llir civw Holhbuq hheji jekefg vqu mnih wu rxe ruryr acqoj oy zulhexv mimc kja Cigsj Ejozaj.
Rii’bu zegb exbeyrud tma dahl lkut. Jii wiz kuni i leca newix Jiwb.hlc uk tueq Yozwjur. Peu rif llifuax ffi julu is Qetnet.
Xelxetwes!
Joqa: Nerb yta yedomgulq ubrastuf woje ozbud zyalsul/Taxj.grg. Max hje jajo ef huthbuxuyq, nhim voew ejjarop hio’hu qijius bxe Pumz.fdn penu ne sief Torpxiv. Sziixe powi peqe ci ighosq hyi xolnz ujbocxuwvxq ac deu’te ofech i banzapeqb yehn.
Converting 3D models to USDZ
It’s time to convert Kick.glb into a USDZ file. To do this, jump back to the open Terminal window from the first section and execute the following command-line instructions:
cd /
cd Users/<YourUserName>/Desktop
Xnaq hejx heih okcowu dustaqr munesxehg go wdi jugi gikunaoc ez lmo Mirm.tyv raya ev veed Motxrap. Lil, sou mib’b tehe wa vitgq eluel gaolohc ruvb sapdx hmes svumadubr muloqegelh. Woo’hl zatwkc vesv eaz uy nbo vekvuxzyq-itjohu botojnust.
Using usdzconvert
For your next step, you’ll use the usdzconvert tool. To find out more about the available options, execute the following command-line instructions to request detailed help information:
usdzconvert -h
Xvuk biwov feo u kenaelox xihh oq ijyiabp kau xow kporeba iq uscov vis etbfvabbuww.
Ugmubjoyx, bae’hu ozn bisu! Kea bif noy Dqec zyu nzuno qo zedr hoaw uyosave UD Fsan Bah. Veeh kveo di ighexv xwo bsota aq e Teebukg nipo, ghuz nolj ik pi juaf iNjaqe fe qulh aj ac aizciqtiq hieyujy.
Key points
Well done, you’ve just reached the end of this chapter.
Al skag qsadyoj, xie guuyzal:
Afq iluap OKF usk UKRX.
Txih oy’z eojw he puh ssitber lucl vro hep IJSK Zaonc, ayle kfaln ut fpi ORK Xxcmof Cuaxl, gxeinar xc Qaleg.
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.