扫描环境并使用 ARKit 创建纹理网格

金属世界纹理扫描

扫描环境并使用 ARKit 创建纹理网格

guitar_scan.mov


This project demonstrates how to scan the environment and capture a region as a textured mesh using only built in iOS frameworks.

The ARSession passes the ARAnchors to the Renderer where the world mesh is trimmed to what’s inside of a bounding box and displayed using Metal. Camera frames can be saved and used to texture the mesh when you are done scanning.

There are also export and load methods included for demonstrating saving a mesh and texture.

GitHub

点击跳转