본문 바로가기

전체 글177

[Dictation] Riverdale S1 E1 #4-6 - So what was the highlight? ​ - Of my internship? The Toni Morrison book release party I organized, by far, at the end of the night, Tony Morrison, who is, as you know, my literally hero, he says to me, ​ - Yes. Yes. ​ - Don’t rush this time Betty. It goes by so fast, at your age. One summer can change everything. ​ - Wow. That’s so true. ​ - How was working for your dad? ​ - It was Pouring con.. 2022. 2. 15.
[Dictation] Riverdale S1 E1 #1-3 Our story is about a town, a small town, and the people who live in the town. From a distance, it presents itself like so many other small towns, all over the world. Safe. Decent. Innocent. Get closer, though, and you start seeing the shadows underneath. The name of our town is Riverdale. And our story begins, I guess, with what the Blossom twins did this summer. On the 4th of July, just after d.. 2022. 2. 15.
[VR] BCI(Brain-Computer Interface)와 VR 1. BCI (Brain-Computer Interface) BCI란 뇌와 외부 기계를 직접 연결하는 인터페이스를 말한다. BCI는 뇌파, 뇌세포의 전기적 신경 신호 등의 뇌 활동을 감지하고 이를 기계로 인식한다. 인식된 뇌 활동을 신호화하여 입출력 장치에 명령을 내릴 수 있다. 언어나 신체 활동을 거치지 않고도 컴퓨터에 명령을 실행할 수 있다는 점이 BCI 기술이 혁신적인 이유이다. 뉴욕타임즈가 선정한 21세기 8대 신기술에 BCI가 선정되었으며, MIT Technology Review가 꼽은 10대 차세대 기술에도 BCI가 포함된다. BCI는 삽입형 BCI, 부분적 삽입형 BCI, 비삽입형 BCI로 나뉜다. 컴퓨터공학, 전자공학, 로봇공학, 신경과학, 의학, 생체공학의 학문과 두루 연관이 있는 분야이.. 2022. 2. 15.
[Unity] 다이빙 게임 (팀프로젝트) PlayerController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class PlayerController : MonoBehaviour { private Vector2 m_Move; private bool is_parachute; private Rigidbody rb; private AudioSource ParaAudio; private AudioSource WindAudio; private AudioSource RipAudio; private AudioSource ItemAudio; private int para_num = 0.. 2022. 2. 15.
[Unity] 네모로직 3D Gameplay.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class GamePlay : MonoBehaviour { public Camera getCamera; private RaycastHit hit; private int death = 0; private int isover = 0; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { string objectName = null; if(Input.GetMouseButtonDown(.. 2022. 2. 15.
[Unity] Roll a Ball CameraController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraController : MonoBehaviour { public GameObject player; private Vector3 offset; // Start is called before the first frame update void Start() { offset = transform.position - player.transform.position; } // Update is called once per frame void LateUpdate() { transform.position = pl.. 2022. 2. 15.
[그래픽스] 그래픽 프로그래밍 설계 기말고사 1. Barycentric coordinates 설명하시오. 1) 정의 : 삼각형과 상대적으로 계산된 좌표를 말한다. 예를들어, 삼각형 ABC가 있다면, 세 정점 A, B, C를 각각 (1, 0, 0), (0, 1, 0), (0, 0, 1)의 좌표를 갖도록 축을 설정하여 상대적으로 좌표 공간을 생성하고, 삼각형 안 또는 밖에 있는 정점들의 위치값을 계산할 수 있는 좌표이다. 2) 특징 : 정점이 삼각형 내부에 있을 때만 모두 양수로 계산된다. 삼각형의 각도에 의존하 지 않는 성질이 있다. 3) 활용 : 삼각형에 대한 위치 결정에 사용된다. 내부의 점 또는 외부의 점을 설명하는 데에 해당 좌표를 활용할 수 있다. 또한, 삼각형을 interpolation 할 때 사용된다. 2. 변환은 모델링과 애니메이션에 .. 2022. 2. 9.
[그래픽스] 2D 애니메이션 (니모를 찾는 니모 아빠와 도리) #include "cg.h" #include "draw.h" int w = 1000; int h = 1000; float t = 0.0; void display() { glClear(GL_COLOR_BUFFER_BIT); glClearColor(0.2, 0.2, 1.0, 1.0); // center glColor3f(0.2, 0.2, 1.0); rect(vector2D(-0.1, 0.1), vector2D(0.1, -0.1)); // Nemo's body glPushMatrix(); glRotatef(20.0 * t, 0.0, 0.0, 1.0); glTranslatef(0.0, 0.5 + 0.05 * sin(4 * t), 0.0); glColor3f(1.0, 0.6, 0.0); ellipse(vector.. 2022. 2. 9.
[그래픽스] 나만의 드로잉 2022. 2. 9.