How do I code graphics in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I code graphics in c++

graphics in c++

25th Oct 2019, 2:59 AM
Alexander Rejkowski
8 Answers
+ 4
OpenGL, VisualC++, QT
25th Oct 2019, 9:59 PM
Sonic
Sonic - avatar
+ 1
Thank you. I haven't worked with glut for a while and I was not aware of the new releases. With older releases I had problems using hw acceleration. I don't know if it was a freeglut issue, but it worked with glfw.
25th Oct 2019, 8:26 AM
Victor
0
google for graphic framework or library in plain c
25th Oct 2019, 5:34 AM
Bilbo Baggins
Bilbo Baggins - avatar
0
Ok
25th Oct 2019, 5:35 AM
Alexander Rejkowski
0
I suggest OpenGL. Here is a good tutorial: http://www.opengl-tutorial.org/
25th Oct 2019, 6:04 AM
Victor
0
I agree on OpenGL, but I suggest to use it through GLUT (better: freeGLUT, constantly update). Some C examples here: https://www.mitchr.me/SS/exampleCode/glut.html
25th Oct 2019, 6:39 AM
Bilbo Baggins
Bilbo Baggins - avatar
0
I don't suggest using glut, since it is outdated and doesn't support hardware acceleration on most platforms.
25th Oct 2019, 6:40 AM
Victor
0
freeglut 3.2.1 [Released: 29 September 2019] the HW acceleration is in the lower layer (OpenGL)
25th Oct 2019, 7:00 AM
Bilbo Baggins
Bilbo Baggins - avatar