Vertices of bezier curve find out 3 points on bezier curve, Computer Graphics

Assignment Help:

Specified p0 (1, 1): p1 (2, 3); p2 (4, 3); p3 (3, 1) as vertices of Bezier curve find out 3 points on Bezier curve?

Solution: We consider Cubic Bezier curve as:

P (u) = p0 (1 - u)3 + 3p1 u (1 - u)2 + 3p2 u2 (1 - u) + p3u3

P (u) = (1, 1) (1 - u)3   + 3 (2, 3)u (1 - u)2 + 3 (4, 3) u2 (1 - u) + (3, 1)u3. we select various values of u from 0 to 1.

u = 0:   P (0) = (1, 1) (1 - 0)3 + 0 + 0 + 0 = (1, 1)

u = 0.5:  P (0.5) = (1, 1)(1 - 0.5)3+3(2, 3)(0.5) (1 - 0.5)2 + 3 (4, 3)(0.5)2(1 - 0.5)+(3,1) (0.5)3

= (1, 1) (0.5)3 + (2, 3) (0.375) + (0.375) (4, 3) + (3, 1) (0.125)

= (0.125, 0.125) +  (0.75, 1.125) + (1.5, 1.125) + (1.125, 0.125) P (0.5) = (3.5, 2.5)

u = 1:  P (1) = 0 + 0 + 0 + (3, 1). 13

= (3, 1)


Related Discussions:- Vertices of bezier curve find out 3 points on bezier curve

Midpoint circle generation algorithm - 2d shape primitives, Midpoint Circle...

Midpoint Circle Generation Algorithm   Just as a line drawing algorithm approximates infinite number of points on a line segment by only a finite number of pixels, a circle dra

What are the steps involved in 3d transformation, What are the steps involv...

What are the steps involved in 3D transformation?  Modeling Transformation Projection Transformation Viewing Transformation Workstation Transformation

What is riged body transformation matrix, What is riged body transformation...

What is riged body transformation matrix? Show that the composition lf two rotation is additive by concatenating the matrix representation of r (theta 2 ) = R (theta1 + theta 2 ) t

Vecgen algorithm, Working of vecgen algorithm with diagram

Working of vecgen algorithm with diagram

Intensity of colours - raster graphics and clipping, Similarly we can contr...

Similarly we can control the intensity of colours We contain more bit planes for all colour say three bit planes for R, 3 for G and 3 for B here all bit plane of size mxn, hen

Diffuse reflection - polygon rendering & ray tracing methods, Diffuse Refle...

Diffuse Reflection - Polygon Rendering & Ray Tracing Methods It is characteristic of light reflected from a non-shiny, dull surface. Objects illuminated solely through diff

Determine the transformation matrix for the reflection, Determine the trans...

Determine the transformation matrix for the reflection about the line y = x. Solution: The transformation for mirror reflection regarding to the line y = x, comprises the subs

Boundary-fill algorithm or flood-fill algorithm , boundary-fill algorithm o...

boundary-fill algorithm or flood-fill algorithm As you saw the implementation of scan line polygon fill requires that boundaries should be straight line segments.  The seed fi

Reflection and types of reflection, Reflection and Types of Reflection ...

Reflection and Types of Reflection Reflection and its types:   Reflection: this is the phenomenon of bouncing back of light; such phenomenon obeys laws of Reflec

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