2015, 7(5): 13-18. doi: 10.16670/j.cnki.cn11-5823/tu.2015.05.03
OpenGL图形渲染技术在PKPM-SAUSAGE非线性分析软件中的应用
1. | 中国建筑科学研究院,北京 100013 |
2. | 广州大学广东省地震工程与应用技术重点实验室,广州 510415 |
Application of OpenGL Graphics Rendering Technology inthe Nonlinear Analysis Software of PKPM-SAUSAGE
1. | China Academy of Building Research, Beijing 100013, China |
2. | Earthquake Engineering Research & Test Center of Guangzhou University, Guangzhou 510405, China |
引用本文: 乔保娟, 李志山, 刘春明, 侯晓武, 杨志勇. OpenGL图形渲染技术在PKPM-SAUSAGE非线性分析软件中的应用[J]. 土木建筑工程信息技术, 2015, 7(5): 13-18. doi: 10.16670/j.cnki.cn11-5823/tu.2015.05.03
Citation: Qiao Baojuan, Li Zhishan, Liu Chunming, Hou Xiaowu, Yang Zhiyong. Application of OpenGL Graphics Rendering Technology inthe Nonlinear Analysis Software of PKPM-SAUSAGE[J]. Journal of Information Technologyin Civil Engineering and Architecture, 2015, 7(5): 13-18. doi: 10.16670/j.cnki.cn11-5823/tu.2015.05.03
摘要:通过对目前比较常用的GDI绘图和OpenGL绘图进行比较分析,显示了用OpenGL开发的三维有限元图形系统具有的速度快、绘图功能强、捕捉方便、视觉效果好等优越性。介绍了PKPM-SAUSAGE软件三维模型绘图流程,凹多边形网格化显示技术,背面剔除及alpha混合,实时旋转、平移、缩放算法和高效的捕捉算法,以及后处理结果平滑显示技术和着色器编程颜色修正技术。最后通过工程实例验证了PKPM-SAUSAGE软件OpenGL图形显示、旋转、平移、缩放及捕捉的高效性。
Abstract: In this paper, the superiorities of 3D finite element graphics system developed by OpenGL, such as high speed, powerful drawing function, convenient selection and feedback and nice visual effect are demonsrated through the comparison between GDI and OpenGL, which are both popular in graphics system at present. The paper also introduces drawing process of 3D model by OpenGL, display technology of concave polygon, back face culling and alpha blending, real-time rotation, translation, scaling, and efficient capture algorithm of PKPM-SAUSAGE software as well as the results display smoothing technology and color correction technology by shader programming in post-processing. Finally, the efficiency of OpenGL graphics display, rotation, translation, scaling and capture in PKPM-SAUSAGE software is verified by practical engineering examples.
[1] |
OpenGL编程指南[M]. 北京: 机械工业出版社, 2009. |
[2] |
陈俊涛, 肖明, 郑永兰.用OpenGL开发地下结构工程三维有限元图形系统[J].岩石力学与工程学报. 2006, 25(5). |
计量
- PDF下载量(11)
- 文章访问量(2138)
- HTML全文浏览量(816)