I not only have hard time finding tutorials, but even if I do, I have a hard time getting them to not crash, let alone working. I don’t know what’s the reason, but I have a suspicion that some of these are now AI generated, hence the issues of them not working or outright crashing.

I know newer APIs exist. They’re way too complicated for my usecase.

I’ve heard about WebGPU, but I don’t want to touch it with a 10 meter long pole, due to its name. I’ll have a lot of time convincing people that WASM isn’t a web-only thing, and me using it for scripting won’t mean my game engine is either Web-based, nor that it has any Web-capability, and I only stayed with it due to my inability of finding a well-supported scripting VM without “Web” in its name.

If you ask: My game engine is currently using CPU rendering, and used to use SDL2 for displaying the output. I decided to move away from them. Managed to find some basic OpenGL tutorials when I first write my replacement for the SDL2 window handling. The Windows API is well documented on that regard, I even was able to find X11 documentations (this one even required me to find code already implementing such things, since documentation on some features was scarce). However, it somehow became increasingly difficult to find them.

  • SuperFola
    link
    fedilink
    English
    42 months ago

    There is the famous https://learnopengl.com/ which isn’t ai generated as it was written before those weird bots started writing nonsense. And it’s great. I’ve followed it and learned a lot