전체 글163 [C++] Header-only Library Header-only Library 라이브러리를 구성하는 매크로, 함수, 클래스 등이 모두 헤더 파일 안에서 정의되어 컴파일러에게 보여지는 라이브러리 Header-only Library의 장점 추상화(구현의 구체적인 사항을 사용자에게로부터 숨김)하여 헤더파일+라이브러리(.dll, .lib, .dylib 등)의 구성으로 배포하는 일반 라이브러리와 달리, 운영체제별 컴파일 또는 복잡한 경로설정이 필요 없다. 빌드할 필요 없이 파일을 코드에 포함시키기만 하면 된다. 따라서 멀티플랫폼 지원이 가능하다. + 라이브러리가 템플릿 코드인 경우 header-only 형태로 구현/배포하는 것이 필수적이다. Header-only Library의 단점 - 라이브러리를 수정할 경우 해당 라이브러리를 사용하는 모든 컴파일 단위.. 2022. 3. 31. [Software Engineering] Agile : Camera Motion Sensing Project for Home Security (팀프로젝트) https://github.com/bacchusdd/SoftwareEngineering GitHub - bacchusdd/SoftwareEngineering: 'Camera Motion Detector' project for 2021-1 software engineering class 'Camera Motion Detector' project for 2021-1 software engineering class - GitHub - bacchusdd/SoftwareEngineering: 'Camera Motion Detector' project for 2021-1 software engineering class github.com https://github.com/bacchusdd/SoftwareEngine.. 2022. 3. 18. (Draft) Texture Mapping, 3D Models, Lighting * 이 게시물은 추후 archive될 예정입니다. 5.1 Loading Texture Image Files 5.2 Texture Coordinates 5.3 Creating a Texture Object 5.4 Constructing Texture Coordinates 5.5 Loading Texture Coordinates into Buffers 5.6 Using the Texture in a Shader: Sampler Variables and Texture Units 5.7 Texture Mapping: Example Program 5.8 Mipmapping 5.9 Anisotropic Filtering 5.10 Wrapping and Tiling 5.11 Perspective Distortion .. 2022. 3. 10. (Draft) Managing 3D Graphics Data : Highlights & Codes * 이 게시물은 추후 archive될 예정입니다. a buffer to a vertex attribute directly to a uniform variable 4.1 Buffers and Vertex Attributes init() display() Vertex Buffer Object Vertex Array Object one will be sufficient GLuint vbo[2]; glGenBuffers(2, vbo); We store those IDs in the integer arrays vao and vbo. Vertex attributes are generally the first variables declared in a shader. this vertex attribute will b.. 2022. 3. 10. [그래픽스] 투영 행렬, Look-At 행렬, GLSL 변환 행렬 함수 (Projection Matrices, Look-At Matrices, GLSL Functions for Transformation Matrices) * 이 게시물은 Computer Graphics Programming in OpenGL with C++ 책의 일부를 번역 및 재해석한 게시물입니다. 의역 또는 오역이 있을 수 있으니 참고하시고, 피드백은 댓글을 남겨주세요. 투영 행렬 (Projection Matrices) 우리가 카메라를 설치하였기 때문에, 프로젝션 행렬을 검토할 수 있습니다. 우리가 이제 검토할 두 가지 중요한 프로젝션 행렬은 원근(perspective)과 직교(orthographic)입니다. 1. 원근 투영 행렬 (Perspective Projection Matrices) 원근 투영은 원근의 개념을 활용함으로써 우리가 현실 세계를 볼 때 보는 것을 모방하여 2D 그림을 3D처럼 보이게 합니다. 가까운 오브젝트는 멀리 떨어져 있는 오브.. 2022. 3. 7. [그래픽스] 공간(Local Space, World Space, Eye Space) 간 변환 * Computer Graphics Programming in OpenGL with C++ 책을 참고하였습니다. * 책을 번역한 것이 아닌, 제가 독학 후 책을 참고하여 설명하는 게시물입니다. 따라서 책에 없는 부연 설명이 있기도 하며, 의역 또는 오역, 오개념이 있을 수 있습니다. 피드백은 댓글을 남겨주세요. * 영어 용어를 최대한 한국어로 번역하지 않습니다. 처음부터 코드에서 사용되는, 또는 원서나 인터넷에서 사용되는 보편적 용어를 사용하여 개념을 잡는 것을 추천드립니다. Local Space OpenGL 또는 다른 프레임워크들로 3D 그래픽스를 사용하는 목적은 주로 3차원의 세상을 구현하고 그 속에 오브젝트를 배치하여 모니터로 보는 것입니다. 3D 오브젝트 모델을 처음 생성할 때에는, 모델을 가장 .. 2022. 3. 2. [English] Future World in Technological View (Metaverse, AI, Blockchain) Metaverse is a portmanteau of 'meta' and 'universe'. It is a hypothesized iteration of the Internet, supporting persistent online 3d virtual environments through conventional personal computing, as well as virtual and augmented reality headsets. Several components of metaverse technologies have already been developed within modern internet-enabled video games. People usually think metaverse is o.. 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. 이전 1 2 3 4 5 6 7 ··· 19 다음