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

Transformation, determine the form of the transformation matrix for a refle...

determine the form of the transformation matrix for a reflection about an arbitrary line with equation y=mx+b.

Translate a triangle and scale it in coordinate direction, Translate a tria...

Translate a triangle and scale it in each coordinate direction Consider a triangle with vertices in 2D plane given by (0, 0), (1, 0) and (0,1) (called unit triangle).  Translat

Reflection, Determine the transformation matrix for the reflection, Compute...

Determine the transformation matrix for the reflection, Computer Graphics

Reflection, determine the tranformation matrix for reflection,computer grap...

determine the tranformation matrix for reflection,computer graphics

What is meant by addressability, What is meant by Addressability? Ans. ...

What is meant by Addressability? Ans. Addressability is the number of individual dots per inch (d.p.i.) that can be formed. If the address of the current dot is (x, y) then the

Three dimensional display methods - 2d clipping algorithms, Three dimension...

Three dimensional display methods: Among the simplest three dimensional surface representations are the polygonal surfaces.  A polygonal surface is described by vertices

Derive the single combined transformation matrix, A 2D geometric shape is r...

A 2D geometric shape is rotated about a point with coordinates (1,2)  by 90°  in a clockwise direction.  Then, the shape is scaled about the same point in the x-coordinate by 2 tim

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

Methods of animation - computer animation, Methods of Animation - Computer ...

Methods of Animation - Computer Animation First method: in this, artist makes a succession of cartoon frames that are then combined in a film. Second method: in this,

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