| [ LiB ] |
If an object is
The light that is reflected outside the object can end up in some
| [ LiB ] |
| [ LiB ] |
The transmission and reflection of light to other surfaces can be broken into two simple categories, specular and diffuse. The movement of light to other surfaces in a scene from the point of intersection can be random, bent, or straight. In the case of
Diffuse interaction and reflection are induced by a material's diffuse coefficient. Diffuse interaction and reflection is responsible for most of the light you observe with your eyes. When a photon
Specular reflections are induced by a material's specular coefficient. If a pho- ton interacts with a specular surface, one of two things can happen:
The photon can be reflected in the mirror direction.
The photon can refract in or out of the object.
When light is incident on a perfect specular surface such as a mirror it is reflected in the
The formula for perfect specular reflection is used as in ray tracing. But instead of reflecting a ray in the opposite direction, a reflected photon is traced. The specular coefficient must also be taken into account when specu-larly reflecting a photon. If the surface were a mirror, the outgoing photon is equal to the same power of the incoming photon because the surface has very few imperfections. Recall that photons are not stored when they encounter specular surfaces; photons are only stored on diffuse surfaces. A photon can be specularly reflected multiple times by specular surfaces but is only recorded in the photon map when it finally intersects a diffuse surface.
Recall that objects that are transparent allow light to pass (or transmit) through them. When light changes between two mediums, the speed of the light normally slows. It may also bend in order to travel to its destination. Figure 11.12 shows an example of refraction. In the case of light (a series of photons) changing mediums (such as from air into the object), the photons will travel through the object and will bend to an angle specific to the object. The new location of a refracted photon is based on the index of refraction.
NOTE
NOTE
All the effects such as diffuse interaction,diffuse reflection,specular mirror reflection,and refraction are available in photon mapping.
| [ LiB ] |