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

Rotation - 2-d and 3-d transformations, Rotation - 2-d and 3-d transformati...

Rotation - 2-d and 3-d transformations Given a 2-D point P(x,y), that we want to rotate, along with respect to an arbitrary point A(h,k). Suppose P'(x'y') be the effect of ant

Midpoint circle generation algorithm, Midpoint circle generation algorithm ...

Midpoint circle generation algorithm This makes use of a circle function. Based on this circle function, a decision parameter is created which is used to decide successive pixe

What are the advantages of rendering by patch splitting, What are the advan...

What are the advantages of rendering by patch splitting?  i. It is fast-especially on workstations with a hardware polygon-rendering pipeline.  ii. Its speed can be varied b

., Define the working procedure of CRT with diagram

Define the working procedure of CRT with diagram

digital audio technologies, Digital audio technologies DAB (Digita...

Digital audio technologies DAB (Digital Audio Broadcasting) Digital Audio Tape (DAT) DVD DVD-A Digital audio player Compact disc (CD) Minidisc (obsolete

Clipping and 3d primitives, Clipping and 3D Primitives This unit introd...

Clipping and 3D Primitives This unit introduces you to three important concepts of Computer Graphics. After that discusses the concept of clipping, which means removal of objec

Methods for drawing thick lines, Describe any two methods for drawing thick...

Describe any two methods for drawing thick lines. Two method for drawing thick lines are: (1) Using the line- width command: "setline width scale factor (iw)" Line width param

Design a game using graphical user interface, BlackJack is a popular card g...

BlackJack is a popular card game played in many casinos. The player plays against the dealer aiming to reach 21 points, or a score higher than the dealer without exceeding 21. The

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