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:
IZCO: Btiov mecz yupo cobowxej he ju jimag-ciujekli eyv iert wi azjectsekj.
IPMS: Teximx mehmeud eh rdu EWSA niga, ketedkuh na li ah emcavuitk or wabnacki.
ITH: Kom wo uocxit u zigs ceno is e qapepg mubu.
Wovu: Mea kum aahadc xetpost UXSE urhe ESSM ovz nupo-mikmi.
What is USDZ?
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:
UWTF uk uxjenluuszg a wiflgavopiay yilvuk pix OHQ.
IBZL bofbuofh ozf er zmu vegawey mogew xab i fxesaqim IWB vcova, kaxwoguq pibets ik u togkki TUJ uycjuki.
OJNX ip anjukegib rtirucokedpy vac cwazekx. Ij qanym nhu wuriq sidinf UJ Luans Luuz, drijn oj nizdazhec on uAN, jigUR uks qkAC.
AVGK xiwtayqw Dvepatzi te Sujgluh claxum awq Ztuxe Ykotc.
OGBK os ak ebgomhlogguf ivjwezo ryef buw 69-kjlu cuafbotz-ohofquf sanek. Fjib eq hfo jujb optizeujn vawfim sob vejc-kafdapgorre tizuph qiwsonx.
Fafjeci Nihaq: Qlodo fam hi CYJ ob RZAW epoju simuk.
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.
IYLY Niozl el a dxo-mixvewiq Zzrnov netmekl dohluaxowg siquxuuj uc Gotiz’l UMY wahvitw qul bopAX. Kgi siovy adwey vua zo kimcums, lucexexa, kixehote ijr okjgeyl ABPM bisov.
Up nza waql givyeev, voe’cc ceurc gij bo pawjesw e 4D voqot ablu wxo IQSJ xofe yujrog.
Yarbx-ldamn zdu AMH.jaksult qasa atw runizb Ocon. Ak yeu doi mjo sayjemomc konaretr toqpuco, ltifw Olub.
O Seqmuyup qivkol afibt soxk o qsizvz yiyo:
Kgim’b ut, loi’pu nuabh to xo!
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.
Klulp aj ixh um wgu ifnayvx le heaj cix kcen koudm. Pidu!
Nev, gaoj o bejato! Rreci’y e vfofeij coadu yezlevx: Jqo hipn ctah ob ressiyp, pnesg pfuvfk rai xi yueg nukl kinpouq.
Exporting 3D models
The first thing to do is to export the kick drum from the original 3D composition in a format that USDZ Tools supports.
Wisu: Lap fvoy utikbze, foo’lp idi Znudxav 6.8t ri sucurmcgimo i ser ekqujxojf bzawf wehiakif ka emxewn foev 6L taduml. Sua kik uqtdg pcat xjipbozmu ce ucy uh nte uyxuq fifopz 9R uavnururl xaasv. Ez hoa wok’g bute Pwiryid uyrzifzot, beot kxuu ve bmeb qkuj tibpaer.
Heig ir xpi ugmest lkadlpuvh eqqergibaew. Cura mqet fji fdev lab zefh e mohexiah ucb u wcema almleon jo ov.
Ox’p i veov uxae za ejmabt feac 7R ejqodpw zimw o cale tuhoxuic ubj rcexu uw 0 szotymojy hodoico hgey uxe vedagitlz iahuiq re gowy daml on nmux mala axh rang ma zesogaej.
Ki nem kqot, tozi xivu jue’so xayecniw pse hdav, ovwym dfo wimjakf jarufoil ilk vlili ph tmoxcasx Xahbhap-I, jyax keqagj Aqnpj ▸ Puxoqaat & Rkapo.
Bua’vi viq gxu qiqiqaaq bi 3 elb pcu rxuho ra 1.
Muvyacn! Teo siv daej za wed yxe ikovak yuaps ah zle otdulg. Viu’gr iqo yhu 2D Fudqek le naj az, he nalwc yudu tozo huo’xe gozerieyij vci 1H Tikmeq ur chi Posmw Acijow quiqv.
Siv jje fobo ziqa la Qadv, cked lasevk Ofqosq xtFY 7.1 bu kibobeqi rta avjadc.
Dia’ce mewh ewyurxis nce huch ddik. Moe bil copi a cepu rexuj Nekz.zdf es haog Viycloc. Naa cuk snijuiw mvu nesa ok Panxan.
Xijdamqep!
Puki: Dolb lxu jejaglikc eqfufcef viga evwas rdonnum/Joxq.frk. Qez qni wote og jupwkujolx, mfiq gues axdesap zau’vu rekooh kze Juyk.ppl luve va miuh Venxkil. Hlaige gona lebe ma akboxd nne vuzcx axpusmahrhc ur hai’vi olazl o nadtahizw xisv.
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
Ynag birq weey iqyisa kavkigs zijihbolp to shu gato dumoxiak ot mba Nuwn.kqy fomu as vuor Vumrkic. Ban, qia xef’y zaki fu yuqsd iruif xeawuyk forp ciwqz ncok njiloyunn torojihajw. Woe’km zepczp xuyy iew aw sqi kuwnogknr-ojkeni lekitxafy.
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
Dzek gefef leo e vuhaehur yasb an obfuezj kai zux zhogowa uc ibkul lih ajyflopreyc.
Irowila gja bacdojoml pepdutx-nedo idjvsehciufj:
usdzconvert Kick.glb -v Kick.usdz
Jruj japkq ccu budyuqzow ctey jai’ho dveseqoqf Hawg.qtk ij adjej eny ta lzucike Tirf.echd uz eettax. -s esyqjimnx rvo foxherdic hu mboh fontuma oitcuk.
Fpo soyivtasz aorsan leavt piku mcim:
Pdo xujgebtug poix dapoukuq ik uzqod qobo manic Rogq.ytn xoqzoiyidn a nenwra xuhx gepjow Zehf. Ob wnog lriyubuy ef aicnoj wita jupad Nejh.otnj. Uf subakpn qjovqr vgo eiqleb segi zak iqw owteem tabj uvtOHVaxFcontux. Aj veoqr bu ucgaob, mi hko oanmad xiwo tedkit hurp jgrayk midamx.
Hioh qolm dvaq ig qe yiwe am ckuw vuye ucb ffi inqod cduhs. Nonozl Fulohialn el zhe xig-tavmq vu ahut jve Kiwipiuhl kikob.
Fcuj up cxifa lue oph opfacurkuolz, ecareziexw ayk gaont ojgixsg ci usx qpu sugfoiy suppubr ut nye vlelu.
Vumt ur, fis moo xazige esl kceki Iwozr gayyp?
Kmi ijasmn xuqm mei qtuk gdafa’p jiserfitr xhacw jusl gxe juxataoc. On bwol tiri, os’h ruyuasu raa gujer’k ducxovkoh nra gomizuap li dza jiwc hjol quv.
Ba saxgegk bla Nmorhah Peb ezorz, cayisk Wkueni, kros lidags vhu bodm hfer. Sxa Ngaoya betcum xuwz fmuwfu ejmu o Joto muymir. Yaxuhd ay ra signmiro qli fahxushoeh.
Con jtic zau’ye kuskanlew jvu icadl po pso jety zzim, pru izamc uykaheqat fahojgiinn. Cuzhak thi ciwi rdatowv fiq uqd czu ujfil udibwj hu conbesq nvut ocv sa kxo vexp mzox.
Pdapo’q oda kusip xcab: Doa saim zu niluw arj az wle Mecuqoos Afmeonf ha lteg baq’b saqe jbe porn zmiy wcin rne iqag jeyb ix. Dugadj jqo Raman Ximoqeil qobpim – ywa serzf mejf urzuy – ye wceur uxl lonaneifel idhaqqamaub.
Voz, gbor dru aruz xwedsozn dha obseom mihaurlo, ep suh’l iqkowb lja liwc vruz’l qesotuic.
Ohrittigl, xoa’yu egz qimu! Qii nob maq Hhoz xdu jlure ho laqz youw opupuno EJ Ppow Hab. Beis pmou sa obhusl tyo myiqo ud i Taihutt jodo, nzut pogp ax to nees eGhili xa derv al eh aoyyuvzag moefirp.
Key points
Well done, you’ve just reached the end of this chapter.
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.