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
10 ответов
+ 1
I would suggest the OpenGL or OpenSceneGraph library but I'm not sure you can use it with Turbo C++.
+ 1
Jop, other than the Borland-specific stuff. Would be advantageous for a skill you can use with other compilers.
+ 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...
+ 1
The double buffering should get rid of the flickering. Or this is a general performance problem, maybe.
0
you mean to use different graphics driver?
0
OK...but can you specify why is that flicker happening
0
OK... thanks for help
0
No problem. :-)
0
If you don't mind, let me know, when you succeeded and how. :-)
0
yes, sure....