文中使用OpenGL作为三维立体视觉图形渲染工具.结合自动化大型工程的钢结构原理,绘制逼真三维的网架结构,实现三维网架的旋转、平移、放大、缩小等变换,达到于用户的良好交互性。采用优化的OpenGL拾取原理,对安装在网架中的传感器进行跟踪并通过读人数据库中的变化数据,拾取网架中相应的传感器,为其绘制每个传感器数据变化曲线图,以便实时查看网架的承受力,达到良好的交互性和实时性。
Uses OpenGL as 3D image rendering tool, combine with the automatization steel structure using in great project, describe the vivid meahy frame bases on 3D. For the best alternate interface, the meshy frame was rotatable, translatable, amplificatory, and contractible. Also adopt optimized OpenGL pack up elements, observe the sensor fixed on the meshy frame, obtain the data information in the data- base, find out the relevant sensor, describe the data change graph for every sensor in the frame, that is convenient for the user to observe the press endured by the sensors. It is good in altemant and real - time.