Unity

    06. ARCore - 자 만들기

    🔷 자 만들기 - 새 씬 생성 https://assetstore.unity.com/packages/2d/gui/icons/crosshairs-plus-139902 Crosshairs Plus | 2D 아이콘 | Unity Asset Store Elevate your workflow with the Crosshairs Plus asset from AssetBag. Browse more 2D GUI on the Unity Asset Store. assetstore.unity.com - Crosshairs 모델 임포트 - MainCamera 삭제 - 프리팹 2개 추가 - Sprite 타입 이미지 추가 - 이름 변경 : Point - Scale 조절 후 프리팹화 - 하이어라키 창에서 삭제 - - UI 구성 - ..

    05. ARCore - Face Tracking

    🔷 Face Tracking - 얼굴을 디텍팅해서 이미지를 씌우기 - 스노우 필터같은 것 🔶 unity - 새 씬 생성 - Main Camera 삭제 - 프리팹 2개 추가 - DefaultSessionConfig 복제 : FaceSessionConfig - - - - 빈 게임 오브젝트 생성 : FaceController - 컴포넌트 추가 - Augmented Faces Example Controller - 빈 게임 오브젝트 생성 : FaceAttatch - child로 fox_sample 프리팹 넣기 - fox_sample에 머티리얼 입히기 - 컴포넌트 추가 - AR Core Augmented Face Rig - Auto Bind 체크 - 연결 - 빈 게임오브젝트 생성 : FaceTexture - 컴포넌..

    04. ARCore - 로그캣

    🔷 ARCore - 로그캣 - monster가 camera를 따라오도록 처리 - 로그캣 🔶 monster가 camera를 따라오도록 처리 - 스크립트 생성 : MonsterMove - monster 프리팹에 추가 using System.Collections; using System.Collections.Generic; using UnityEngine; public class MonsterMove : MonoBehaviour { private Transform camTr; public float moveSpeed = 0.2f; void Start() { camTr = Camera.main.transform; } void Update() { Debug.Log($"transform = {transform.po..

    03. ARCore - 바닥 인식, 오브젝트 생성

    🔶 바닥 인식 - 빈 게임 오브젝트 생성 : PlaneVisualizer - 컴포넌트 추가 - Detected Plane Generator - DetectedPlaneVisualizer 연결 - build & run - 바닥으로 인식한 곳에 흰색으로 폴리곤이 생기는 것을 볼 수 있음 🔶 터치 시 오브젝트 생성 - 빈 게임 오브젝트 생성 : TouchMgr - 스크립트 생성 : TouchMgr - 스크립트 넣기 using System.Collections; using System.Collections.Generic; using UnityEngine; using GoogleARCore; public class TouchMgr : MonoBehaviour { private Camera arCamera; // ..

    02. ARCore - Feature point 시각화

    🔷 Feature point 시각화 - Feature point - Camera Focusing 🔶 Feature point - Main Camera 삭제 - - Cube 추가 : PointCloud - Collider 컴포넌트 삭제 - 머티리얼 생성 : PointCloud - Shader : ARCore/PointCloud - PointCloud 오브젝트에 위 머티리얼 적용 - 컴포넌트 추가 - Pointcloud Visualizer - Point Color : 색상 변경 - Build & Run - 위와 같이 feature points가 잡히는 것을 볼 수 있음 - 흐리게 보이는 것은 카메라가 초점을 못잡기 때문임 🔶 Camera Focusing - ARCore Device 오브젝트 - Session..

    01. ARCore - 설치

    🔷 AR Core 설치 🔶 document https://developers.google.com/ar/develop/unity/quickstart-android Android용 빠른 시작 | ARCore | Google Developers Google은 흑인 커뮤니티의 인종 평등을 증진하기 위해 최선을 다하고 있습니다. 방법을 참조하십시오. 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English 의견 보내기 Android용 빠 developers.google.com 🔶 초기 세팅 - Switch Platform : Android - Package Manager - +버튼 - Add package from git URL - URL 입력 - com.unit..

    04. Azure CosmosDB - Delete

    🔷 Delete Data 🔶 Unity - 현재 데이터 테이블 using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.WindowsAzure.Storage.Table; using MRTK.Tutorials.AzureCloudServices.Scripts.Domain; using UnityEngine; using UnityEngine.Events; namespace MRTK.Tuto..

    03. Azure CosmosDB - Read

    🔷 Read Data - PartitionKey와 RowKey를 비교하여 데이터를 가져옴 using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.WindowsAzure.Storage.Table; using MRTK.Tutorials.AzureCloudServices.Scripts.Domain; using UnityEngine; using UnityEngine.Events; name..