본문 바로가기

분류 전체보기175

[그래픽스] 기초 수학 (1) - 좌표계, 점, 행렬 * Computer Graphics Programming in OpenGL with C++ 책을 참고하였습니다. * 책을 번역한 것이 아닌, 제가 독학 후 책을 참고하여 설명하는 게시물입니다. 따라서 책에 없는 부연 설명이 있기도 하며, 의역 또는 오역, 오개념이 있을 수 있습니다. 피드백은 댓글을 남겨주세요. * 영어 용어를 최대한 한국어로 번역하지 않습니다. 처음부터 코드에서 사용되는, 또는 원서나 인터넷에서 사용되는 보편적 용어를 사용하여 개념을 잡는 것을 추천드립니다. ​ ​ 책의 챕터 3은 그래픽에 유용하게 사용될 수학적 기초를 소개합니다. 선형대수학의 기본 지식들을 포함하여 그래픽스 프로그램에서 자주 사용하는 공식들이 대부분이죠. 저는 이번 게시글에서 아주 기본적인 수학 부분은 생략하고, 새로.. 2020. 10. 15.
[C 프로그래밍 실습] 연산자 / 조건문 (Lab 02) Program 1 : '/', '%' 연산자 / if, else 조건문 Program 2 : '%' 연산자 사용하여 자릿수별 출력 Program 3 : 비트 연산자 (>>) 사용하여 16진수 바이트 단위 출력 Program 4 : 비트 연산자 (> 8) & 0x000000FF); printf("byte 2 : %02x\n", (hexa >> 16) & 0x000000FF); printf("byte 3 : %02x\n", (hexa >> 24) & 0x000000FF); return 0; } Program 4 24비트 트루칼라를 나타내는 RGB 표기법은 red, green, blue에 각각 8비트를 사용하여 색상을 표현한다. RGB 색상은 32비트로 저장되는데, 최하위 바이트로부터 red, green, b.. 2020. 10. 14.
[C 프로그래밍 실습] 자료형과 변수 / 전처리와 입출력 (Lab 01) Program 1 : 8진수, 16진수, 10진수 아스키코드로 문자 출력 Program 2 : 매크로 상수 (#define) 전처리 Program 3 : 문자의 8진수, 16진수, 10진수 아스키코드 출력 Program 4 : 문자형 연산 (문자와 정수 연산) Program 5 : getchar(), putchar() / 문자의 8진수, 16진수, 10진수 아스키코드 출력 Program 6 : 헤더파일 (.h), 매크로 상수 Program 7 : 좌측 정렬 출력, 우측 정렬 출력 Program 8 : 정수 실수 형변환 (캐스팅casting) Program 1 다음 조건을 만족하는 프로그램을 작성하시오. 아스키코드 값이 8진수로 041에서 045까지인 문자 출력 아스키코드 값이 16진수로 0x41에서 0x.. 2020. 10. 13.
[Español] Restaurant (스페인어 기초, 회화, 여행 스페인어, 식당, 주문) Vocabulario · salad : ensalada· hamburger : hamburguesa· sandwich : sándwich· cheese : queso· meat : carne· fish : pescado· sugar : azúcar· salt : sal· tomato : tomate· apple : manzana· orange : naranja· juice : jugo· coffee : café · person : persona· restaurant : restaurante· check : cuenta · pay : pagar - pago pagas paga pagan · table : mesa· cup : taza· glass : vaso · with : con· without : si.. 2020. 6. 22.
[OpenGL] OpenGL Extensions Viewer (Find the OpenGL Version) https://download.cnet.com/OpenGL-Extensions-Viewer/3000-18487_4-34442.html OpenGL Extensions Viewer OpenGL Extension Viewer is reliable software which displays the vendor name, the version implemented, the renderer name, and the extensions of the current download.cnet.com 2020. 6. 18.
[OpenGL] GLFW Documentation (Window Handling) https://www.glfw.org/docs/latest/window.html#window_hints GLFW: Window guide This guide introduces the window related functions of GLFW. For details on a specific function in this category, see the Window reference. There are also guides for the other areas of GLFW. Window objects The GLFWwindow object encapsulates both a window an www.glfw.org 2020. 6. 18.
[OpenGL] GLEW vs. GLAD https://www.reddit.com/r/opengl/comments/3m28x1/glew_vs_glad/ GLEW vs GLAD? I've been seeing a lot of people using GLAD lately and dropping GLEW. Are there any advantages in that library? www.reddit.com 2020. 6. 18.
[OpenGL] Learn OpenGL https://learnopengl.com/ Learn OpenGL, extensive tutorial resource for learning Modern OpenGL Welcome to OpenGL Welcome to the online book for learning OpenGL! Whether you are trying to learn OpenGL for academic purposes, to pursue a career or simply looking for a hobby, this book will teach you the basics, the intermediate, and all the advanced kn learnopengl.com 2020. 6. 18.
[Español] Travel (스페인어 기초, 회화, 여행 스페인어) Vocabulario · airport : aeropuerto · train : tren (m) · bus : autobús (m) · taxi : taxi (m) · ticket office : taquilla · hotel : hotel (m) · bank : banco · bathroom : baño · hospital : hospital (m) · supermarket : supermercado · museum : museo · street : calle · phone : teléfono · suitcase : maleta · passport : pasaporte (m) · ticket : boleto · money : dinero · reservation : reserva · my : mi · .. 2020. 6. 9.