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

基于可编程图形硬件的实时阴影算法及实现
引用本文:沈潇,石锐.基于可编程图形硬件的实时阴影算法及实现[J].计算机工程与设计,2006,27(21):4071-4073.
作者姓名:沈潇  石锐
作者单位:重庆大学,计算机学院,重庆,400044
摘    要:阴影在增强三维场景真实感方面起着非常重要的作用。随着计算机图形硬件的发展,利用可编程图形硬件加速并提高渲染效果已经成为主要发展趋势。基于当前可编程图形硬件技术,针对目前shadow maps算法存在的问题,提出了一种根据场景特征程序自动生成合适偏移量的实时的阴影生成算法,该算法很好的改善了阴影渲染效果,防止了走样。最后给出了算法基于GLSL着色语言的实现代码。

关 键 词:实时  偏移量  反走样  着色语言
文章编号:1000-7024(2006)19-4071-03
收稿时间:2005-09-16
修稿时间:2005-09-16

Real-time shadow algorithm and its implementation based on programmable graphics hardware
SHEN Xiao,SHI Rui.Real-time shadow algorithm and its implementation based on programmable graphics hardware[J].Computer Engineering and Design,2006,27(21):4071-4073.
Authors:SHEN Xiao  SHI Rui
Affiliation:College of Computer, Chongqing University, Chongqing 400044, China
Abstract:Shadow is very crucial for improving 3D scene reality. With the development of computer graphics hardware, it is the primary trend about improving render effect of 3D scene that using programmable graphics hardware. Based on these, the depth bias issue about shadow maps algorithm is discussed and a method to get a good depth bias according as 3D scene is provided. The shadow rendering effect is improved by this algorithm. At last, the realization by GLSL of this algorithm are given.
Keywords:shadow maps
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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