목록OpenGL (11)
Scientia Conditorium

[OpenGL 009] Visual Studio 2022에서 GLSL 문법 확인 및 구문 강조 앞으로 쉐이더 코드를 작성할 일이 많은데 매번 별도의 Text 파일에 저장해서 가져왔다가 오타라도 나면 알아채기 힘듭니다. Visual Studio에서 자체적으로 GLSL 컴파일러를 지원해주면 좋겠지만, 아쉽게도 마이크로소프트는 DirectX의 HLSL을 밀어줘야하기 때문에 그럴 이유가 없습니다ㅎㅎ 하지만 고맙게도 여러 사람들이 Visual Studio Extension으로 만들어준게 있기 때문에 이를 사용하면 조금 더 수월하게 GLSL을 작성할 수 있습니다. 물론 완벽하게 동작되는 것은 아니며 간단한 키워드나 구문 강조, 오류 목록 확인 정도지만 없는 것보다는 좋습니다. 설치 방법은 아래와 같습니다. GLSL..
이전 글 : https://molonlabe.tistory.com/130 [OpenGL 007] 쉐이더 파일 생성 및 프로그램 수정이전글 : https://molonlabe.tistory.com/124 [OpenGL 006] 그래픽스 파이프 라인 및 간단한 쉐이더 프로그램이전글 : https://molonlabe.tistory.com/123 [OpenGL 005] Keyboard Callback 배경 색상 바꾸기이전글 : https://molonlabemolonlabe.tistory.comglfw는 더블 버퍼링과 V-sync 설정이 기본으로 설정되어 있습니다. 물론 이 설정들을 끄거나 바꿀 수 있습니다. 이 포스팅에서는 키보드 입력을 통해 V-sync 옵션을 끄고 키는 방법에 대해 다뤄보겠습니다. g..
이전글 : https://molonlabe.tistory.com/124 [OpenGL 006] 그래픽스 파이프 라인 및 간단한 쉐이더 프로그램이전글 : https://molonlabe.tistory.com/123 [OpenGL 005] Keyboard Callback 배경 색상 바꾸기이전글 : https://molonlabe.tistory.com/122 [OpenGL 004] Keyboard Callback 등록이전글 : [OpenGL003] Refresh Callback 함수 등록 [OpenGL003] Refmolonlabe.tistory.com 쉐이더 프로그램 수정이전 글에서 쉐이더 프로그램을 작성했지만 C스타일에 역슬래시까지 입력하면서 번거로운 작업을 진행했습니다. 앞으로쉐이더 프로그램을 종종 수정..

이전글 : https://molonlabe.tistory.com/123 [OpenGL 005] Keyboard Callback 배경 색상 바꾸기이전글 : https://molonlabe.tistory.com/122 [OpenGL 004] Keyboard Callback 등록이전글 : [OpenGL003] Refresh Callback 함수 등록 [OpenGL003] Refresh Callback 함수 등록이전글 : [OpenGL002] glew 설치 및 에러 수정 [OpenGL002] glewmolonlabe.tistory.com3D 그래픽스 파이프라인3D 그래픽스 파이프라인은 데이터를 입력받아 최종 화면에 출력되기 까지의 일련의 과정을 의미합니다. 여기서 매우 많은 데이터를 단계적으로 처리하는데 과정을..
이전글 : https://molonlabe.tistory.com/122 [OpenGL 004] Keyboard Callback 등록이전글 : [OpenGL003] Refresh Callback 함수 등록 [OpenGL003] Refresh Callback 함수 등록이전글 : [OpenGL002] glew 설치 및 에러 수정 [OpenGL002] glew 설치 및 에러 수정이전 글 : [OpenGL001] Visual Studio 2022 with OpenGL,GLFW (molonlabe.tistory.comKeyboard Callback 으로 배경 색상 바꾸기이전 포스팅에 이어 키보드 입력을 받아 화면 색상을 바꾸는 법을 알아보겠습니다. 각 객체들의 색상을 바꿀수도 있지만 가장 간단하게 배경 화면의 색상..

이전글 : [OpenGL003] Refresh Callback 함수 등록 [OpenGL003] Refresh Callback 함수 등록이전글 : [OpenGL002] glew 설치 및 에러 수정 [OpenGL002] glew 설치 및 에러 수정이전 글 : [OpenGL001] Visual Studio 2022 with OpenGL,GLFW (tistory.com) [OpenGL001] Visual Studio 2022 with OpenGL,GLFW※ 본 글은 Window10 + Visual Studmolonlabe.tistory.comKeyboard Callback 함수이전 포스팅에서는 Refresh 콜백 함수를 등록해보았습니다. refresh 콜백 함수를 통해 윈도우 창이 조절될 때마다 등록한 함수가 ..

이전글 : [OpenGL002] glew 설치 및 에러 수정 [OpenGL002] glew 설치 및 에러 수정이전 글 : [OpenGL001] Visual Studio 2022 with OpenGL,GLFW (tistory.com) [OpenGL001] Visual Studio 2022 with OpenGL,GLFW※ 본 글은 Window10 + Visual Studio 2022 버전에서 작성했지만 Window11에서도 동일합니다. 본격적인 컴퓨터molonlabe.tistory.com이전 코드 정리OpenGL 사용 방법을 알려주는 것이 목적이라면 굳이 이렇게 코드를 정리할 필요는 없습니다. 그러나 이 블로그에서는 개인적인 공부도 포함하여 작성하고 있기 때문에 중간중간 코드를 정리하고 있습니다. 먼저 모든..

이전 글 : [OpenGL001] Visual Studio 2022 with OpenGL,GLFW (tistory.com) [OpenGL001] Visual Studio 2022 with OpenGL,GLFW※ 본 글은 Window10 + Visual Studio 2022 버전에서 작성했지만 Window11에서도 동일합니다. 본격적인 컴퓨터 그래픽스에 앞서서 환경 설정 셋팅을 하도록 하겠습니다. 비쥬얼 스튜디오 설치 방법은 생molonlabe.tistory.comGLEWglew는 OpenGL Extension Wrangler Library 약자로 글루라고 하거나 한 글자씩 읽습니다. OpenGL 버전은 다양하지만 어떤 버전이든지 반드시 제공해야 하는 기능은 코어 라이브러리(core library)에 들어..

원문 : https://vulkan-tutorial.com/Development_environment [Vulkan003][번역] Vulkan Tutorial - 개발 환경(Development environment) Development environment - Vulkan Tutorial In this chapter we'll set up your environment for developing Vulkan applications and install some useful libraries. All of the tools we'll use, with the exception of the compiler, are compatible with Windows, Linux and MacOS, but the ..
원문 : https://vulkan-tutorial.com/Introduction [Vulkan] Vulkan Tutorial - Introduction Introduction - Vulkan Tutorial About This tutorial will teach you the basics of using the Vulkan graphics and compute API. Vulkan is a new API by the Khronos group (known for OpenGL) that provides a much better abstraction of modern graphics cards. This new interface allows you to bette vulkan-tutorial.com Abou..