0

Is anyone familiar with the graphics header file, I need some help

I'm made a project for my school, and using graphics header and mouse movements it caused little flicker everytime an update on the box function is performed....can you guide me with some proper algorithm to use mouse and produce pages in C++ graphics header or provide me with different functions or headers

13th Jul 2016, 3:05 PM
Vedant Patadia
Vedant Patadia - avatar
10 Antworten
+ 1
I would suggest the OpenGL or OpenSceneGraph library but I'm not sure you can use it with Turbo C++.
13th Jul 2016, 4:52 PM
Stefan
Stefan - avatar
+ 1
Jop, other than the Borland-specific stuff. Would be advantageous for a skill you can use with other compilers.
13th Jul 2016, 5:00 PM
Stefan
Stefan - avatar
+ 1
Anyways, maybe the library supports double buffering, e.g. two video memory buffers. One is displayed and one that is not. This way double buffering lets you write to the video buffer that is not displayed increasing performance and preventing that the user can see the construction of a graphics. When you are done with the graphics, you switch this buffer to be displayed and the other buffer to be hidden. Now you can use this buffer to construct the next iteration of the graphics...
13th Jul 2016, 5:06 PM
Stefan
Stefan - avatar
+ 1
The double buffering should get rid of the flickering. Or this is a general performance problem, maybe.
13th Jul 2016, 5:08 PM
Stefan
Stefan - avatar
0
you mean to use different graphics driver?
13th Jul 2016, 4:56 PM
Vedant Patadia
Vedant Patadia - avatar
0
OK...but can you specify why is that flicker happening
13th Jul 2016, 5:02 PM
Vedant Patadia
Vedant Patadia - avatar
0
OK... thanks for help
13th Jul 2016, 5:09 PM
Vedant Patadia
Vedant Patadia - avatar
0
No problem. :-)
13th Jul 2016, 5:18 PM
Stefan
Stefan - avatar
0
If you don't mind, let me know, when you succeeded and how. :-)
13th Jul 2016, 5:27 PM
Stefan
Stefan - avatar
0
yes, sure....
13th Jul 2016, 5:33 PM
Vedant Patadia
Vedant Patadia - avatar