전체 글
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 - 컴포넌..
06. 은근히 자주 쓰는 Git 명령어 모음
🔷 Git 명령어 모음 - add, commit, push, merge처럼 자주 쓰이는 명령어는 아니지만, 잊을만할 때쯤 쓰이는 명령어 모음 🔶 CRLF 개행 문자 차이로 인한 문제 해결 // 설정 git config --global core.eol native // 설정 확인 git config --global --list|grep core.eol 🔶 원격 레포지토리에 브랜치 생성 git push --set-upstream origin 브랜치명 git remote update 🔶 원격저장소에서 브랜치 가져오기 git checkout -t origin/브랜치명 🔶 원격저장소 커밋 삭제하기 // 원하는 커밋으로 reset한 후 git push -f origin 브랜치명 🔶 원격저장소 브랜치 삭제 git p..
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..
05. Git - add, commit, push 개념
🔷 개념 정리 🔶 예시 : 파일 1개 - 작업트리 : 우리가 작업하는 공간 - A, B, C라는 파일이 있다고 가정 - Stage / Index : 로컬 저장소에 저장할 파일들을 골라서 올려놓는 임의의 공간 - Staging(스테이징) : 스테이지에 작업물을 올리는 것 - add : add라는 명령어를 통해 A파일을 스테이징함 - 로컬저장소 : 스테이지에 올라온 파일들을 저장하는 공간 - commit : commit이라는 명령어를 통해 A파일을 로컬 저장소에 저장 - 원격저장소 : Git hub에 만들어놓은 저장소 - push : push라는 명령어를 통해 로컬저장소에 저장되어있는 A파일을 원격저장소에 저장 🔶 예시 : 파일 여러개 : 하나의 작업물 - 똑같이 A, B, C 라는 파일이 있음 - A, B..
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..