Interpolation of surface - polygon rendering, Computer Graphics

Interpolation of surface - Polygon Rendering

Interpolation of surface normals beside the polygonedge between two vertices is demonstrated above in the figure 15. Here the normal vector N for the scan line intersection point beside the edge between vertices 1 and 2 can be acquired by vertically interpolating among edge end points normals. After that incremental methods are utilized to evaluate normals among scan lines and along each particular scan line. At each pixel position beside a scan line, the illumination model is implemented to find out the surface intensity at such point

N= [((y-y2) / (y1-y2)) N1] + [((y-y2) / (y1-y2)) N2]

In the figure 15 that already given above, as N¯ is surface normal to be interpolated beside polygon edge 1- 2 having vertices 1 and 2. N¯1 and N¯2 both are normal at the vertices. Therefore, through using the parametric equation across the edge 1 - 2 we can find out the value of the normal N¯ that will be specified by:

N =   N¯1 + t (N¯2- N¯1)

As the same in the figure 16 we can get N¯p and N¯q such are the normal at point as P and Q through that the scan line passes,

p = N¯A +t (N¯B - N¯A); here t = |AP|/|AB|

At present we utilize N¯P to determine cos θ; here, θ is the angle among Normal vector and direction of light represented through vector L i.e. here refer to Phong model.

cos θ = N¯. L¯

 And       cosn α =( R¯ . V¯)n

 = [( 2 N¯ (N¯. L¯) - L¯) . V]n

 Now by using here cosn α, cos θ in

I = Ia Ka + Id Kd cos θ + Is Ks cosn α

/* similarly we can determine intensity of points lying within the surface */

This Np will be utilized to find intensity value that is, IP. at points Po in the object that projection is P, by utilizing the intensity computation formula that we had utilized for the determination of intensities in diffused and specular reflection.

Posted Date: 4/5/2013 3:29:21 AM | Location : United States

Related Discussions:- Interpolation of surface - polygon rendering, Assignment Help, Ask Question on Interpolation of surface - polygon rendering, Get Answer, Expert's Help, Interpolation of surface - polygon rendering Discussions

Write discussion on Interpolation of surface - polygon rendering
Your posts are moderated
Related Questions
Vertical retrace - Display Devices In a refresh CRT monitor, the time it takes for an electron beam to return to the top, left most point on the monitor after refreshing all ho

find the transformation and draw the cube for cavalier and cabinet with theta = 37 degree

Automatic Data Capture There are numerous techniques available to collect data automatically without the need for manual entry. Manual entry is slower, more costly (need to emp

Disadvantages with the Boundary Representation (i) It requires more storage than the corresponding half-space method. (ii) There is no guarantee that the object created is v

Implement the Scan line polygon fill algorithm for any arbitrary polygon in C-language and then use your code to fill each of the following type of polygon. i)  Convex polygon

Beam Penetration Method and Shadow Mask Method Two methods exist for displaying colors in a CRT monitor - beam penetration method and shadow mask method. Beam penetration metho

QUESTION 1. Describe two methods for converting 16x9 widescreen movie to 4x3. 2. Explain clearly the difference between File Format and Codec. 3. What is a video transiti

Education and training systems are making with three major objectives as: a) The learning objectives and purpose of the training. b)  Assessment or testing of the students to

Explain the working of Animators Animators want to create a human image that moves and interacts with its background in such a way that viewers can't tell if a specific scene i

What Is Computer Graphics? The term Graphics mean is Graphical Tricks. All image or picture is actually a graph and when various mathematical tricks are utilized to manipulate