| 注册
首页|期刊导航|计算机工程|基于GPU栅格化的任意多边形布尔运算

基于GPU栅格化的任意多边形布尔运算

高艺 罗健欣 裘杭萍 吴波

计算机工程2018,Vol.44Issue(3):301-306,314,7.
计算机工程2018,Vol.44Issue(3):301-306,314,7.DOI:10.3969/j.issn.1000-3428.2018.03.050

基于GPU栅格化的任意多边形布尔运算

Arbitrary Polygons Boolean Operation Based on GPU Rasterization

高艺 1罗健欣 2裘杭萍 1吴波1

作者信息

  • 1. 解放军理工大学指挥信息系统学院,南京210007
  • 2. 中国人民解放军61175部队,南京210049
  • 折叠

摘要

Abstract

The Boolean operation of arbitrary polygons is mostly based on the CPU grid method,because of the serialization of CPU,the raster process takes a long time.In order to solve the above problem,an algorithm for polygon Boolean operations based on the Graphics Processing Unit(GPU) rasterization is proposed.The time-consuming process of two-dimensional graphics rasterization in CPU is realized by GPU and the internal and external contour fragments are extracted,the raster data structure in the GPU environment and the vertex data structure in the CPU environment corresponding to its space mapping are constructed.Based on this,the internal and external contours are alternatively visited in order to perform the vertex tracking and the contour fragments compression using CPU and GPU in a coordinated manner.Finally the correct Boolean result polygon is obtained.The experimental results show that compared with the existing algorithm of polygons Boolean operation,the proposed algorithm can effectively control the precision,and also possesses with higher execution efficiency.

关键词

图形处理器/栅格化/顶点跟踪/轮廓片元压缩/布尔运算/交点精度

Key words

Graphics Processing Unit (GPU)/rasterization/vertex tracing/contour fragment compression/Boolean operation/intersection accuracy

分类

信息技术与安全科学

引用本文复制引用

高艺,罗健欣,裘杭萍,吴波..基于GPU栅格化的任意多边形布尔运算[J].计算机工程,2018,44(3):301-306,314,7.

基金项目

江苏省青年科学基金(BK20150722). (BK20150722)

计算机工程

OA北大核心CSCDCSTPCD

1000-3428

访问量0
|
下载量0
段落导航相关论文