ARKit(Plane, 수평면)

2020-08-06

ARKit Plane - 수평면

  • configuration.planeDetection = .horizontal // 수평면 감지
  • sceneView.debugOptions = [ARSCNDebugOptions.showFeaturePoints] //수평면 점 효과
Read More

ARKit Gesture사용하기

2020-07-24

ARKit Gesture사용하기

  • 기본 UITapGestureRecognizer사용하여 제스쳐를 감지할 수 있지만 RxGesture를 사용하여 Gesture를 감지해본다.
  • SPM(https://kocensd.github.io/Swift-Package-Manager/) 를 사용하여 RxGesture, RxSwift를 설치한다.
Read More

ARKit의 기본도형 표현하기

2020-07-22

ARKit 기본도형

  • ARKit에는 기본적으로 나타낼수 있는 모양의 도형이 있다. ```c //평면 직사각형 let plane = SCNPlane(width: 20.0, height: 20.0) plane.cornerRadius = 5.0 plane.cornerSegmentCount = 2 //모서리를 몇개의 segment로 만들것인가
Read More

ARKit

2020-07-21
  • 2년전에 https://github.com/kocensd/testAR에 .usdz 파일을 올리고 테스트를 해본적이 있지만 더 자세하게 알고 싶어져서 ARKit을 공부해보려고 함
  • 기본적으로 apple Document와 샘플코드를 작성하면서 내용을 정리할 예정임
Read More