发明名称 Method, system, and computer program product for bump mapping in tangent space
摘要 A method, system, and computer program product for accelerated shading of an object surface by bump mapping in tangent space. A tangent space transform module builds a tangent space transform matrix M(p) having elements comprised of normal, tangent, and binormal vector components determined at a surface point on the object surface. The tangent space transform module further transforms shading vectors, such as, lighting and viewing vectors, into a tangent space defined by the tangent space transform matrix and outputs corresponding tangent space shading vectors. A bump mapping module performs vector operations between one or more tangent space shading vectors and a perturbed normal N' in tangent space. A texture memory stores a surface dependent or a surface independent tangent space perturbed normal texture map. The lighting module computes a shading value for the surface point based on the vector operations. The shading value can be then be mapped to a pixel to shade the object surface rendered on a computer graphics display. The bump mapping module outputs diffuse and specular components. The diffuse component corresponds to a first dot product between a normalized, interpolated tangent space lighting vector and three perturbed normal components Nx', Ny', and Nz'. The specular component corresponds to a second dot product between a normalized, interpolated tangent space half angle vector and three perturbed normal components Nx', Ny', and Nz'. Different types of shading vectors and lighting equations can be used depending upon the chosen illumination model.
申请公布号 US5949424(A) 申请公布日期 1999.09.07
申请号 US19970810218 申请日期 1997.02.28
申请人 SILICON GRAPHICS, INC. 发明人 CABRAL, BRIAN KEITH;PEERCY, MARK STUART;AIREY, JOHN MILLIGAN
分类号 G06T15/60;(IPC1-7):G06F15/00 主分类号 G06T15/60
代理机构 代理人
主权项
地址