针对大规模地形三维可视化系统在不同性能计算机平台上运行速度的差异,提出了一种基于帧速率的地形渲染数据量负反馈自适应控制算法,该算法以数据量与帧速率关系模型为基础,通过获取精确的系统渲染周期耗时,计算符合帧速率要求的地形数据量,并进行动态数据调整。基于FLTK和OpenGL的系统实验表明,该算法可以根据特定计算机平台的性能,快速调整渲染数据量,使地形可视化系统稳定运行干预先设定的帧速率区间。该算法有效增强了三维地形可视化系统的平台适应能力,同时算法思想对于类似系统负载与耗时关系的研究也有借鉴意义。
In order to identify the appropriate data quantity of rendering large-scale terrain in a visualization system on a specific computer based on the differences of systems' rendering rate on varied computers, a frame rate based negative feedback auto-adaptable control algorithm for rendering data-quantity was put forward. By calculating the precise rendering circle time and constructing the model of relation between data quantity and rendering time, the algorithm adjusts proper data quantity in a terrain visualization system automatically, according to the frame rate range set by users. The algorithm was tested in a large-scale terrain visualization system based on FLTK and OpenGL, and the result indicates that the algorithm can evaluate a certain computer's performance of 3D rendering and find its appropriate data quantity, and make' it run with the initialized frame rate. So the algorithm can enhance the terrain visualization system's ability to adapt to different computers, and it may be an inspiration to similar system loads and consuming time.