发明名称 Apparatus and method for calculating specular lighting
摘要 <p>Rapid calculation of specular color component &lt;MATH&gt; for a displayed object subjected to light according to the Phong shading model is made preferably using hardware. For a surface position on the displayed object floating point data for D = &lang&Ve, Vr&rang& is obtained, where Ve is a unit vector from the object to the eye point, and Vr is a reflection unit vector from the object. The vector dot product for D is then obtained using multipliers and adders. The dot product bits are multiplied by a constant to generate an index to a first look-up table containing pre-stored values of log2 (D). The value of log2D is then multiplied by Oe to generate exponent and fractional field bits representing Oe*log2D. These bits are used to create an index into a second look-up table containing antilog2 values, whose output is &lt;MATH&gt; This value is then added to C'_s to yield &lt;MATH&gt; Calculation of Cs takes eight computer cycles, which is less what is required for prior art implemented Cs calculations. &lt;IMAGE&gt;</p>
申请公布号 EP0817130(A2) 申请公布日期 1998.01.07
申请号 EP19970110795 申请日期 1997.07.01
申请人 SUN MICROSYSTEMS, INC. 发明人 MCKEOWN, JACK R.
分类号 G06T1/20;G06T15/50;(IPC1-7):G06T15/50 主分类号 G06T1/20
代理机构 代理人
主权项
地址