dotnet / Silk.NET

The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
https://dotnet.github.io/Silk.NET
MIT License
3.89k stars 378 forks source link

Future Example Ideas #963

Open HurricanKai opened 2 years ago

HurricanKai commented 2 years ago

This is a tracking issue similar to #887 tracking overall examples. Please contribute your own ideas & use cases, we'll try to get as many of these in for 3.0 as possible. NOTHING HERE IS A GUARANTEE!! THIS IS ONLY FOR IDEA TRACKING!!

List of Ideas that I want to implement myself, these aren't my favorites, just the ones I feel are realistic or I have some personal stake in: (ideas on this list marked with a * are dreams / far fetched ideas that depend on a variety of factors but are unlikely to ever happen)

Beyley commented 1 year ago

I have an old project with working MP4 video playback with Silk OpenGL, its very barebones and it requires external FFmpeg bindings, would it still fit into the example category or should the examples only include Silk bindings (maybe its time to add FFmpeg bindings?)

paireks commented 1 year ago

+1 for Text Rendering, from personal point of view it's the only thing that I miss in examples I think :)

Thaina commented 9 months ago

Are there anything changed ? I also see any had been implemented

I wish this library could support all game console platform, Steam Deck / PS / XBox / Nintendo, could you please elaborate why it will hardly be possible?

HurricanKai commented 9 months ago

Steam Deck should work fine already. For the other "real" consoles, well they are very locked down and we'd have to aquire a dev kit. It's hard to get a dev kit for bindings, you pretty much have to have a workingish game and then apply. If anyone ends up making a game they are actually interested in getting to run and subsequently distribute on any or all of these platforms, contact me! I'd be very happy to work with you to get access to a dev kit and either help you get it running, or if possible also get access to a dev kit and get it (and all of silk) running for you.

HurricanKai commented 9 months ago

Also a note on tizen and uno. I've simply not found these to be so interesting as I have no hardware and there has been 0 community interest, so getting them to run in a simulator hasn't been worth it to me. For tizen I'm additionally not sure how much it helps if I get it to work in a simulator, hardware often has quirks that aren't carried over into simulators.

Thaina commented 9 months ago

Thank you very much. I just see that this issue is about sample not the actual platform it support

Do we have a page to list all platform Silk can support ? Maybe have marker for already, partly, eventually

βœ… Windows 🀞 XBox πŸ• Steam Deck β›” Nintendo Switch

Somthing like this?

Beyley commented 9 months ago

Thank you very much. I just see that this issue is about sample not the actual platform it support

Do we have a page to list all platform Silk can support ? Maybe have marker for already, partly, eventually

βœ… Windows 🀞 XBox πŸ• Steam Deck β›” Nintendo Switch

Somthing like this?

Platform support varies by the particular binding and CPU arch, and also has multiple answers per item Does support but no prebuilt native libraries, so you have to make your own count as a "yes"? As is, none of the Silk.NET libraries have been vetted working on any console platform, its possible some like Silk.NET.Maths would work unmodified, but we have not tested, and are unable to Most bindings will work on all desktop platforms and Android (iOS being supported by the community, with varying levels of completion)

Some bindings have a more complicated story, like with our Direct3D11/D3DCompiler bindings, those work natively on both Windows and Linux, but Linux requires a separate package and works through a translation layer

Perksey commented 9 months ago

Just re the console stuff: I spoke to the Xbox Tools and Middleware Licensing Team and they said that Silk.NET can be sponsored by a existing partner within one of its programs such as ID@Xbox. So, get in touch if this is you!

jvyden commented 9 months ago

I can confirm that Steam Deck runs Silk.NET games as of 2.17 by my own testing (see the showcase in the Discord: https://discord.com/channels/521092042781229087/838063756239568916/1068085666052849685)

That said, it's running from an AppImage which means I'm not using the natives already present on Deck, but I imagine that if it works on something akin to Arch Linux then it will also work directly on Steam Deck without use of an AppImage. So, that asterisk can probably be removed.