Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 C++ DirectX Projects
-
bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Project mention: Just found out about Zig and wonder what would be the best graphics library to pair with it? | reddit.com/r/Zig | 2023-02-01If you want juste a renderer, you can use BGFX, there is a zig binding that is not a third party.
-
Baldur explains why he won't implement bindless texture support in this issue: https://github.com/baldurk/renderdoc/issues/850
-
Sonar
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
The-Forge
The Forge Cross-Platform Rendering Framework PC Windows, Linux, Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
Project mention: SoLoud - Game Audio Engine ที่ใช้งานง่าย (มาก) และ opensource สำหรับ C++ | dev.to | 2023-01-29 -
Project mention: ⟳ 4 apps added, 43 updated at f-droid.org | reddit.com/r/FDroidUpdates | 2022-02-09
Ogre Sample Browser (version 13.2.4): Object-Oriented Graphics Rendering Engine - Samples
-
xray-16
Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
Yes. It's a based on a fork from Open X-ray.
-
DirectXTK
The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++
DirectXTK 12 (includes SimpleMath and other goodies)
-
LLGL
Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
DirectXTex
-
DirectXMath
DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
Alongside MiniEngine, you’ll want to look into the DirectX Toolkit. This is a set of utilities by Microsoft that simplify graphics and game development. It contains libraries like DirectXMesh for parsing and optimizing meshes for DX12, or DirectXMath which handles 3D math operations like the OpenGL library glm. It also has utilities for gamepad input or sprite fonts. You can see a list of the headers here to get an idea of the features. You’ll definitely want to include this in your project if you don’t want to think about a lot of these solved problems (and don’t have to worry about cross-platform support).
-
surprised to not see anyone mention https://shadertoy.com
also check out bonzomatic:
https://github.com/Gargaj/Bonzomatic
You can find some live bonzomatic shader coding vids on youtube too:
-
DirectXTK12
The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
DirectXTK 12 (includes SimpleMath and other goodies)
-
I think the 5900 is holding you back. I have 5800x3d and in dragons end FPS stays over 60 most of the time. I also use dx12 API proxy: https://github.com/megai2/d912pxy
-
dxwrapper
Fixes compatibility issues with older games running on Windows 10 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
Project mention: playing Diablo 1 on windows 7. how do I fix the colors? | reddit.com/r/Diablo | 2023-01-12 -
Project mention: Bucaneering games. (Basically being a pirate - but not pirating games) | reddit.com/r/opensourcegames | 2022-09-21
If you are fine with open source engine + proprietary data then you can check: https://store.steampowered.com/app/223330/Sea_Dogs_To_Each_His_Own__Pirate_Open_World_RPG/ Engine source code: https://github.com/storm-devs/storm-engine
-
goverlay
DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game (by hiitiger)
-
D3D12 Memory Allocator
-
HyperHDR
Open source ambient lighting implementation for television sets based on the video and audio streams analysis for Windows, macOS and Linux (x86 and Raspberry Pi). Includes real-time HDR tone mapping and multi-threading for better performance.
-
DirectStorage
DirectStorage for Windows is an API that allows game developers to unlock the full potential of high speed NVMe drives for loading game assets.
Project mention: DirectStorage Performance Compared: AMD vs Intel vs Nvidia | reddit.com/r/hardware | 2023-01-14The github repo has some command line parameters.
-
Project mention: Introducing librashader - A complete reimplementation of the RetroArch shader pipeline | reddit.com/r/emulation | 2023-01-20
not perfect but best solution i often use ShaderGlass
-
GOESP
Cross-platform streamproof ESP hack for Counter-Strike: Global Offensive, written in modern C++. Rendering and GUI powered by Dear ImGui + FreeType.
-
-
I have built the Unreal VR Injector from GitHub - TheNewJavaman/unreal-vr: Adds virtual reality support to flatscreen Unreal Engine games but I can't figure out how to launch it.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ DirectX related posts
- Learning DirectX 12 in 2023
- Primeiro release da Supernova Engine
- First release of Supernova Engine
- New tilemap sample in Supernova Engine (link in comments)
- Introducing librashader - A complete reimplementation of the RetroArch shader pipeline
- ffxi running slow on my pc.
- DirectStorage Performance Compared: AMD vs Intel vs Nvidia
-
A note from our sponsor - Sonar
www.sonarsource.com | 4 Feb 2023
Index
What are some of the best open-source DirectX projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | bgfx | 12,642 |
2 | renderdoc | 7,062 |
3 | The-Forge | 3,425 |
4 | Ogre 3D | 3,125 |
5 | xray-16 | 2,275 |
6 | DirectXTK | 2,214 |
7 | LLGL | 1,543 |
8 | DirectXTex | 1,455 |
9 | DirectXMath | 1,242 |
10 | Bonzomatic | 1,175 |
11 | DirectXTK12 | 1,129 |
12 | d912pxy | 1,004 |
13 | dxwrapper | 801 |
14 | storm-engine | 709 |
15 | goverlay | 569 |
16 | D3D12MemoryAllocator | 502 |
17 | HyperHDR | 452 |
18 | DirectStorage | 424 |
19 | ShaderGlass | 411 |
20 | GOESP | 383 |
21 | harfang3d | 314 |
22 | unreal-vr | 205 |
23 | Rootex | 181 |