You are viewing the course site for a past offering of this course. The current offering may be found here.
Lecture 6: Rasterization Pipeline (42)
keatonfs

Are the ambient, diffuse, and specular coefficients dependent on the materials that the light is reflecting off of? If so is there some database that records what these coefficients are for various materials or is this just something you have to experiment with?

kkoujah

Yes, coefficients in lighting calculations are dependent on the material properties of the objects being lit. The coefficients represent how light interacts with the surface, such as how much light is reflected or absorbed by the material, and how light scatters in different directions. There is no central database that lists these coefficients for all materials, as the exact values can depend on factors such as the specific material type, surface finish, and lighting conditions. However, there are many resources that provide rough estimates for common materials based on experimental data or simulations. The best way to get accurate values is to conduct experiments and observe the results.

Staffethanweber

Mesh file formats will give people access to these coefficients to set the properties of objects. Here is the spec and example for the popular OBJ file format, which may be interesting to some.

You must be enrolled in the course to comment