Mega Go 용 AR Session best practices
이 문서는 다양한 유형의 디바이스에서 최적의 runtime effect 를 얻기 위해 Mega Go 용 AR session 을 만들고 구성하는 방법을 설명합니다.
시작하기 전에
- AR Session의 기본 개념, 구성 및 workflow 를 이해합니다
- session 생성 방법을 이해합니다
Default configuration 의 session
대부분의 애플리케이션에는 default Mega Go session configuration 사용을 권장합니다. 이러한 configuration 은 대부분의 일반적인 사용 scenario 에 맞게 최적화되어 있습니다.
default session 은 다음 유형의 디바이스를 지원합니다.
- 6DoF motion tracking 을 지원하는 디바이스(일부 최신 phone 및 headset)
- 5DoF inertial navigation 기능을 지원하는 디바이스(gyroscope 및 accelerometer 가 있는 대부분의 Android phone)
Hierarchy view 의 blank 영역을 오른쪽 클릭하고 메뉴 EasyAR Sense > Mega > AR Session (Mega Go Default Preset) 를 통해 default Mega Go session 을 만들 수 있습니다.
해당 script code 는 다음과 같습니다.
ARSessionFactory.CreateSession(ARSessionFactory.ARSessionPreset.MegaGo_MotionTracking_Inertial)
이 session 은 MegaGo_MotionTracking_Inertial preset 을 사용합니다.
- frame source components 및 순서는 Preset AR Sessions 의 frame source groups에서 MegaGo_MotionTracking_Inertial preset 에 해당하는 frame source group 을 참고하십시오
- MegaGoTrackerFrameFilter.MinInputFrameLevel 는 FiveDof 입니다
다른 presets 선택
default Mega session configuration 외에도 구체적인 요구 사항에 따라 다른 presets 를 선택하여 session 을 만들 수 있습니다. 주요 차이는 지원하는 디바이스 유형입니다. 메뉴와 ARSessionFactory.CreateSession(ARSessionFactory.ARSessionPreset, ARSessionFactory.Resources) 를 사용해 session 을 만들 때 선택 가능한 presets 는 다음과 같습니다.
- MegaGo_MotionTracking
- frame source components 및 순서는 Preset AR Sessions 의 frame source groups에서 MegaGo_MotionTracking preset 에 해당하는 frame source group 을 참고하십시오
- MegaGoTrackerFrameFilter.MinInputFrameLevel 는 SixDof 입니다
- MegaGo_MotionTracking_Inertial (default)
- frame source components 및 순서는 Preset AR Sessions 의 frame source groups에서 MegaGo_MotionTracking_Inertial preset 에 해당하는 frame source group 을 참고하십시오
- MegaGoTrackerFrameFilter.MinInputFrameLevel 는 FiveDof 입니다
- MegaGo_MotionTracking_Inertial_3DOF
- frame source components 및 순서는 Preset AR Sessions 의 frame source groups에서 MegaGo_MotionTracking_Inertial_3DOF preset 에 해당하는 frame source group 을 참고하십시오
- MegaGoTrackerFrameFilter.MinInputFrameLevel 는 ThreeDof 입니다
- MegaGo_MotionTracking_Inertial_3DOF_0DOF
- frame source components 및 순서는 Preset AR Sessions 의 frame source groups에서 MegaGo_MotionTracking_Inertial_3DOF_0DOF preset 에 해당하는 frame source group 을 참고하십시오
- MegaGoTrackerFrameFilter.MinInputFrameLevel 는 ZeroDof 입니다
참고
Mega Go 는 다양한 유형의 디바이스에서 실행 효과가 서로 다릅니다. 자세한 내용은 Mega 가 지원하는 디바이스 및 platform applications을 참고하십시오.
다음 단계
관련 주제
- Frame sources를 읽고 frame sources 의 기본 개념 및 runtime frame source selection process 를 이해합니다
- Frame source group 추가를 읽고 frame source groups 의 configuration 및 사용 방법을 이해합니다
- Mega 가 지원하는 디바이스 및 platform applications을 읽고 Mega 가 지원하는 디바이스 및 다양한 디바이스에서의 runtime effects 를 이해합니다