OpenGL(5)
-
LearnOpenGL - Camera
void mouse_callback(GLFWwindow* window, double xpos, double ypos); glm::vec3 cameraTarget = glm::vec3(0.0f, 0.0f, 0.0f); glm::vec3 cameraDirection = glm::normalize(cameraPos - cameraTarget); https://learnopengl.com/Getting-started/Camera LearnOpenGL - Camera Camera Getting-started/Camera In the previous chapter we discussed the view matrix and how we can use the view matrix to move around the sc..
2022.07.04 -
LearnOpenGL - Coordinate Systems
https://learnopengl.com/Getting-started/Coordinate-Systems LearnOpenGL - Coordinate Systems Coordinate Systems Getting-started/Coordinate-Systems In the last chapter we learned how we can use matrices to our advantage by transforming all vertices with transformation matrices. OpenGL expects all the vertices, that we want to become visible, to be learnopengl.com 지난 챕터에서 버텍스들을 변환 시킬 때 행렬을 이용하는 것의 ..
2022.06.30 -
LearnOpenGL (03) - Creating a window
https://learnopengl.com/Getting-started/Creating-a-window LearnOpenGL - Creating a window Creating a window Getting-started/Creating-a-window The first thing we need to do before we start creating stunning graphics is to create an OpenGL context and an application window to draw in. However, those operations are specific per operating system an learnopengl.com 사실 저도 이거 잘 이해는 못하고 그냥 하다보면 이해 될 것 같..
2022.06.20 -
LearnOpenGL (02) - Introduction
https://learnopengl.com/Getting-started/OpenGL LearnOpenGL - OpenGL OpenGL Getting-started/OpenGL Before starting our journey we should first define what OpenGL actually is. OpenGL is mainly considered an API (an Application Programming Interface) that provides us with a large set of functions that we can use to manipulate learnopengl.com 전문을 번역하고 옮겨적기에는 귀찮아서 대충 중요해 보이는 부분만 옮겨 적기로 했다. 어쩌면, 시간이 생..
2022.06.18 -
LearnOpenGL (01)
예전에 다이렉트X12 책을 사두고서 그냥 책장에 장식용으로 둔지 꽤 시간이 지났다. 이제 공부할 때가 된 것 같아서 펼쳐봤는데 정말... 이해하기가 힘들었다. 그 책의 서문인가 인터넷 어딘가에서 다이렉트X12를 공부하기 전에 다이렉트X11이나 OpenGL을 공부해두면 더 수월하게 이해할 수 있다는 걸 본 것 같아서 OpenGL을 먼저 공부하기로 했다. https://learnopengl.com/Introduction LearnOpenGL - Introduction Introduction Introduction Since you came here you probably want to learn the inner workings of computer graphics and do all the stuff th..
2022.06.18