计算机应用与软件
計算機應用與軟件
계산궤응용여연건
COMPUTER APPLICATIONS AND SOFTWARE
2014年
11期
165-169
,共5页
实时绘制%阴影贴图%反走样%空间平行分割
實時繪製%陰影貼圖%反走樣%空間平行分割
실시회제%음영첩도%반주양%공간평행분할
Real-time rendering%Shadow mapping%Anti-aliasing%Space parallel split
阴影是实时绘制中增强场景真实感的有效方法,阴影贴图是目前应用最广泛的动态阴影实时绘制方法,但不可避免地具有基于图像方法的固有走样缺点。分析已有阴影贴图算法中走样的种类与成因,根据走样的影响因素,要想减弱阴影边界走样,就必须提高屏幕对深度纹理的采样率。基于此思路,设计并实现一种基于空间平行分割的新的阴影贴图反走样方法,综合对数分割与平均分割的优点提出新的场景划分方法,并设计外接球的坐标变换方法,最后开发了原型系统对所开发的阴影贴图反走样算法进行实验分析。实验结果表明,在满足实时绘制效率需求的前提下,采用的方法可以有效解决阴影走样问题,改进场景的绘制效果。
陰影是實時繪製中增彊場景真實感的有效方法,陰影貼圖是目前應用最廣汎的動態陰影實時繪製方法,但不可避免地具有基于圖像方法的固有走樣缺點。分析已有陰影貼圖算法中走樣的種類與成因,根據走樣的影響因素,要想減弱陰影邊界走樣,就必鬚提高屏幕對深度紋理的採樣率。基于此思路,設計併實現一種基于空間平行分割的新的陰影貼圖反走樣方法,綜閤對數分割與平均分割的優點提齣新的場景劃分方法,併設計外接毬的坐標變換方法,最後開髮瞭原型繫統對所開髮的陰影貼圖反走樣算法進行實驗分析。實驗結果錶明,在滿足實時繪製效率需求的前提下,採用的方法可以有效解決陰影走樣問題,改進場景的繪製效果。
음영시실시회제중증강장경진실감적유효방법,음영첩도시목전응용최엄범적동태음영실시회제방법,단불가피면지구유기우도상방법적고유주양결점。분석이유음영첩도산법중주양적충류여성인,근거주양적영향인소,요상감약음영변계주양,취필수제고병막대심도문리적채양솔。기우차사로,설계병실현일충기우공간평행분할적신적음영첩도반주양방법,종합대수분할여평균분할적우점제출신적장경화분방법,병설계외접구적좌표변환방법,최후개발료원형계통대소개발적음영첩도반주양산법진행실험분석。실험결과표명,재만족실시회제효솔수구적전제하,채용적방법가이유효해결음영주양문제,개진장경적회제효과。
Shadow is an effective method for enhancing scene’ s realism in real-time rendering, and the shadow mapping is the most widely used dynamic shadows real-time rendering currently, but has the image method-based inherent drawback of aliasing inevitably.In the paper we analyse the types and the causes of aliasing in existing shadow mapping algorithms.According to the influence factors of aliasing, it has to improve the sampling rate of the screen on the depth texture if to weaken the shadow boundary aliasing is expected.Based on this idea, we design and realise a new anti-aliasing method for shadow mapping which is based on spatial parallel-split, propose a new scene division approachby integrating the advantages of logarithmic split and average split, and design the coordinate transformation method for circumscribed sphere.Finally we develop the prototype system for carrying out the experimental analysis on the developed shadow mapping anti-aliasing algorithms.Experimental results show that, under the premise of satisfying the demand of real-time rendering efficiency, the method used in this paper can be an effective solution to the shadow aliasing and can improve the effect of scene rendering.