1. Unity 프로젝트 생성
Unity Hub에서 New Project → 3D (Core) 템플릿 → 프로젝트 이름 AMASS_Viewer → Unity 6000.0.51f1로 생성
2. NuGetForUnity 설치
Window → Package Manager → 왼쪽 상단 + → Add package from git URL 선택 후 아래 URL 입력
https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity
설치 완료되면 상단 메뉴에 NuGet 탭 생성됨
3. NumSharp 설치
NuGet → Manage NuGet Packages → NumSharp 검색 → 0.30.0 Install
설치 후 아래 에러 발생시 추가 패키지 설치 필요
Assembly 'NumSharp.dll' will not be loaded due to errors: Unable to resolve reference 'System.Runtime.CompilerServices.Unsafe'
→ NuGet에서 System.Runtime.CompilerServices.Unsafe 추가 설치로 해결
4. AMASS 데이터 준비
연구실 PC에서 AMASS 데이터셋 위치 확인 → CMU 서브셋의 01_05_poses.npz 파일 사용
npz 파일 내부 구조
poses : (4376, 156) / double — 52관절 × 3축 axis-angle, 메인 데이터trans : (4376, 3) / double — 프레임별 루트 위치betas : (16,) / double — 체형 파라미터