0
Guys should i learn graphics in cpp?If yes . using what openGL or direct x? please also do tell about QT too?
love to hear from you.
5 Answers
+ 6
you should definitely learn about graphics with c++. I'm currently learning about DIRECTX. I plan on learning opengl and vulkan later. Not sure which is most beginner friendly though so I would just pick one you like and hop in it.
+ 2
@Jordan, OpenGL works much faster than DirectX, a game that OpenGL would run at 320 FPS DirectX would only run at 280 FPS. The only advantage of DirectX is that itâs easier to learn.
+ 1
I donât know much about QT, but OpenGL is better than DirectX.
0
@Jacob, that's a big claim do you have any actual reason to believe such a thing?
0
that's not how it works... I don't know where you got those numbers from but a single example doesn't prove anything at all considering the way the developers write the engine and how they use each API can change alot with the speed of each. Also different systems will run different API's at different speeds, in fact I've heard it's usually the exact opposite of what you said, have you ever used opengl vs a recent d3d? Opengl is much easier to learn and is recommended as a first graphics API to use by most if not all of the professionals I've talked to. Along with that, DirectX is optimized specifically for windows meaning you can likely get better results but again, this depends alot on the specific games and it's not much of a reason to make a difference in your choice at least not while you are learning.