Question

In: Computer Science

Q1: Draw the graphics pipeline? Q2: Differentiate between Phong and Modified Phong model?

Q1: Draw the graphics pipeline?

Q2: Differentiate between Phong and Modified Phong model?

Solutions

Expert Solution

1-ans-

2-ans-

The Phong model computes the specular response as the dot product between the mirror reflection direction and the viewing direction, raised to a power.

For example, if V⃗ V→ is the viewing direction, L⃗ L→ the incoming light direction and R⃗ R→ the perfect specular reflection direction for L⃗ L→, then the specular response is max(V⃗ .R⃗ ,0)pmax(V→.R→,0)p, where pp is the exponent that controls the fall-off of the specular response.

The Modified-Phong model uses a half vector H⃗ H→, which is computed as H⃗ =L⃗ +V⃗ |L⃗ +V⃗ |H→=L→+V→|L→+V→|, which is then used to compute the specular response as max(H⃗ .N⃗ ,0)pmax(H→.N→,0)p, where N⃗ N→ is the surface normal. The idea is that when the eye vector V⃗ V→ is aligned perfectly with the perfect mirror direction R⃗ R→, the half vector H⃗ H→ would be exactly aligned with the surface normal N⃗ N→. Hence the Blinn-Phong can get away with computing an expensive mirror direction R⃗ R→ everytime by using the half vector which can model the specular response.

##That is all about your answer...........please upvote my answer............please.............


Related Solutions

arranged q1 to q2 to q3 a is between q1 and q2 b is between q2...
arranged q1 to q2 to q3 a is between q1 and q2 b is between q2 and q3 Let a=3 m, b=7 m, q1=2 C, q3=-3 C. What must q2 be for q1 to feel no net force. b) Let a=3 m, b=8 m, q1=4 C, q2=5 C, q3=-5 C. What is the magnitude of the electric field a distance c=4 m vertically above q2 i.e. located at (x,y)=(a,c)?
Interactive computer graphics course. by java language, no need to explain. Q1: Draw a line between...
Interactive computer graphics course. by java language, no need to explain. Q1: Draw a line between P0 and Pe P0= (x,y)=(2,5) Pe=(xe,ye)=(7,9) Q2: P=(3,5) Scale P by (5,7) and then sheer by -3 along y-axis
Q1: How to draw phasor diagrams for a transformer to find an unknown value? Q2: What...
Q1: How to draw phasor diagrams for a transformer to find an unknown value? Q2: What are the circuit parameters for an open circuit test and short-circuit test given the current, voltage, and power for these test? Q3:How can we relate the ratios(the winding, current, and voltage relationship) with the circuit parameters discussed above? Q4: Explain what it means to find high side and low side in a practical transformer.
Suppose the utility function for goods q1 and q2 is given by U(q1,q2)=q1q2 +q2 (a) Calculate...
Suppose the utility function for goods q1 and q2 is given by U(q1,q2)=q1q2 +q2 (a) Calculate the uncompensated (Marshallian) demand functions for q1 and q2 (b) Describe how the uncompensated demand curves for q1 and q2 are shifted by changes in income (Y) or the price of the other good. (c) Calculate the expenditure function for q1 and q2 such that minimum expenditure = E(p1, p2, U) (d) Use the expenditure function calculated in part (c) to compute the compensated...
Suppose the utility function for goods q1 and q2 is given byU(q1,q2)=q1q2 +q2 (a) Calculate the...
Suppose the utility function for goods q1 and q2 is given byU(q1,q2)=q1q2 +q2 (a) Calculate the uncompensated (Marshallian) demand functions for q1 and q2 (b) Describe how the uncompensated demand curves for q1 and q2 are shifted by changes in income (Y) or the price of the other good. (c) Calculate the expenditure function for q1 and q2 such that minimum expenditure = E(p1, p2, U) (d) Use the expenditure function calculated in part (c) to compute the compensated demand...
Let Q1, Q2, Q3 be constants so that (Q1, Q2) is the critical point of the...
Let Q1, Q2, Q3 be constants so that (Q1, Q2) is the critical point of the function f(x, y) = (175)x 2 + (−150)xy + (175)y 2 + (−200)x + (400)y + (230), and Q3 = 1 if f has a local minimum at (Q1, Q2), Q3 = 2 if f has a local maximum at (Q1, Q2), Q3 = 3 if f has a saddle point at (Q1, Q2), and Q3 = 4 otherwise. Let Q = ln(3 +...
Let Q1, Q2, Q3 be constants so that (Q1, Q2) is the critical point of the...
Let Q1, Q2, Q3 be constants so that (Q1, Q2) is the critical point of the function f(x, y) = (90)x 2 + (0)xy + (90)y 2 + (−72)x + (96)y + (40), and Q3 = 1 if f has a local minimum at (Q1, Q2), Q3 = 2 if f has a local maximum at (Q1, Q2), Q3 = 3 if f has a saddle point at (Q1, Q2), and Q3 = 4 otherwise. Let Q = ln(3 +...
Given a utility function: U(q1, q2) = q1 + q 2^2 where q1 and q2 is...
Given a utility function: U(q1, q2) = q1 + q 2^2 where q1 and q2 is the consumption of good 1 and good 2 respectively. and the budget constraint: p1q1 + p2q2 = Y where p1 and p2 are prices of good 1 and good 2 respectively, Y is the consumer’s income a. Holding p2 and Y fixed, find the demand function for good 2. b. Holding p1 and p2 fixed, find the functional form of the Engel curve for...
Suppose the utility function for goods q1 and q2 is given by U(q1, q2) = q1q2...
Suppose the utility function for goods q1 and q2 is given by U(q1, q2) = q1q2 + q2 6 (a) Calculate the uncompensated (Marshallian) demand functions for q1 and q2 2 (b) Describe how the uncompensated demand curves for q1 and q2 are shifted by changes in income (Y) or the price of the other good. 3 (c) Calculate the expenditure function for q1 and q2 such that minimum expenditure = E(p1, p2, U) 4 (d) Use the expenditure function...
1. Suppose the utility function for goods q1 and q2 is given by U(q1, q2) =...
1. Suppose the utility function for goods q1 and q2 is given by U(q1, q2) = q1q2 + q2 (a) Calculate the uncompensated (Marshallian) demand functions for q1 and q2 (b) Describe how the uncompensated demand curves for q1 and q2 are shifted by changes in income (Y) or the price of the other good. (c) Calculate the expenditure function for q1 and q2 such that minimum expenditure = E(p1, p2, U) (d) Use the expenditure function calculated in part...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT