基于Z缓冲的自然粒子效果实现  

Implementation of Natural Particles Based on Z-Buffer

在线阅读下载全文

作  者:覃海宁[1] 

机构地区:[1]广西经贸职业技术学院信息工程系,南宁530021

出  处:《科技通报》2013年第12期79-81,102,共4页Bulletin of Science and Technology

基  金:2012年度广西高等学校科研项目(201204LX626)

摘  要:以往粒子精灵半透明效果,如雾、烟、尘,魔法和爆炸等,在与场景背景相交处会产生不自然的尖锐边缘。该文设置过渡区来解决,依据深度值比较使粒子精灵产生逐渐淡出效果。首先,几何着色器扩展粒子位置成两个三角形,生成正方形的粒子精灵,以公布板技术定位其方向面向视点。然后,通过DirectX10像素着色器读取作为纹理存在的Z缓冲,生成与背景相互交融的软粒子精灵。实验获得了良好效果的同时,渲染性能没有受到明显的影响。Translucent effects of particle sprites In past, such as fog, smoke, dust, magic and explosion, often produced unnatural sharp edges in intersect space with background.The article set transition region to resolve, according to the depth value particles sprite gradually faded out effect. First, the position of the particle geometry shader extension into two triangles generate square particles sprite and locate its direction by the announcement board technology oriented viewpoint. Second, using DirectX10 pixel shader to read the particles sprite Z buffer as a texture, interacting with each other to generate the background. Experiments got good soft particles sprites effect, rendering performance was not significantly affected.

关 键 词:自然粒子效果 Z缓冲 几何着色器 公布板 

分 类 号:TN911.3[电子电信—通信与信息系统] TN971[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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