Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We are using OpenGL In the Phong shading model, the amount of light reflected from a surface has three the diffuse term D, the specular

We are using OpenGL

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

In the Phong shading model, the amount of light reflected from a surface has three the diffuse term D, the specular term S, and the ambient term A. components Assume that the camera is located at location (0,0,0) and we are calculating the shading model of a point on a surface at (Px,Py,Pz). The surface normal is given by (Nx,Ny,Nz) and the direction from the point to the light source is given by (Lx,Ly,Lz) a) Draw a diagram to illustrate how Phong calculates how much light per unit area reaches the point (Px,Py,Pz) on the surface? What is the formula used by Phong? c) What pieces of information are needed to calculate the viewpoint vector (Vx,Vy,Vz) and Describe in words how these two vectors are the ideal reflection direction (Rx,Ry,Rz)? calculated d) How are the V and R vectors above used in the Phong shading model? Is this part of the diffuse term D, the specular term S, or the ambient term A? In the Phong shading model, the amount of light reflected from a surface has three the diffuse term D, the specular term S, and the ambient term A. components Assume that the camera is located at location (0,0,0) and we are calculating the shading model of a point on a surface at (Px,Py,Pz). The surface normal is given by (Nx,Ny,Nz) and the direction from the point to the light source is given by (Lx,Ly,Lz) a) Draw a diagram to illustrate how Phong calculates how much light per unit area reaches the point (Px,Py,Pz) on the surface? What is the formula used by Phong? c) What pieces of information are needed to calculate the viewpoint vector (Vx,Vy,Vz) and Describe in words how these two vectors are the ideal reflection direction (Rx,Ry,Rz)? calculated d) How are the V and R vectors above used in the Phong shading model? Is this part of the diffuse term D, the specular term S, or the ambient term A

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

Students also viewed these Databases questions

Question

I am paid fairly for the work I do.

Answered: 1 week ago

Question

I receive the training I need to do my job well.

Answered: 1 week ago