instructions

ARKit series of articles directory

3D model making and loading

On the Mac platform, there are many 3D authoring tools that allow us to create the 3D models we need. Here are some free tools I recommend, based on my previous posts:

[SceneKit thematic] 18-MAC Common 3D Tools: Mainly talk about the basic knowledge of file format, introduce some free 3D material creation tools; [SceneKit thematic]19- The Use of MagicaVoxel,3D Voxel grid Modeling: The use of MagicaVoxel, how to import the model into Xcode; [ARKit Project]5- Loading custom geometry: Loads models with vertex data and how to load common 3D files with Model IO. [MetalKit]26-Model IO framework: Basic use of Model IO framework, and use with Metal framework;

If you need a Shader, you can go to ShaderToy and normalMap-online to create 3D animations without any KNOWLEDGE of 3D www.mixamo.com

3D model display and download site

Given that it’s almost impossible for developers to do all the modeling themselves, here are a few sites for displaying and downloading 3D models.

Famous foreign sites show 3D models with WebGL technology and provide download:

Google Polys: Poly.google.com 3D objects are free to download and compatible with AR/VR platforms such as Google’s ARCore and Apple’s ARKit.

sketchfab:sketchfab.com

marmoset:www.marmoset.co

artstation:www.artstation.com

Free 3D:free3d.com

Domestic sites also use WebGL technology to display 3D models:

Cut the epitaph: www.gizmohub.com

Model more guest: Modocker.com

Tencent Mill :mofang.qq.com/welcome

3 d online: www.ddd.online

3D picture terrain :www.altizure.com

Too empty fantasy www.arvrmrall.com

3 d punk: www.3dpunk.com

Domestic site, only pictures show:

CG models: www.cgmodel.com

Standing cool: www.zcool.com.cn

CGjoy:www.cgjoy.com

WWDC2018 new USDZ format and tools

Apple introduced a new AR sharing format, USDZ, at WWDC, as well as a collaboration with major manufacturers to launch authouring tools.

Format specification

The USDZ format is essentially a zip compression of pixar’s USD format (.usda or.USDC), which includes.USDC files and various textures. The.USDC file contains model, animation and material information. Other maps are optional.

graphics.pixar.com/usd/

Other tools

Adobe has launched Project Aero to support AR creation. The tool allows designers to create AR content using familiar Adobe applications such as Photoshop and Dimension CC. Adobe has opened the early Access registration window for Project Aero, and users can apply by visiting the company’s website.

Apple Conversion Tool

Apple provides a command-line tool, usDZ_Converter, that converts 3D models into.USDz files. And can map PBR textures to meshes and submeshes. This tool is integrated with Xcode10 and can be converted to:

  • OBJ file
  • Single-frame Alembic (ABC) file
  • USD file (.usda or.USDC)

The command format is

// Call usdz_converter with xcrun.
xcrun usdz_converter RetroTV.obj RetroTV.usdz
Copy the code

The tool can also convert PBR textures with -g:

// PBR textures can be applied to groups (meshes and submeshes) with the -g option.
 xcrun usdz_converter RetroTV.obj RetroTV.usdz
 -g RetroTVMesh
 -color_map RetroTV_Albedo.png
 -metallic_map RetroTV_Metallic.png
 -roughness_map RetroTV_Roughness.png
 -normal_map RetroTV_Normal.png
 -ao_map RetroTV_AmbientOcclusion.png
 -emissive_map RetroTV_Emissive.png
Copy the code

You can also use -v to print information such as group names

// Use the -v option to print out group names and other verbose information during conversion.
xcrun usdz_converter RetroTV.obj RetroTV.usdz -v
Copy the code