Question

In: Computer Science

How should the distance between the viewer and the surface enter the rendering calculations?

How should the distance between the viewer and the surface enter the rendering calculations?

Solutions

Expert Solution

Distance between the viewer and the surface enters the rendering calculations:

  • Different reflection models can be utilized to demonstrate light-material cooperations. Phong model, a prominent reflection model recognizes three kinds of light-material connections which are ambient, diffuse and specular.
  • Where ambient and diffuse segment collaborations don't take about the watcher's position or its distance from the surface, specular interaction takes the direction of the watcher into the estimation.

Let us see the above diagram

In Phong’s reflection model, specular component of color at any point in the object surface is given by:

,

Where is the proportion of mirrored light (specular) that the watcher receives,

is the specular part's force and

The exponent is the shininess coefficient.

User can use the normalized r and can use the dot product to find, hence the equation becomes:

…(1)

More distant the viewer, the vector v can be assumed to be the same on every point on the object’s surface. This removes the need to recomputed v and hence simplifies the computation. The direction of the watcher determines the specular component of intensity at any point on the object’s surface as evident from equation (1).


Related Solutions

) In the calculation of gradually varied water surface profiles; a. When should calculations be done...
) In the calculation of gradually varied water surface profiles; a. When should calculations be done in downstream to upstream order, instead of upstream to downstream order? b. What are some fundamental differences between the Standard Step vs Direct Step methods?
find the minimum distance between (-4,1,0) and the surface z= sqrt(1-2x-2y).
find the minimum distance between (-4,1,0) and the surface z= sqrt(1-2x-2y).
What is the proper distance to the surface of last scattering? What is the luminosity distance...
What is the proper distance to the surface of last scattering? What is the luminosity distance to the surface of last scattering? Assume that the Benchmark Model is correct, and that the redshift of the last scattering surface is z = 1090.
Despite hydrophobic recovery shortcomings, surface activation methods are widely used for rendering PDMS hydrophilic. Why?
Despite hydrophobic recovery shortcomings, surface activation methods are widely used for rendering PDMS hydrophilic. Why?
find and provide three examples of data visualizations which mislead a viewer (at least one should...
find and provide three examples of data visualizations which mislead a viewer (at least one should be in the business context). include the screenshots/pictures of those visualizations. Explain why they mislead.
Find the surface area of the given surface. Enter an exact answer. Do not use decimal...
Find the surface area of the given surface. Enter an exact answer. Do not use decimal approximations. the portion of the plane 7x + y + 6z = 2 inside the cylinder x2 + y2 = 36
how does cost accounting affect the production of goods and rendering of services?
how does cost accounting affect the production of goods and rendering of services?
know the mathematical relationship between surface area and volume, and explain how surface to area volume...
know the mathematical relationship between surface area and volume, and explain how surface to area volume affects heat loss. Which can be smaller endotherms or ectotherms  
Focal film distance is a. distance between object and central ray. b. the distance from the...
Focal film distance is a. distance between object and central ray. b. the distance from the x-ray tube to the object. c. the distance from the x-ray tube to the image receptor. d. the most reliable method for determining mAs and kVp.
1) How, if at all, is the geographic distance between countries related to the volume of...
1) How, if at all, is the geographic distance between countries related to the volume of trade between them? Is there a sense in which the world is becoming increasingly “flat,” as Thomas Friedman claims? Is there a sense in which it isn’t? 2) Why are some sectors more efficient when they operate on a large scale? In what sense might this phenomenon have made things for more difficult for sub-Saharan African countries that wish to reap the gains from...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT