Interpolation of surface - polygon rendering, Computer Graphics

Assignment Help:

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.


Related Discussions:- Interpolation of surface - polygon rendering

Polygonalization of the surface, Remember in polygonalization of the surfac...

Remember in polygonalization of the surface, following rules must be followed. Any two polygons  (i)  share a common edge,   (ii)  Share a common vertext,  (iii)  Arc disj

Common steps of designing the animation sequence, Common Steps of Designing...

Common Steps of Designing the Animation Sequence Common Steps of designing the animation sequence are as given: 1) Layout of Storyboard: Storyboard layout is the action ou

Retracing, what do you mean by retracing? Define horizontal as well as Vert...

what do you mean by retracing? Define horizontal as well as Vertical retracing?

Write short notes on active and passive transformations, Write short notes ...

Write short notes on active and passive transformations?  In the active transformation the points x and x represent different coordinates of the similar coordinate system. Here

Principle vanishing point - perspective projections, Principle Vanishing po...

Principle Vanishing point - Perspective Projections Assume that line 1 and l2 be two straight lines parallel to each other that are also parallel to x-axis. If the projection

Objectives-visible-surface detection, After going through this section, you...

After going through this section, you should be capable to: know the meaning of Visible-surface detection; distinguish among image-space and object-space approach for vi

What is 2d, Question 1 What is 2D? Explain method of converting 2D pattern...

Question 1 What is 2D? Explain method of converting 2D patterns into 3D images Question 2 Write about the following tools to create dart Create dart Multiply dar

Tagged image file format, TIFF: It is Tagged Image file format which is us...

TIFF: It is Tagged Image file format which is used mainly for exchanging documents among various applications and computers. This was primarily designed to turn into the standa

Boundary fill algorithm - output primitives, Boundary Fill Algorithm Bo...

Boundary Fill Algorithm Boundary fill algorithm is suitable when the boundary has single color while flood fill algorithm is more suitable for filling regions which are defined

Summary of graphic primitives, Summary of Graphic Primitives In this a...

Summary of Graphic Primitives In this all section, we have illustrated the basic graphic primitives that are line, point and circle; we have also illustrated both practical an

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd