Hazel
Open-Source Vulkan C++ API
Hazel | Open-Source Vulkan C++ API | |
---|---|---|
9 | 36 | |
11,223 | 2,921 | |
- | 1.0% | |
1.8 | 9.1 | |
14 days ago | 7 days ago | |
C++ | C++ | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Hazel
-
How I Added Continuous Integration (CI) to a C++ Project
I used a workflow template for MSBuild-based projects. When doing this lab exercise I referred to this video by TheCherno, who used the same template for his Hazel Game Engine developed using Visual Studio. The Microsoft Build Engine, MSBuild, is what Visual Studio uses to load and build managed projects. Since I'm also developing my project using Visual Studio, this template seemed like the best option.
-
Recommendations on how to start a small Vulkan project
Don't write a full blown abstraction, you won't use it. Also Hazel is a great game engine which relies on Vulkan that you could use as well.
-
Is it worth building a game engine?
And sometimes I feel like 50% of those are copy-pasted from Hazel, which is also far from being commercially viable, despite its popularity.
-
Where are uint64_t and size_t coming from ?
They're coming from the precompiled header in that project: https://github.com/TheCherno/Hazel/blob/dcdbfe13ac1d06a1650f66719cb4f79ecf310c85/Hazel/src/hzpch.h
-
people working in C++ game dev, I need help and advice
https://github.com/TheCherno/Hazel there's a youtube series following the development of this engine, and other useful series on the same channel
- Creating a program that creates programs
-
The engine featuring Mednafen
Also, I just created premake configurations for the Vulkan SDK. Actually, this is only for the shader compiler and spirv-cross, so there might be more stuff from the SDK to be added.
-
Object-Oriented Entity-Component-System Design
IIRC, all those engines provide an ECS that could be compared to entt.
Also, there is Hazel[0] which is based on entt and is the subject of an amazing youtube series[1].
IMHO, tinier means less features, at that point what could be considered comparable?
[0] - https://github.com/TheCherno/Hazel
Open-Source Vulkan C++ API
-
what math is required?
It might be useful to maybe look at the Vulkan.hpp examples since you can do the same in about 200 lines of code. https://github.com/KhronosGroup/Vulkan-Hpp/blob/main/samples/15_DrawCube/15_DrawCube.cpp
- Vulkan-Hpp now provides C++20 module interface file
-
How do you guys organize everything?
Wow that library looks amazing, I'll definitely be using it. Bonus that it's official from the Khronos Group. https://github.com/KhronosGroup/Vulkan-Hpp
-
An idea to ease wrapping C libraries in C++.
Even auto-generated c++ wrappers like vulkan-hpp require lots of manual maintenance.
-
Anybody know why V-EZ has not been updated in 5 years?
Ultimately I went with vulkan.hpp RAII bindings, even though that way also has some learning curve and I couldn't find any documentation other than the RAII programming guide. It's great for getting started, but could use a complementary auto-generated API doc. There are also decent programming samples, which really suck for getting started, but otherwise do a good job of presenting concepts they focus on. Putting the available resources together I was able to get a project going in two weekends.
-
Using enum classes as bitmasks
This is exactly how the official Vulkan C++ API, Vulkan-Hpp does it. For the precise example mentioned in the blog post:
-
Recommendations on how to start a small Vulkan project
Or the vulkan.hpp RAII samples would be a good place?
-
What's the most hilarious use of operator overloading you've seen?
For a real-life example: consider the vk::raii namespace of Vulkan-Hpp, where the developers have posted examples. The vk::raii::su namespace has a bunch of free functions that one might think are associated with a Vulkan instance/object (in fact, the Vulkan Tutorial does implement them as member functions), but they are much nicer when used as pure functions. It keeps the class/struct definition itself nice and clean.
-
Vulkan-HPP + Vulkan C API == Aliasing Bugs!
final c++17 draft (N4659) first post-publication draft after c++20 (N4868) vulkan-structs.hpp (containing the vk::ImageCreateInfo definition) VkImageCreateInfo struct
What are some alternatives?
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)
froggy - Component Graph System experiment
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
gfxRenderEngine - A graphics rendering engine
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
Ahk2Exe - Official AutoHotkey script compiler - written itself in AutoHotkey
urho3d - Game engine
marley - "Many Awesome Retro Linux Emulators, Yay!" -- A bundle of gaming console emulators for the x86_64 Linux platform
Irrlicht - An automatically updated mirror of the Irrlicht SVN repository on sourceforge
habitat - Modern applications with built-in automation
OpenVDB - OpenVDB - Sparse volume data structure and tools