计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (28): 107-110.
• 产品、研发、测试 • 上一篇 下一篇
刘冬志,郭 立
收稿日期:
修回日期:
出版日期:
发布日期:
通讯作者:
LIU Dong-zhi,GUO Li
Received:
Revised:
Online:
Published:
Contact:
摘要: Phong明暗处理算法是生成真实感3D图像的最佳算法之一。VLSI技术的发展以及对于高真实感实时图形的需求使得Phong明暗处理算法的实现成为可能。利用泰勒级数近似的Fast Phong明暗处理算法适合硬件实现。但是用硬件实现此算法需要存储大量数据的ROM表,这增加了实现的难度。通过误差分析,提出了优化的查找表结构。通过在FPGA上对所提结构进行验证,结果表明,该方案在提高速度、精度的同时减小了硬件资源的使用量。
关键词: Fast Phong, 泰勒级数, 查找表, FPGA
Abstract: One of the most successful algorithms that bring realism to the world of 3D-image generation is Phong shading.Implementation of Phong shading algorithm is feasible with the improvement of VLSI technologies and the request for high realistic,realtime graphics.Taylor series approximation is an algorithm of fast Phong shading algorithms that is appropriate for hardware implementation.But,the hardware implementation of this algorithm requires a large ROM table that increases the difficulty of implementation.We propose a optimized structure of table lookup by error analysis in this paper.We testify the proposed structure on FPGA.The result indicates that we enhance the speed,precision and reduce the hardware size.
Key words: Fast Phong, Taylor series, table lookup, FPGA
刘冬志,郭 立. Fast Phong明暗处理算法的FPGA实现[J]. 计算机工程与应用, 2007, 43(28): 107-110.
LIU Dong-zhi,GUO Li. FPGA implementation of Fast Phong shader[J]. Computer Engineering and Applications, 2007, 43(28): 107-110.
0 / 推荐
导出引用管理器 EndNote|Ris|BibTeX
链接本文: http://cea.ceaj.org/CN/
http://cea.ceaj.org/CN/Y2007/V43/I28/107