본문 바로가기

컴퓨터그래픽스

(10)
[OpenGL 공부] Camera (3) 학습을 위해 참고한 사이트https://learnopengl.com/Getting-started/Camera  LearnOpenGL - CameraCamera Getting-started/Camera In the previous chapter we discussed the view matrix and how we can use the view matrix to move around the scene (we moved backwards a little). OpenGL by itself is not familiar with the concept of a camera, but we can try to slearnopengl.com 목표View 행렬 이해하기오일러 각도에 기반한 Look around 카메라 구현..
[OpenGL 공부] camera (2) 학습을 위해 참고한 사이트 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 scene (we moved backwards a little). OpenGL by itself is not familiar with the concept of a camera, but we can try to s learnopengl.com 목표 사용자 입력에 따른 Walk around 카메라 정의 glm::vec3..
[OpenGL 공부] Camera (1) https://learnopengl.com/Getting-started/Camera LearnOpenGL - CameraCamera Getting-started/Camera In the previous chapter we discussed the view matrix and how we can use the view matrix to move around the scene (we moved backwards a little). OpenGL by itself is not familiar with the concept of a camera, but we can try to slearnopengl.com 목표View matrix의 구성OpenGL에서 카메라 설정 방법 및 예제 작성카메라 / 뷰 공간카메라를 정..
[OpenGL 공부] Coordinates 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 로컬 공간 : 개체가 생성되었을 때..
[OpenGL 공부] Transformations 학습을 위해 참고한 사이트 https://learnopengl.com/Getting-started/Transformations LearnOpenGL - Transformations Transformations Getting-started/Transformations We now know how to create objects, color them and/or give them a detailed appearance using textures, but they're still not that interesting since they're all static objects. We could try and make them move by learnopengl.com GLM OpenGL Mathematics의 ..
[OpenGL 공부] Textures (exercises) 학습을 위해 참고한 사이트 https://learnopengl.com/Getting-started/Textures LearnOpenGL - Textures Textures Getting-started/Textures We learned that to add more detail to our objects we can use colors for each vertex to create some interesting images. However, to get a fair bit of realism we'd have to have many vertices so we could specify a lot of colo learnopengl.com 1. 프래그먼트 셰이더를 수정하여 웃는 얼굴을 좌우 대칭시키기 #ve..
[OpenGL 공부] Textures (2) 학습을 위해 참고한 사이트 https://learnopengl.com/Getting-started/Textures LearnOpenGL - Textures Textures Getting-started/Textures We learned that to add more detail to our objects we can use colors for each vertex to create some interesting images. However, to get a fair bit of realism we'd have to have many vertices so we could specify a lot of colo learnopengl.com 지난 글에서 텍스쳐 매핑을 다루었지만 한 가지 의문점이 있었는데, 프..
[OpenGL 공부] Textures (1) 학습을 위해 참조한 사이트 https://learnopengl.com/Getting-started/Textures LearnOpenGL - Textures Textures Getting-started/Textures We learned that to add more detail to our objects we can use colors for each vertex to create some interesting images. However, to get a fair bit of realism we'd have to have many vertices so we could specify a lot of colo learnopengl.com 텍스쳐 좌표 텍스쳐 좌표는 2D 텍스쳐에서 각 x, y축에서 0~1의..