Swin.C

 

2010年12月10日

[翻译]Tangent Space Calculation

摘要: 原文:http://www.terathon.com/code/tangent.htmlbump mapping(也有被称为normal mapping)需要为网格的每一个顶点计算其切平面基准向量(互相垂直的三个坐标轴)。这篇文章描述了为几何三角形网格逐顶点计算切空间的理论并提供了实现正确数学计算的源文件数学推导这个推导出现在Mathematics for 3D Game Programming and Computer Graphics, 2nd ed., Section 6.8.首先,我们需要将切空间与纹理坐标轴对齐。例如x坐标与bump map中的u方向对齐,y坐标与bump map中的 阅读全文

posted @ 2010-12-10 15:26 Swin.C 阅读(1059) 评论(1) 推荐(1) 编辑

导航