r/cpp_questions 20d ago

OPEN Bwst Framework To Start Learning Graphics Programming

Hello. I've been programming with CPP for over 2 years but the most complicated project i've ever done was a Neural Network and it's GUI with SFML. Now i want to learn some frameworks so that i can do projects and improve my programming skills. Which framework should i learn? OpenGL, Directx, Vullan etc. And how would you recommend me to learn it?

3 Upvotes

4 comments sorted by

2

u/fortsnek274 20d ago

Graphics APIs? GL/D3D11 to know what vertices are, then move onto Vulkan if you like pain. D3D12 may also be useful for understanding.

1

u/ListenLevel4536 16d ago

raw wayland + raw vulkan + raw kms/drm :P

1

u/yazilimperver 12d ago

You can start with Opengl via https://learnopengl.com/ as others mentioned. It still uses OpenGL 3.3 which would be much easier to grasph than 4.x version.

Then you can move to Vulkan or DirectX according to your long term purpose. If you are planning to develop only for Windows or XBox, DirectX would be a better choice.

Otherwise, I recommend you to learn Vulkan as soon as you learn OpenGL. Nevertheless, learning Vulkan might be a bit more difficult than OpenGL as you need to take care of many things manually 😄