发明名称 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: <maths id="MATH-US-00001" num="00001"> <math overflow="scroll"> <mrow> <mi>C</mi> <mo>=</mo> <mfrac> <mtable> <mtr> <mtd> <mrow> <mrow> <mrow> <mo>(</mo> <mrow> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>20</mn> </msub> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>10</mn> </msub> </mrow> <mo>-</mo> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>20</mn> </msub> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>10</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> <mo></mo> <msub> <mi>Z</mi> <mn>1</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> <mo></mo> <msub> <mi>C</mi> <mn>0</mn> </msub> </mrow> <mo>+</mo> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mrow> <mrow> <mo>(</mo> <mrow> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>y</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>20</mn> </msub> </mrow> <mo>-</mo> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>x</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>20</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> <mo></mo> <mrow> <mo>(</mo> <mrow> <mrow> <msub> <mi>Z</mi> <mn>0</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> <mo></mo> <msub> <mi>C</mi> <mn>1</mn> </msub> </mrow> <mo>-</mo> <mrow> <msub> <mi>Z</mi> <mn>1</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> <mo></mo> <msub> <mi>C</mi> <mn>0</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> </mrow> <mo>+</mo> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mrow> <mo>(</mo> <mrow> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>x</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>10</mn> </msub> </mrow> <mo>-</mo> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>y</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>10</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> <mo></mo> <mrow> <mo>(</mo> <mrow> <mrow> <msub> <mi>Z</mi> <mn>0</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>1</mn> </msub> <mo></mo> <msub> <mi>C</mi> <mn>2</mn> </msub> </mrow> <mo>-</mo> <mrow> <msub> <mi>Z</mi> <mn>1</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> <mo></mo> <msub> <mi>C</mi> <mn>0</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> </mrow> </mtd> </mtr> </mtable> <mtable> <mtr> <mtd> <mrow> <mrow> <mrow> <mo>(</mo> <mrow> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>20</mn> </msub> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>10</mn> </msub> </mrow> <mo>-</mo> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>20</mn> </msub> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>10</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> <mo></mo> <msub> <mi>Z</mi> <mn>1</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> </mrow> <mo>+</mo> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mrow> <mrow> <mo>(</mo> <mrow> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>y</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>20</mn> </msub> </mrow> <mo>-</mo> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>x</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>20</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> <mo></mo> <mrow> <mo>(</mo> <mrow> <mrow> <msub> <mi>Z</mi> <mn>0</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> </mrow> <mo>-</mo> <mrow> <msub> <mi>Z</mi> <mn>1</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> </mrow> <mo>+</mo> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mrow> <mo>(</mo> <mrow> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>x</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>Y</mi> <mn>10</mn> </msub> </mrow> <mo>-</mo> <mrow> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>y</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <mi>Delta</mi> <mo></mo> <mstyle> <mspace width="0.3em" height="0.3ex"/> </mstyle> <mo></mo> <msub> <mi>X</mi> <mn>10</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> <mo></mo> <mrow> <mrow> <mo>(</mo> <mrow> <mrow> <msub> <mi>Z</mi> <mn>0</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>1</mn> </msub> </mrow> <mo>-</mo> <mrow> <msub> <mi>Z</mi> <mn>1</mn> </msub> <mo></mo> <msub> <mi>Z</mi> <mn>2</mn> </msub> </mrow> </mrow> <mo>)</mo> </mrow> <mo>.</mo> </mrow> </mrow> </mtd> </mtr> </mtable> </mfrac> </mrow> </math> </maths>
申请公布号 US2009201307(A1) 申请公布日期 2009.08.13
申请号 US20080029357 申请日期 2008.02.11
申请人 STMICROELECTRONICS S.R.L. 发明人 BARONE MASSIMILIANO
分类号 G09G5/00 主分类号 G09G5/00
代理机构 代理人
主权项
地址