All Projects β†’ alaingalvan β†’ vulkan-seed

alaingalvan / vulkan-seed

Licence: Unlicense license
πŸŒ‹πŸŒ± A Vulkan starter repo that you could use to get the ball rolling.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
GLSL
2045 projects

Projects that are alternatives of or similar to vulkan-seed

VulkanRenderer
Personal repo for learning the vulkan graphics api
Stars: ✭ 42 (-26.32%)
Mutual labels:  vulkan, glm
glm
OpenGL Mathematics (GLM)
Stars: ✭ 6,667 (+11596.49%)
Mutual labels:  vulkan, glm
enmSdm
Faster, better, smarter ecological niche modeling and species distribution modeling
Stars: ✭ 39 (-31.58%)
Mutual labels:  glm
ogl to vlk
Vulkan Tutorials For OpenGL Developers
Stars: ✭ 16 (-71.93%)
Mutual labels:  vulkan
umi-dva-antd-mobile-starter
Get started with Umi3.js and Ant Design Mobile.
Stars: ✭ 21 (-63.16%)
Mutual labels:  starter
firebase-spring-boot-rest-api-authentication
Firebase Spring Boot Rest API Authentication
Stars: ✭ 172 (+201.75%)
Mutual labels:  starter
vkhelpers
Vulkan c helper library
Stars: ✭ 25 (-56.14%)
Mutual labels:  vulkan
nuklear-glfw-vulkan
A nuklear adapter that does Vulkan rendering
Stars: ✭ 52 (-8.77%)
Mutual labels:  vulkan
GLM
Code for the General Lake Model
Stars: ✭ 30 (-47.37%)
Mutual labels:  glm
gfr
Graphics Flight Recorder (GFR) is a Vulkan layer to help trackdown and identify the cause of GPU hangs and crashes.
Stars: ✭ 49 (-14.04%)
Mutual labels:  vulkan
strapi-starter-gatsby-blog
Updated version of the first Gatsby starter with much more features
Stars: ✭ 140 (+145.61%)
Mutual labels:  starter
bgfx-header-extension-library
Header-only effects and helper library for Bgfx to help you hit the ground running. Includes a bunch of post processing filters to complete common graphical tasks
Stars: ✭ 35 (-38.6%)
Mutual labels:  vulkan
webvr-demo
A simple demo use WebVR API with pure webGL.
Stars: ✭ 30 (-47.37%)
Mutual labels:  starter
TvrboReact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-77.19%)
Mutual labels:  starter
nest-typescript-starter
Nest framework TypeScript starter (node.js)
Stars: ✭ 35 (-38.6%)
Mutual labels:  starter
drivers-linux-firmware
MOVED: https://gitlab.com/q3aql/drivers-linux-firmware
Stars: ✭ 28 (-50.88%)
Mutual labels:  vulkan
angular-lazy-loading
Angular 15 & React 18 Examples Lazy Loading
Stars: ✭ 39 (-31.58%)
Mutual labels:  starter
example-app
Example app showcasing fulls1z3's Angular libraries
Stars: ✭ 27 (-52.63%)
Mutual labels:  starter
DummyEngine
Small cross platform Vulkan/OpenGL 3d engine for personal experimentation
Stars: ✭ 76 (+33.33%)
Mutual labels:  vulkan
wgpu-mc
Rust-based replacement for the default Minecraft renderer
Stars: ✭ 254 (+345.61%)
Mutual labels:  vulkan

Cover Art

Vulkan Seed

cmake-img License

A Vulkan repo you can use to get started with your own renderer.

Setup

First install:

Then type the following in your terminal.

# πŸ‘ Clone the repo
git clone https://github.com/alaingalvan/vulkan-seed --recurse-submodules

# πŸ’Ώ go inside the folder
cd vulkan-seed

# πŸ‘― If you forget to `recurse-submodules` you can always run:
git submodule update --init

# πŸ‘· Make a build folder
mkdir build
cd build

# πŸ–ΌοΈ To build your Visual Studio solution on Windows x64
cmake .. -A x64

# 🍎 To build your XCode project On Mac OS for Mac OS
cmake .. -G Xcode

# πŸ“± To build your XCode project on Mac OS for iOS / iPad OS / tvOS / watchOS
cmake .. -G Xcode -DCMAKE_SYSTEM_NAME=iOS

# 🐧 To build your .make file on Linux
cmake ..

# πŸ€– To build your Android Studio project for Android
cmake .. \
-DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake \
-DANDROID_ABI=$ABI \
-DANDROID_NATIVE_API_LEVEL=$MINSDKVERSION \
-DXWIN_OS=ANDROID

# πŸ”¨ Build on any platform:
cmake --build .

Refer to this blog post on designing C++ libraries and apps for more details on CMake, Git Submodules, etc.

Project Layout

As your project becomes more complex, you'll want to separate files and organize your application to something more akin to a game or renderer, check out this post on game engine architecture and this one on real time renderer architecture for more details.

β”œβ”€ πŸ“‚ external/                    # πŸ‘Ά Dependencies
β”‚  β”œβ”€ πŸ“ crosswindow/                    # πŸ–ΌοΈ OS Windows
β”‚  β”œβ”€ πŸ“ crosswindow-graphics/           # 🎨 Vulkan Surface Creation
β”‚  └─ πŸ“ glm/                            # βž• Linear Algebra
β”œβ”€ πŸ“‚ src/                         # 🌟 Source Files
β”‚  β”œβ”€ πŸ“„ Utils.h                         # βš™οΈ Utilities (Load Files, Check Shaders, etc.)
β”‚  β”œβ”€ πŸ“„ Renderer.h                      # πŸ”Ί Triangle Draw Code
β”‚  β”œβ”€ πŸ“„ Renderer.cpp                    # -
β”‚  └─ πŸ“„ Main.cpp                        # 🏁 Application Main
β”œβ”€ πŸ“„ .gitignore                   # πŸ‘οΈ Ignore certain files in git repo
β”œβ”€ πŸ“„ CMakeLists.txt               # πŸ”¨ Build Script
β”œβ”€ πŸ“„ license.md                   # βš–οΈ Your License (Unlicense)
└─ πŸ“ƒreadme.md                     # πŸ“– Read Me!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].