Vortice.Windows
DeBroglie
Our great sponsors
Vortice.Windows | DeBroglie | |
---|---|---|
5 | 2 | |
944 | 430 | |
- | - | |
7.3 | 4.9 | |
about 1 month ago | 7 days ago | |
C# | C# | |
MIT License | MIT License |
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.
Vortice.Windows
-
Seriously WTF C++?
There are quite a lot actually, even if we ignore engines and frameworks (though some of them are quite low level). Some of the biggest are Silk.NET, Vortice.Windows, SharpDX (the last one is dead but it still should work well).
-
What's the fastest way to get pixel data from a Bitmap?
In C#, that means you'll need something like Vortice.Windows or Silk.NET. If you just want WIC (and not a bunch of DirectX stuff, there's also a plain old WIC interop library. And if you don't mind a well-tested, yet end-of-life library, there's SharpDX.
-
3D Graphics Component
These days, you're better off with Vortice.Windows or Silk.NET.
-
DirectX in NativeAOT
For those looking for an alternative to SharpDX, Vortice.Windows is an option.
-
How do you manipulate individual pixels in C#?
Microsoft has refused to support it. There have been community-made managed wrappers for DirectX, but SlimDX died years ago and SharpDX was abruptly abandoned and its github archived in early 2019. There's a new one called Vortice that seems to be trying to pick up where SharpDX left off.
DeBroglie
-
WaveFunctionCollapse: Generates bitmaps that are locally similar to the input
I played around a lot with this library:
https://github.com/BorisTheBrave/DeBroglie
Fun stuff, but I struggled to get a lot of value out of using it for level gen. You get cool patterns, but levels need structure and intent to be interesting. Adding constraints to the algorithm becomes a big-oh nightmare and you end up with frequently unsolvable paths as the algorithm recurses.
The game Bad North used it to good effect, so depending on the game it may be a very useful tool in the toolbelt.
https://m.youtube.com/watch?v=0bcZb-SsnrA
-
Map generation with finite tileset
Docs here: https://github.com/BorisTheBrave/DeBroglie
What are some alternatives?
SharpDX
fast-wfc - An implementation of Wave Function Collapse with a focus on performance.
Silk.NET - The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
WaveFunctionCollapse - Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
DirectN - Direct interop Code for .NET Framework, .NET Core and .NET 5+ : DXGI, WIC, DirectX 9 to 12, Direct2D, Direct Write, Direct Composition, Media Foundation, WASAPI, CodecAPI, GDI, Spatial Audio, DVD, Windows Media Player, UWP DXInterop, WinUI3, etc.
TiledCS - TiledCS is a dotnet library for loading Tiled tilesets and maps
SlimDX - Automatically exported from code.google.com/p/slimdx
PixiEditor - PixiEditor is a lightweight pixel art editor made with .NET 7
TerraFX - A framework for developing multimedia-based applications.
Veldrid - A low-level, portable graphics library for .NET.
texture-synthesis - 🎨 Example-based texture synthesis written in Rust 🦀