发明名称 Advanced deferred shading graphics pipeline processor
摘要 A system and method for performing tangent space lighting in a deferred shading graphics processor (DSGP) encompasses blocks of the DSGP that preprocess data and a Phong shader that executes only after all fragments have been preprocessed. A preprocessor block receives texture maps specified in a variety of formats and converts those texture maps to a common format for use by the Phong shader. The preprocessor blocks provide the Phong shader with interpolated surface basis vectors (vs, vt, n), a vector Tb that represents in tangen/object space the texture/bump data from the texture maps, light data, material data, eye coordinates and other information used by the Phong shader to perform the lighting and bump mapping computations. The data from the preprocessor is provided for each fragment for which lighting effects need to be computed. The Phong shader computes the color of a fragment using the information provided by the preprocessor. The Phong shader performs all lighting computations in eye space, which requires it first to transform bump data from tangent space to eye space. In one embodiment the Phong hardware does this by multiplying a matrix M whose columns comprise eye space basis vectors (bs, bt, n) derived from the surface basis vectors (vs, vt, n) and the vector Tb of bump map data. The eye space basis vectors are derived by the DSGP preprocessor so that the multiplication (MxTb) gives the perturbed surface normal N' in eye space, reflecting the bump effects. The perturbed surface normal N' is subsequently used in the lighting computations.
申请公布号 AU5779799(A) 申请公布日期 2000.06.05
申请号 AU19990057797 申请日期 1999.08.20
申请人 APPLE COMPUTER INC. 发明人 JEROME F. DULUK JR.;RICHARD E HESSEL;VAUGHN T. ARNOLD;JACK BENKUAL;JOSEPH P. BRATT;GEORGE CUAN;STEVEN L. DODGEN;EMERSON S. FANG;ZHAOYU G. GONG;THOMAS Y. HO;HENGWEI HSU;SIDONG LI;SAM NG;MATTHEW N. PAPAKIPOS;JASON R. REDGRAVE;SUSHMA S. TRIVEDI;NATHAN D. TUCK;SHUN WAI GO;LINDY FUNG;TUAN D. NGUYEN;JOSEPH P. GRASS;BOR-SHYUE HONG;ABRAHAM MAMMEN;ABBAS RASHID;ALBERT, SUAN-WEI TSAY
分类号 G06F17/10;G06F17/16;G06T1/00;G06T1/20;G06T1/60;G06T15/00;G06T15/04;G06T15/20;G06T15/30;G06T15/40;G06T15/50;G06T15/83 主分类号 G06F17/10
代理机构 代理人
主权项
地址