• [c++]포인터와 참조

    1. 포인터(*)a* : a의 포인터포인터는 메모리 주소를 저장하는 변수 2. 주소연산자(&)&a : a의 주소변수의 메모리 주소를 얻을 때 사용 int x = 5;int*ptr = &x; // x의 주소를 ptr에 저장 3. 역참조 연산자(*)*ptr : 포인터가 가리키는 값포인터를 통해 실제 값에 접근할 때 사용int y = *ptr; //ptr이 가리키는 값을 y에 저장 4. 참조(&)int&ref = a; //a의 참조기존 변수의 별칭을 만들 때 사용int&ref = x; //x의 참조를 ref로 만듬 5. 화살표 연산자(->)obj->member : 포인터를 통해 객체의 멤버에 접근클래스나 구조체 포인터로 멤버에 접근할 때 사용Myclass *obj = new MyClass(); obj->Met..

  • [논문 리뷰] What if we have MetaGPT? From Content Singularity to Human-Metaverse Interaction in AIGC Era

    [논문 리뷰] What if we have MetaGPT? From Content Singularity to Human-Metaverse Interaction in AIGC Era

    What if we have MetaGPT? From Content Singularity to Human-Metaverse Interaction in AIGC Era 메타 GPT : AIGC시대의 콘텐츠 특이점에서 인간메타버스 상호작용까지 Lee, L. H., Zhou, P., Zhang, C., & Hosio, S. (2023). What if we have MetaGPT? From Content Singularity to Human-Metaverse Interaction in AIGC Era. arXiv preprint arXiv:2304.07521. 다음 논문의 배경이다. 2022년 이후로 메타버스 애플리케이션들의 활성 사용자 감소, 프로젝트 수 감소, 콘텐츠 부족, 그리고 사용성 문제로 인해 발전..

  • [Unity] VR EyeTracking Gaze data 추출

    [Unity] VR EyeTracking Gaze data 추출

    EyeTracking을 하기 위해 Gaze Method를 활용해 데이터를 추출할 것이다. https://docs.cognitive3d.com/unity/gaze-fixations/ Gaze / Fixations - Cognitive3D - Documentation Gaze and Fixations Gaze and Fixations are closely related. Gaze records the HMD position over time and the direction of the eyes at a set interval. Fixations use a dispersion technique to identify where the participant's eyes are steady and maintaini..

  • [유니티] 서버와의 영상 정보 불러오기

    [유니티] 서버와의 영상 정보 불러오기

    유니티 프로젝트 중 서버의 영상 정보를 불러 들어오는 작업이 있어 구조도를 작성해보았다. 크게 영상 정보, ID 정보등 다양한 정보들을 담고 있는 DataManager가 있다. [System.Serializable] // 직렬화 public class VideolInfo //비디오 정보 { public int shortFormNo; //영상 순서 public string title; //제목 public string thumbnailUrl; //썸네일 url public string url; //url public string description; //영상 설명 public string memberName; // 닉네임 public string date; //날짜 public bool isInterac..

  • [자료구조]스택과 큐

    [자료구조]스택과 큐

    1. 스택(Stack) : 후입선출의 형태로 가장 마지막에 들어온 값을 가장 먼저 처리하는 알고리즘 예를 들면, 웹페이지 뒤로가기와 같은 것. 내가 마지막에 방문했던 페이지를 뒤로 가기를 누름으로써 가장 먼저 처리하는 형태 using System; using System.Collections.Generic; using UnityEngine; public class Stack : MonoBehaviour { Stack stack = new Stack(); public void Start() { } public void Update() { //데이터 추가 stack.Push("사과"); stack.Push("딸기"); stack.Push("바나나"); //데이터 제거 while (stack.Count > 0..