Programming environment/tools


 

(3) Specular reflection, (似鏡面反射)

            I = Ks * Ip(r, g, b) * COSn(alpha-angle),     Ks = specular-reflection coef.

Phong illumination model

color of object = Obj (R, G, B)
                        = (Or, Og, Ob)  or (light frequency)
                        where 0.0 =< Od =< 1.0