摘要
本文采用多进程技术来提高OpenGL多窗口绘图的质量。主进程绘制数据量大,需进行实时操作的画面,子进程绘制数据量相对较小的一系列副画面。然后,主进程获取子进程所保存的位图,将其显示在主进程窗口的右侧。为了使主进程获能够快速运行,子进程预先绘制一幅位图,待其被读取后再绘制下一幅位图。这一方法可使得所有窗口的画面不仅清晰而且连续性好。
This paper improves the quality of OpenGL multiwindow by applying multiprogram. Main program draws the pictures that have a large amount of data and need to be operated timely. While, subsidiary pictures are finished and saved in child program. Then the pictures will be read by the main program and displayed at the fight side of main window. To make the main program run quickly, the child program draws a bitmap in advance, and will draw next bitmap after it is read. This method makes the pictures displayed continuously and clearly.
出处
《长春理工大学学报(自然科学版)》
2006年第4期77-79,61,共4页
Journal of Changchun University of Science and Technology(Natural Science Edition)
基金
洪都航空工业集团资助项目