基于Shader的CSG几何体的实时渲染  被引量:2

Real Time Rendering of CSG Geometry Based on Shader

在线阅读下载全文

作  者:陈国军[1] 尹鹏[1] 裴利强 尹冲 CHEN Guojun;YIN Peng;PEI Liqiang;YIN Chong(School of Computer Science and Technology,China University of Petroleum(East China),Qingdao 266580)

机构地区:[1]中国石油大学(华东)计算机科学与技术学院,青岛266580

出  处:《计算机与数字工程》2022年第1期190-194,共5页Computer & Digital Engineering

摘  要:传统基于CSG(构造实体几何)布尔运算的建模和运算过于复杂,使用布尔运算合成一些复杂的几何实体时会增加运算量,并且运算效率低。针对以上问题,提出基于Shader的CSG几何体的实时渲染,建立CSG基元模型,解析布尔表达式后,应用Shader对几何图形进行布尔运算的实时渲染,克服了传统基于CSG布尔运算下稳定性不足的问题,并加快了处理速度,提高了渲染效率。The traditional modeling and operation based on CSG(construct solid geometry)Boolean operation is too complex.Using Boolean operation to synthesize some complex geometric entities will increase the amount of operation,and the operation effi⁃ciency is low.In view of the above problems,a real-time rendering of CSG geometry based on Shader is proposed,and CSG primi⁃tive model is established.After the Boolean expression is analyzed,the real-time rendering of geometry by using Shader for Boolean operation overcomes the problem of insufficient stability under the traditional Boolean operation based on CSG,and speeds up the processing speed and improves the rendering efficiency.

关 键 词:布尔运算 着色器 GPU编程 CSG 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象