Illumination and Shading
Eric Leive, Xiang Lan Zhuo

Cylinder Surfaces

    

Viewer at {0, 0, 0}
Light (white) at {-5, 0, 0}
Atmospheric light {10, 10, 10}
Roughness coefficient 1000
Diffuse coefficient Kd {0.3, 0.8, 0.3}
Specular coefficient Ks {0.2, 0.2, 0.2}

viewer at {0, 0, 0}
Light (white) at {-5, 0, 0} (red) at {5, 0, 5}
Atmospheric light {10, 10, 10}
Roughness coefficient 500
Diffuse coefficient Kd {0.3, 0.8, 0.3}
Specular coefficient Ks {0.2, 0.2, 0.2}

Ks determines how reflective the surface is. By increasing the specular coefficent more light will be reflected. Decreasing the specular coefficent less light is reflected. Surface will appear duller.


Ks {0.1, 0.1, 0.1}

Ks {0.2, 0.2, 0.2}

Ks {0.5, 0.5, 0.5}

Extension

Implement Shading in Our Modeling System