[1]罗童心,仇建伟,王家润.基于GPU 的三维弧面渐变填充技术研究与实现[J].计算机技术与发展,2018,28(03):165-168.[doi:10.3969/ j. issn.1673-629X.2018.03.035]
 LUO Tong-xin,QIU Jian-wei,WANG Jia-run.Design and Implementation of 3D Line Symbol Gradient Fill Based on GPU[J].,2018,28(03):165-168.[doi:10.3969/ j. issn.1673-629X.2018.03.035]
点击复制

基于GPU 的三维弧面渐变填充技术研究与实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
28
期数:
2018年03期
页码:
165-168
栏目:
应用开发研究
出版日期:
2018-03-10

文章信息/Info

Title:
Design and Implementation of 3D Line Symbol Gradient Fill Based on GPU
文章编号:
1673-629X(2018)03-0165-04
作者:
罗童心仇建伟王家润
华北计算技术研究所,北京 100083
Author(s):
LUO Tong-xinQIU Jian-weiWANG Jia-run
North China Institute of Computing Technology,Beijing 100083,China
关键词:
OpenGLGLSL着色器三维曲面
Keywords:
OpenGLGLSLvertex shader3D surface
分类号:
TP302
DOI:
10.3969/ j. issn.1673-629X.2018.03.035
文献标志码:
A
摘要:
在三维标图绘制应用系统中,线面标号的绘制经常使用渐变填充处理,以更直观地表达绘制对象所包含的趋势和程度信息。 为解决标绘于三维地球上的光滑弧面对象的渐变填充绘制效率低下的问题,设计并实现了辐射渐变和线性渐变两种不同的渐变填充效果的高效算法;同时通过渐变方向、中心位置和颜色权重等参数来控制渐变效果,以适应实际使用中多样化的显示需求。 考虑到固定管线渲染在大量点面数据处理上的劣势,算法使用 GPU 内部的可编程着色器,在不影响绘制效果的基础上大幅提升了绘制速度。 实验结果表明,基于着色器对三维光滑弧面渐变填充,相比于固定管线渲染有着突出的性能优势,能够将运行时间缩短 5 倍以上,且在数据量较大的情况下也能保证较高的显示帧率。
Abstract:
In 3D plotting application system,the gradient fill of surface has been applied in many occasions to more intuitively expresses the trend and degree information in the drawing object. In order to solve the problem of low efficiency of gradient filling in smooth surface objects drawn on 3D earth,we design and realize an efficient algorithm of two different gradient filling effects (radiation gradient and linear gradient). At the same time,by setting the parameters like direction,center position and color weight it controls rendering effect to adapt the diversification of demand in actual use. Considering the low efficiency of fixed pipeline rendering in processing a large number of data,the algorithm uses a programmable shader inside the GPU to deliver a substantial performance increase while maintaining satisfactory rendering results. Experiments show that compared with traditional fixed rendering pipeline,shader has achieved outstanding performance advantages,reduction of the elapsed time by more than 80 percent,and ensuring high display frame rate in the case of a large amount of data.

相似文献/References:

[1]徐少平 李洋[] 江顺亮 熊宇虹 叶发茂.基于混合编程的真实感图形生成课件[J].计算机技术与发展,2010,(02):185.
 XU Shao-ping,LI Yang[],JIANG Shun-liang,et al.A Courseware for Realistic Rendering Based on Hybrid Programming[J].,2010,(03):185.
[2]郭文普 孙继银 王鹏.导弹投射区域可视化中的坐标变换研究[J].计算机技术与发展,2010,(04):207.
 GUO Wen-pu,SUN Ji-yin,WANG Peng.Study on Coordinate Transformations in Missile Shooting Area Visualization[J].,2010,(03):207.
[3]张璞 陶丽娜 杨建国 柴贺军.基于OpenGL的岩石楔形体边坡三维分析系统[J].计算机技术与发展,2009,(03):66.
 ZHANG Pu,TAO Li-na,YANG Jian-guo,et al.A Rock Wedge Slope 3D Analysis System Based on OpenGL[J].,2009,(03):66.
[4]赵越超 李忠科 王勇 吕培军.基于OpenGL的三维牙颌模型可视化研究[J].计算机技术与发展,2008,(01):119.
 ZHAO Yue-chao,LI Zhong-ke,WANG Yong,et al.Research of 3D Dental Visualization Based on OpenGL[J].,2008,(03):119.
[5]邹承明 靳俊霞 徐宁.OpenGL在自动化网架中的应用[J].计算机技术与发展,2008,(09):239.
 ZOU Cheng-ming,JIN Jun-xia,XU Ning.Application of OpenGL in Automatization Frame[J].,2008,(03):239.
[6]姚合生.基于OpenGL的快速原形制造系统仿真[J].计算机技术与发展,2008,(11):176.
 YAO He-sheng.Simulation System of Rapid Prototyping Manufacturing Based on OpenGL[J].,2008,(03):176.
[7]刘良 黄路炜.基于OpenGL Performer的视景优化研究[J].计算机技术与发展,2007,(08):77.
 LIU Liang,HUANG Lu-wei.Visual Simulation Optimization Based on OpenGL Performer[J].,2007,(03):77.
[8]张艳.基于OpenGL的分形山三维模拟生成技术[J].计算机技术与发展,2007,(08):243.
 ZHANG Yan.Fractal Mountains' Three- Dimensional Simulation Based on OpenGL[J].,2007,(03):243.
[9]胡志勇 张秀芬 蔚刚 梁发周.基于灰度图像的三维曲面重建系统设计[J].计算机技术与发展,2007,(10):61.
 HU Zhi-yong,ZHANG Xiu-fen,YU Gang,et al.Design of 3D Reconstruction Based on Gray Image[J].,2007,(03):61.
[10]黄权 徐学军.基于OpenGL的卫星跟踪仿真[J].计算机技术与发展,2007,(02):130.
 HUANG Quan,XU Xue-jun.A Simulation of Tracking a Satellite Based on OpenGL[J].,2007,(03):130.

更新日期/Last Update: 2018-05-15