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.

9th Sep 2017, 6:24 PM
Nihal Sharma
Nihal Sharma - avatar
5 Réponses
+ 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.
9th Sep 2017, 6:31 PM
Jordan Chapman
Jordan Chapman - avatar
+ 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.
12th Dec 2017, 10:56 AM
Jacob Pembleton
Jacob Pembleton - avatar
+ 1
I don’t know much about QT, but OpenGL is better than DirectX.
11th Dec 2017, 12:27 AM
Jacob Pembleton
Jacob Pembleton - avatar
0
@Jacob, that's a big claim do you have any actual reason to believe such a thing?
11th Dec 2017, 12:53 AM
Jordan Chapman
Jordan Chapman - avatar
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.
12th Dec 2017, 1:57 PM
Jordan Chapman
Jordan Chapman - avatar