首页 | 本学科首页   官方微博 | 高级检索  
     

基于OpenGL的等值线图填充算法
引用本文:郑凯东. 基于OpenGL的等值线图填充算法[J]. 国外电子元器件, 2009, 0(4): 22-23
作者姓名:郑凯东
作者单位:西安石油大学计算机学院;
摘    要:提出了一种效率较高的等值线图扫描转换色彩填充算法。先求出扫描线与各等值线的交点.然后给出一系列判据确定各交点之间的颜色,利用OpenGL绘图功能实现等值线图的填充。该方法易于编程实现,适用于任何形状的等值线图,通用性强。

关 键 词:计算机图形  等值线图  色彩填充  扫描转换

Color filling grammar of contour map based on OpenGL scanning conversion
ZHENG Kai-dong. Color filling grammar of contour map based on OpenGL scanning conversion[J]. International Electronic Elements, 2009, 0(4): 22-23
Authors:ZHENG Kai-dong
Affiliation:ZHENG Kai-dong (School of Computer Science, Xi'an Shiyou University, Xi'an 710065, China)
Abstract:An efficient algorithm of contour map color filling by scanning conversion is proposed.At first, got the cross points of a scan line and relative contour lines,then decided the colors of line segments among these cross points by a series of rules, finished the color filling of contour map using OpenGL graphical functions.Program implementation method of this algorithm was easy and suitable to fill any type of contour maps.
Keywords:computer graphics  contour map  color filling  scanning conversion  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号