发明名称 Rasterizing method
摘要 A rasterizing method calculates an attribute (C) of a pixel having coordinates (X, Y) based on the coordinates (X0, Y0), (X1, Y1), (X2, Y2) of vertices of a primitive in a screen space, Z coordinates Z0, Z1 and Z2 of said vertices into the three-dimensional space, and attributes C0, C1, C2 of said vertices. The method defines a vertex (X0, Y0) as reference, the attribute (C) with the formula: C = ( &Dgr; ⁢ ⁢ X 20 ⁢ &Dgr; ⁢ ⁢ Y 10 - &Dgr; ⁢ ⁢ Y 20 ⁢ &Dgr; ⁢ ⁢ X 10 ) ⁢ Z 1 ⁢ Z 2 ⁢ C 0 + ( &Dgr; ⁢ ⁢ y ⁢ ⁢ &Dgr; ⁢ ⁢ X 20 - &Dgr; ⁢ ⁢ x ⁢ ⁢ &Dgr; ⁢ ⁢ Y 20 ) ⁢ ( Z 0 ⁢ Z 2 ⁢ C 1 - Z 1 ⁢ Z 2 ⁢ C 0 ) + ( &Dgr; ⁢ ⁢ x ⁢ ⁢ &Dgr; ⁢ ⁢ Y 10 - &Dgr; ⁢ ⁢ y ⁢ ⁢ &Dgr; ⁢ ⁢ X 10 ) ⁢ ( Z 0 ⁢ Z 1 ⁢ C 2 - Z 1 ⁢ Z 2 ⁢ C 0 ) ( &Dgr; ⁢ ⁢ X 20 ⁢ &Dgr; ⁢ ⁢ Y 10 - &Dgr; ⁢ ⁢ Y 20 ⁢ &Dgr; ⁢ ⁢ X 10 ) ⁢ Z 1 ⁢ Z 2 + ( &Dgr; ⁢ ⁢ y ⁢ ⁢ &Dgr; ⁢ ⁢ X 20 - &Dgr; ⁢ ⁢ x ⁢ ⁢ &Dgr; ⁢ ⁢ Y 20 ) ⁢ ( Z 0 ⁢ Z 2 - Z 1 ⁢ Z 2 ) + ( &Dgr; ⁢ ⁢ x ⁢ ⁢ &Dgr; ⁢ ⁢ Y 10 - &Dgr; ⁢ ⁢ y ⁢ ⁢ &Dgr; ⁢ ⁢ X 10 ) ⁢ ( Z 0 ⁢ Z 1 - Z 1 ⁢ Z 2 ) .
申请公布号 US8179399(B2) 申请公布日期 2012.05.15
申请号 US20080029357 申请日期 2008.02.11
申请人 BARONE MASSIMILIANO;STMICROELECTRONICS S.R.L. 发明人 BARONE MASSIMILIANO
分类号 G09G5/00 主分类号 G09G5/00
代理机构 代理人
主权项
地址