基于GLSL的真实感光照算法研究与实现  

Research on Lighting Algorithms by OpenGL Shading Language

在线阅读下载全文

作  者:程利利[1] 姜晓彤[1] 王庆利[1] 赵正旭[1] 

机构地区:[1]东南大学仪器科学与工程学院,江苏南京210096

出  处:《现代电子技术》2009年第18期105-107,共3页Modern Electronics Technique

摘  要:基于经典Phone光照模型,改进距离衰减算法,并采用新的聚光灯模型内外圆锥算法以提高真实感光照效果。考虑到实时性要求,使用高层着色语言GLSL的顶点着色器编程实现三种光源(平行光、点光源和聚光灯)的光照效果。实验结果证明了以上算法的有效性。Distance attenuation algorithm and spot light′s internal and external cones algorithm are used to create more realistic rendering effects.Both of them are modified and extended form classical lighting model Phone.Considering real-time performance,three lighting effects(Directional light,Point light and Spot light) are rendered realistically with vertex shader of OpenGL shading language.According to this research,these algorithms are effective.

关 键 词:光照 着色器 OpenGL着色语言 算法 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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