摘要
背面剔除在图形流水线中提前剔除不可见三角形,避免不必要的扫描转换和染色。本文从硬件实现角度,针对经典背面剔除算法在硬件实现中需要较多硬件资源的问题,提出一种适合硬件实现的背面剔除新算法,理论上证明了该算法的正确性。仿真和综合结果表明该算法的实现可以减少硬件资源、提高处理效率。
The function of the backface culling is to exclude invisible triangles in advance to avoid unnecessary rasterizing and rendering in graphics pipeline.This article focused on the problems about hardware resources and proposed a new algorithm for the backface bulling.The correctness of the algorithm was proved theoretically.The simulation results showed that the new algorithm can save hardware resources and improve the processing efficiency.
引文
[1]Tomas A M,Eric haines,Naty hoffman.Real-TimeRendering[M].2Edition.夏文宇,胡艳祥,译.北京:清华大学出版社,2000:10-12.
[2]韩俊刚,蒋林,杜慧敏,等.一种基于图形加速器和着色器的体系结构[J].计算机辅助设计与图形学报,2010,22(3):363-372.
[3]谭显强.基于FPGA的3D图形处理器IP核的设计与实现[D].南京:南京航空航天大学,2010:4-5.
[4]董梁,刘海,韩俊刚.图像处理器中光照和纹理映射的设计和仿真研究[J].计算机科学,2011,38(2):284-287.
[5]张霞.计算机图形图象处理[M].北京:电子工业出版社,2010:40-41.
[6]Dave shreiner,Mason woo,Jackie neider,等.OpenGL编程指南[M].7版.李军,徐波,译.北京:机械工业出版社,2010:30-33.
[7]汤彬.基于OpenGL图形消隐的研究[J].上海工程技术大学学报,2005,10(1):1-2.
[8]Samir palnitkar.A Guide to Digital Design and Syn-thesis[M].Second Edition.夏文宇,胡燕祥,刁岚松,等译.北京:电子工业出版社,2009:10-12.
[9]张克农.数字电子技术基础[M].北京:高等教育出版社,1997:50-58.