8월, 2020의 게시물 표시

8/14 : Head-Locked Content

이미지
  https://developer.magicleap.com/en-us/learn/guides/head-locked-content-tutorial-unity Magic Leap를 착용했을 때 가상의 그림이 머리를 따라오게 설정할 수 있다.  세 가지 모드로 따라올 수 있는데, 빨간건 너무 느리고 파란건 시각적 피로를 유발할 수 있기 때문에 초록색이 가장 무난한 방법인 듯. 

8/13 : Machine Learning with Unity

Machine Learning with Unity  <Remind> 최종 목표 - Magic Leap 를 쓰고 컨트롤러로 숫자를 적는다. - 숫자를 보고 트리거를 누르면 사진을 찍는다.  - 찍은 사진을 자르고 줄여서 16*16 흑백 파일로 만든다. - CNN으로 분석 - 과정을 visualization 이제 Unity랑 Magic Leap에 어느정도 적응을 한 것 같다.  다시 본 프로젝트로 돌아가서, CNN의 작동 과정을 visualizing 해주는 프로그램을 만들어 보자.   C#도 아직 한참 모르고 머신러닝도 처음이라 우선 유니티에서 머신러닝을 구현하는 연습이 필요할 것 같다.  https://www.youtube.com/watch?v=mJh31T3aGkI 8/13- 8/14까지 이 강좌를 다 들을 것. #1. 개발환경 준비하기 1> git 다운로드, Unity ML-agents 패키지 다운로드 2> Anaconda3_5.1.0 다운로드 : 운영체제와 상관없이 독자적인 개발환경을 제공해주는 프로그램. python 3.6 을 지원하는 아나콘다를 사용해야 해서 버전 잘 확인해야 함. 3> Anaconda prompt 실행     - conda create -n ml-agents python=3.6 입력 : ml-agents를 포함하는 python 3.6 프로젝트를 만들 것이다      - conda activate ml-agents : ml-agents를 로드할 것이다     -  pip install --upgrade pip     

8/12

이미지
  #2020.08.12 *오늘 할 일 1. C로 Cellular Automata 구현해보기 2. Unity Scene에서 카메라가 어떤 역할을 하는 친구인지, 걔가 Magic leap의 카메라와 어떻게 연동되는 건지 알아보기 3. 버튼을 누를 때 마다 구가 하나씩 떨어지게 수정해보기 4. Magic leap에서 시점 설정? 하는거 공부하기 *오늘 한 일 1. C로 Cellular Automata 구현해보기 - 코드 < 개발환경: VS 2019>

8/11

# 2020.08.11 *오늘 한 일 1. Unity 물리엔진 공부 2. 공부한 내용 활용해서 이것저것 재밌는 거 연습해보기     - 큐브 떨어뜨리기, 떨어뜨려서 튕기기, 16개 한번에 튕기기, plane 5개 만들어서 가둬놓고 튕기기     - 구 쌓아올려서 튕기기 3. Unity project를 Magic leap로 옮기는 과정 연습     - 저번에 magic leap tutorial sample 한번 옮겼던건 초록색 빔 잘 작동. 큐브도 성공한 것 같은데, 어디에 놓였는지 찾는게 어려움.      - 오늘 만든 큐브 16개 튕기는 거 옮겨봄. 아직 사용자 위치에 따라 어디 놓을지 결정하는 건 어떻게 하는지 몰라서 (0,0,1) 로 설정하고 해봤는데 찾으면 이미 다 떨어진 뒤     - 그래서 Unity에서 시간 지연시키는 기능(InvokeRepeat)을 사용, 5초 기다린 후 4초마다 구를 떨어뜨려 쌓아올리는 프로젝트 작성함. Unity로 옮기는 건 성공했는데, 역시 시점이 잘 맞지 않아서 관찰이 어려웠음.      4. Magic Leap에서 촬영한 동영상 컴퓨터로 가져오기 *내일 할 일 1. Magic leap에서 시점 설정? 하는거 공부하기 2. Unity Scene에서 카메라가 어떤 역할을 하는 친구인지, 걔가 Magic leap의 카메라와 어떻게 연동되는 건지 알아보기 3. 버튼을 누를 때 마다 구가 하나씩 떨어지게 수정해보기 4. C로 Cellulat Automata 구현해보기 +.  Magic leap로 공간을 인식하고, 빈 공간에서 큰 공들이 뛰어다니게 하고 싶은데. 어떻게 하면 좋을까

8/4 ~ 8/10 : Unity Development 2_Control Input

이미지
https://developer.magicleap.com/en-us/learn/guides/unity-user-input-overview 1. Control 6DOF (6 Degrees of Freedom) https://developer.magicleap.com/en-us/learn/guides/control-6dof-tutorial-unity - Unist Setup&Hello, Cube - Frane Definition - Setup the Scene : As the Cube will be very long but very thin, we use an Empty Gameobject serving as the parent node of our Cube. In this way we will be able to handle our Cube more easily, using its edge as its position instead of its center.         => create empty Game object name Beam-> Beam 우클릭-> (3D object->Cube)     => project창에서 Assets 우클릭-> Create-> Create Material name Selected-> 초록색으로 바꾸기-> Cube GameObject에 Selected를 Drag&Drop - Control C# Script           => Select Beam GameObject-> Add Component-> New Script name Control6DOF      => 다음 코드 작성하기 using System.Collections; using System.Collections.Generic; using Uni...

8/3 : Unity Development 1_Unity Setup

이미지
1. Unity Setup https://developer.magicleap.com/en-us/learn/guides/get-started-developing-in-unity -  Unity 2019.3.xx (build support: Lumin OS)       =>  https://unity3d.com/get-unity/download * 2019.4.xx를 사용하면 잘 작동하지 않는다.  - Magic Leap Lab download      =>  https://developer.magicleap.com/en-us/learn/guides/develop-setup     package maneger 에서 Unity bundle 다운 - Project Setup https://developer.magicleap.com/en-us/learn/guides/unity-setup     => project -> new-> 2019.3.xx-> create a new project-> 3D     => edit-> preferences-> external tools-> Browse Lumin SDK (version folder)                C:/Users/CDT/MagicLeap/mlsdk/v0.24.1     => file-> build settings-> lumin-> switch platform     => window-> pakage manager-> advanced-> show preview packages-> yes     => magic leap XR p...

Researching Map : 2020-1 _ Design Inteligence Lab

Goal Developing an AR-glass contents for Megic Leap device using Unity which can help students understand about deep-learning mechanism Order 1. <Week 1> Watch all the tutorials from Magic Leap developer website.  - Understand the concept of making applications for AR-glass - Understand how to use ZI 2. <Week 1> Watch all the tutorials from Magic Leap customer website. - Understand how to use controler, how users feel for the given UI, what should be better,  and get inspirations for the UX making when designing my own app 3. <Week 1-2.5>Study Unity and C++ - Follow the directions from Youtube and be familiar with Unity. - Start from the very beginning so that I can be able to use it in the future for other purposes. 4. <Week 2.5-4>Make AR-glass app on my own using Unity - Learn how to convert Unity file into app. - Then connect AR-glass with computer and test. 5. <Week 3-4>Design a new application for deep-learning contents - consider UX/UI - stu...