본문 바로가기

RealityKit & ARKit3

RealityKit - 기본 머터리얼과 텍스쳐 What is Material?? 머터리얼은 프로토콜이다. Material | Apple Developer Documentation A type that describes the material aspects of a mesh, like color and texture. developer.apple.com 💡 RealityKit에서 머티리얼은 3D 모델의 표면 속성을 정의 머티리얼은 색상, 광택 또는 반사 여부 등 RealityKit이 엔티티를 렌더링하는 방법 지정 모델 엔티티는 RealityKit이 전체 엔티티를 렌더링하는 방식을 정의하는 머티리얼이 하나 있을 수도 있고, 모델 일부분을 정의하는 여러 머티리얼이 있을 수도 있습니다. 현실 세계의 오브젝트를 매우 사실적인 방식으로 시뮬레이션할 수 있는 다.. 2023. 8. 8.
RealityKit - 기본 Interaction과 외부 모델 ARView에서 탭 인식하기 실제 아이폰 스크린을 통해 탭 한 위치에 존재하는 RealityKit 가상 공간의 영역의 위치로 인식하는 방법 간단하게 ARView에 존재하는 Entity 탭하기 1. UIKit을 메서드를 통한 ARView에서 탭한 좌표 받기 let tapLocation: CGPoint = recognizer.location(in: view) ⇒ UIKit에서 탭을 한 곳의 좌표를 받아오는 함수 2. ARView에서 탭한 좌표에 entity를 받아오기 entity(at:) | Apple Developer Documentation Finds the entity in the AR scene closest to the specified point. developer.apple.com let ent.. 2023. 7. 29.
RealityKit - 기본 구조와 기본 Object 생성 기본 구조와 기본 Object 생성하기 WWDC의 가장 기초적인 설명 Building Apps with RealityKit - WWDC19 - Videos - Apple Developer Gain a practical understanding of RealityKit capabilities by developing a game using its easy-to-learn API. Learn the recommended... developer.apple.com ARView → Scene → Anchor → Entity의 구조 기초적인 AR 가상 객체 생성 흐름 ARView를 생성한다 (Scene이 내부 속성{ 클래스 }에 존재함) scene 내부에는 anchors가 인스턴스가 존재함 anchor를 설정한다 .. 2023. 7. 24.