This repository is the code to support my A Simple Triangle
series of blog posts on my main Github page which is all about getting an OpenGL and Vulkan renderer up and running using cross platform C++.
The list of all articles can be found here:
Or you can jump directly to the individual articles for each code folder in this repository via these links:
- 01: Introduction
- 02: Setup console app
- 03: Setup MacOS app
- 04: Setup iOS app
- 05: Setup Android app
- 06: Setup Emscripten app
- 07: Setup Windows app
- 08: Refactor foundation
- 09: Load a 3D model
- 10: OpenGL render mesh
- 11: OpenGL texture mapping
- 12: Scenes and update loop
- 13: Vulkan introduction
- 14: Vulkan setup console
- 15: Vulkan setup MacOS
- 16: Vulkan setup iOS
- 17: Vulkan setup Android
- 18: Vulkan setup Emscripten
- 19: Vulkan setup Windows
- 20: Vulkan create device
- 21: Vulkan create swapchain
- 22: Vulkan create render pass
- 23: Vulkan create frame buffers
- 24: Vulkan render loop
- 25: Vulkan shader pipeline
- 26: Vulkan load meshes
- 27: Vulkan load textures
- 28: Vulkan render scene
- 29: Window resize events
- 30: Basic user input
I have published the source code in this repository under the MIT licence so you are welcome to use it any way you want, however my written blog articles themselves are copyrighted by me. By all means read the articles and use them to learn from (hopefully!) however do not take them and repurpose them in any way.
.:: END ::.