Important point about the de casteljeau algorithm, Computer Graphics

Assignment Help:

Important point about the De casteljeau algorithm

1)     

1690_Important point about the De casteljeau algorithm.png

Bezier Curve: P (u) =

   ................     (1)

Here Bn,i (u) = nci ui (1 - u) n-i       ..............        (2)

C (n, i) = nCi = n!/i!(n - i)!      0 ≤ u ≤ 1

2)      Cubic Bezier curve has n = 3 as:

1691_Important point about the De casteljeau algorithm 1.png

------------------(3)

= p0 B3, 0 (u) + p1 B3, 1 (u) + p2 B3, 2 (u) + p3 B3, 3 (u)

Now, let's find B3, 0 (u), B3, 1 (u), B3, 2 (u) , B3, 3 (u) by using equation as in above:

Bn, i (u) = nci u (1 - u)

a)  B3, 0(u) = 3C0   u0   (1 - u)3 - 0

=          3!       . 1. (1 - u)3 = (1 - u)3

       0!(3 - 0)!

 

b)  B3, 1(u) = 3C1   u1   (1 - u)3 - 1

=          3!       . u. (1 - u)2 = 3u (1 - u)2

1!(3 - 1)!

c) B3,2(u) = 3C2   u2   (1 - u)3 - 2

=          3!       . u2. (1 - u) = 3u2(1 - u)

       2!(3 -2)!

B3,3(u) = 3C3   u3   (1 - u)3 - 3

=          3!       . u3. (1 - u) 

         3!(3 -3)!

By using (a), (b) , (c) and (d) in (5) we find here:

P (u) = p0 (1 - u)3 + 3p1u (1 - u)2 3p2u2 (1 - u) + p3 u3


Related Discussions:- Important point about the de casteljeau algorithm

Computational algorithm for simulating physical system, computational algor...

computational algorithm for simulating the behavior of different physical and mathematical systems Monte Carlo methods are an extensively utilized class of computational algor

Terms, composite transformation

composite transformation

Cel animation - computer animation, Cel Animation - Computer Animation ...

Cel Animation - Computer Animation Making an animation by using this method, all characters are drawn on a separate piece of transparent paper. Also a background is drawn on a

Properties of bezier curves - modeling and rendering, Properties of Bezier ...

Properties of Bezier Curves - modeling and rendering A very helpful property of a Bezier curve is that it always passes via the first and last control points. Such the bounda

Write a c-code for a user to draw a polygon object, Write a C-code for an i...

Write a C-code for an interactive program which allows a user to draw a polygon object in a window and then gives various choices of geometric transformations on the polygon.  Once

Word perfect graphic, WPG: It is word perfect graphic file that is used vi...

WPG: It is word perfect graphic file that is used via Word Perfect. It first came out with the release of word perfect 5.0. Such files can include bitmaps, line arts and vector gr

What you mean by parallel projection, What you mean by parallel projection?...

What you mean by parallel projection?  Parallel projection is one in which z coordinates is discarded and parallel lines from every vertex on the object are extended unless the

Odd-even rule and non-zero winding number rule, What is the difference betw...

What is the difference between odd-even rule and non-zero winding number rule to identify interior regions of an object? Develop an algorithm for a recursive method for filling a 4

Z-buffer algorithm, How to implement z-buffer algorithm using C programming...

How to implement z-buffer algorithm using C programming

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