증강 면을 위한 맞춤 텍스처 및 3D 모델을 만드세요.
증강된 얼굴을 구현하려면 식별된 얼굴 메시에 오버레이할 맞춤 텍스처와 모델이 필요합니다. 이러한 애셋은 아티스트가 3D 모델링 및 애니메이션 소프트웨어에서 미리 만들고 FBX 파일로 내보냅니다.
표준 파일
SDK는 canonical_face_mesh.fbx
파일 및
canonical_face_mesh.psd
파일을 사용하여 아티스트가 오버레이할 애셋을 만들 수 있음
제대로 작동합니다. 이러한 파일은
assets/canonical_face_mesh.fbx
폴더.
FBX 파일로 3D 모델 만들기
FBX 파일에는 얼굴 메시 토폴로지, UV 텍스처 좌표 및
얼굴 인식 부위를 만들고 이를 위해 제공되는
애셋 연결 FBX 파일이 ARCore와 호환되도록 하려면
저장할 수 있습니다.
이 파일에는 함께 내보내면 안 되는 참조 facemesh
이(가) 포함되어 있습니다.
마지막 FBX입니다. ARCore에서 별도의 얼굴 메시를 생성하고
런타임 환경입니다
PSD 파일로 2D 텍스처 만들기
.psd
얼굴 메시 참조 텍스처는 특정 텍스처에 의해 생성된
아티스트가 런타임 시 사용자의 얼굴 특징에 맞춰 라인업을 만듭니다. 여기에는 다음이 포함됩니다.
네 가지 레이어가 있습니다
- 마스크: 텍스처에서 눈, 코, 입의 위치를 표시합니다.
- 선: 사용자의 얼굴 특징이
질감이 표현됩니다.
- UV: 468포인트 얼굴 텍스처 메시의 삼각측량을 나타냅니다.
- 배경: 다른 3개의 배경 이미지를 만들기 위한 중간색 회색 배경 레이어
구성요소를 시각적으로 명확하게 표시합니다.

PSD 파일을 수정하는 경우
내보내기.
표준 얼굴 메시 맞춤설정
SDK에 포함된 assets/canonical_face_mesh.fbx
를 사용하여 모델과 텍스처를 만드는 경우 FBX 파일을 내보낼 때도 다음 설정이 필요합니다.
맞춤 메시에 연결된 뼈 또는 영역에 스킨이 적용되어 있는지 확인합니다.
다음 계층 구조를 사용하세요.
asset
|__root
| |__NOSE_TIP
| |__FOREHEAD_RIGHT
| |__FOREHEAD_LEFT
|__facemesh <-- for reference
|__ <-- place additional custom 3D meshes here
포함된 facemesh
모델을 내보내지 마세요. 이 메시는 참고용입니다.
ARCore는 런타임에 별도의 얼굴 메시를 만듭니다. 맞춤 얼굴 메시 텍스처를 만들 때 facemesh
의 UV를 참조로 사용합니다.
맞춤 메시지를 asset
노드의 하위 요소로 배치합니다.
네임스페이스 사용이 지원됩니다.
애셋에 root
및 NOSE_TIP
로 구성된 4개의 본이 포함되어 있습니다.
FOREHEAD_RIGHT
, FOREHEAD_LEFT
리전 이러한 본의 이름은 변경하지 마세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-10-16(UTC)
[null,null,["최종 업데이트: 2024-10-16(UTC)"],[[["Augmented Faces uses customized 3D models and 2D textures, created by artists and exported as FBX files, to overlay onto detected faces."],["ARCore provides canonical FBX and PSD files to aid in the creation of these assets, ensuring proper alignment with detected facial features."],["When exporting custom FBX files, ensure proper hierarchy, skinning, and bone naming to maintain compatibility with ARCore's runtime face mesh generation."],["The provided PSD file helps artists align 2D textures with facial features using layers for masks, guidelines, UVs, and background."]]],["Artists create custom 3D models and 2D textures in FBX and PSD formats for overlaying on detected face meshes. The SDK provides `canonical_face_mesh.fbx` and `.psd` files for guidance. The FBX file defines face mesh topology and facial regions; `.psd` guides texture alignment with features, using layers for masks, lines, UVs, and background. When exporting custom FBX files, ensure custom meshes are skinned to specified bones and follow the outlined hierarchy, excluding the reference `facemesh`.\n"]]