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

Soft image and strata studio - computer animation, Soft Image and Strata ...

Soft Image and Strata Studio - Computer Animation SoftImage It is the one of most well known computer animation software packages. It is used in several top production

Phong shading algorithm, Q. Describe briefly phong shading algorithm.   ...

Q. Describe briefly phong shading algorithm.   OR                Write short note on phong shading.    Phong shading   Phong shading or normal vector interpo

Create an animated application, The purpose of this assignment is for you t...

The purpose of this assignment is for you to create an animation like you would see on an electronic greeting card. Have fun and be creative.  Here are the requirements: you

Scan conversion, State the purpose of scan conversion , along with the side...

State the purpose of scan conversion , along with the side effects

What is the purpose of saving selections, Question 1: (a) Once a select...

Question 1: (a) Once a selection is made, what area of the image can be edited? (b) What is the purpose of saving selections? (c) How can you move a selection while you a

Acquire a transformation matrix for perspective projection, Acquire a trans...

Acquire a transformation matrix for perspective projection for a specified object projected onto x=3 plane as viewed by (5,0,0). Solution: Plane of projection: x = 3 as given.

Polygon representation methods - modeling and rendering, Polygon Representa...

Polygon Representation Methods - Modeling and Rendering Any scene to be created by computer graphics may include a variety of objects, a few of them natural and manmade. Hence

Digital signal processing system for an analog signal, QUESTION (a) Dra...

QUESTION (a) Draw and explain the block diagram of a Digital Signal Processing System for an analog signal. (b) Draw the pictorial representation of the signals at each leve

B-spline curves - clipping and 3d primitives, B-spline curves - clipping an...

B-spline curves - clipping and 3d primitives B-spline curves are piecewise polynomial cubes with one or more polynomial pieces with a minimum smoothness requirement.  For examp

Notes for specular reflection - polygon rendering, Notes for Specular refl...

Notes for Specular reflection (1) In addition to diffuse reflection, light sources produce highlights or bright spots termed as specular reflection. Such highlighting is extre

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