16 views

Uploaded by 16rock9999

COMPUTER GRAPHICS

- NEAP Maths Methods Units 3and4 Exam 1 Questions Booklet
- LE2_Viado.doc
- Monthly Test Aug 09 Add Maths Form 4
- brochure abigail parlin
- 3.doc
- Special Functions 840D 840Di 810D
- Weekly Lesson Plans for Week 8
- 901350_S06
- Cartesian Coordinate System
- Autocad - Tutorial Auto Cad 2002 2D 3D
- 04 Curves Surfaces
- Copy of Solidworks Manual[1] 1
- 052_MEDICION_HERRAMIENTA
- maths cartesian plane 3 lesson fpd
- Block Modelling.pdf
- tfdsfdssdffretsd23
- math algebra study guide
- Problems 2
- PDA Indicators Studies En
- Solucionario Precalculo, 7ma Edicion – Michael Sullivan.pdf

You are on page 1of 4

We will construct what is called the quadratic Bezier curve by means of a geometric algorithm.

First, draw segments AB and BC and relabel as A1, A2, A3. (Discover the RELABEL command in Display if you have

not done so; it will save you time.) Construct the point B1 as a point on segment A1A2.

Measure the ratio A1B1/A1A2. We will think of this ratio as t, so you may want to repeat the measurement and relabel it

as t as in the figure.

Select the ratio t and choose Mark Scale Factor in the Transform menu. Then Mark A2 as center and dilate point A3 to

get A3', which we relabel as B2.

Next construct segment B1B2 and construct point C1 on the segment by dilating B2 with center B1 and ratio t.

Now if you drag B1 all the points B2 and C1 should move "in tandem" with the same barycentric coordinates on their

respective segments. You can create an animation button for B1 on segment A1A2 if you like.

Now construct the locus of C1 by selecting C1 and B1 and choosing Locus on the Construct menu.

Finally, hide the points B1,B2,C1 and segment B1B2 and the ratio. Select the figure, including the locus and Make a

Script. Check in a new Sketch that this figure constructs the locus. In a new figure draw points A, B, C, D, E and

construct two Bezier curves given by A, B, C and also C, D, E. Notice that they do not fit together very smoothly unless

B, C and D are collinear.

Write down the formula in terms of the barycentric coordinates (1-t) and t of points B1, B2 with respect to the triangle

A1A2A3. What are the barycentric coordinates of C1? Do they add up to 1?

Cubic Bezier Curves by the De Casteljau Algorithm

We will construct what is called the cubic Bezier curve by taking the previous construction a step further.

Draw points A1, A2, A3, A4 in a new sketch and construct point B1 as a point on segment A1A2.

Measure the ratio A1B1/A1A2 as before and call it t. Mark Scale Factor as t.

With this notation, B1 = (1-t)A1+tA2. Construct the points B2 = (1-t)A2 + t A3 by dilating A3 with center A2 and ratio t.

Construct B3 on segment A3A4 in the same way.

Now you have points B1, B2, B3 that all move according to ratio t. But B1, B2, B3 forms a figure like the A1, A2, A3 of

the quadratic case. So complete the construction of new points as you did in that case, to get C1, C2 and also D1, all

with dilations using the same ratio t but different centers.

Finally, select point D1 and point B1 and choose Locus from the Construct menu. If you hide the construction and the

ratio, you can select the locus and the points A1, A2, A3, A4 and make a script that will draw the locus. Reorder the

Givens if necessary to have the order A1, A2, A3, A4. (Do this by dragging in the Script window while you hold down

the Shift Key.

Now apply the script to see how cubics are used in computer graphics. In a new sketch, draw points P1, P2, Q1, Q2, R1,

R2. Construct Q2' by rotating Q2 by 180 degrees with center Q1. Now apply the script first to P1, P2, Q2', Q1 and then

Q1, Q2, R1, R2. See how the cubics fit together.

Area, shears and affine mappings

We will investigate the areas of parallelograms in (x,y) space.

In a new sketch, show the axes and then construct a parallelogram as in the figure, with one vertex at O, the origin, one at A and

one at B as shown. The fourth vertex S has position vector A+B. But sure to have the whole line BS, not just the segment.

Construct a point C on this line.

Now relabel Point C as B1.

Mark vector OA and translate B1 by this

vector to get new point S1. Construct the

sides and interior of this new parallelogram

OAS1B1.

Explain why the new parallelogram has the

same area as the old parallelogram OASB.

Now suppose A = (a,b) and B = (c,d). If we

drag B1 so that B1 is on the y-axis, what are

the coordinates of B1.

In this case, what are the coordinates of S1?

If we take OB1 as the base of this

parallelogram, what is the base and what is

the height?

What is the area of OAS1B1? This should

be a formula in terms of a, b, c, d. This is

also the area of OASB, or the parallelogram,

with sides OA, and OB. Do you see the

determinant?

A shear is an affine transformation that leaves one line m fixed and moves some point B to another pont B1 so that BB1 is

parallel to m. This means all lines parallel to m along themselves. The example above was a shear. If we think in terms of affine

coordinates, a point with affine coordinates (x,y) in terms of the axes OA and OB is mapped to a point P' with the same

coordinates in terms of OA and OB1.

Add to the figure a point P and figure out how to construct P'

Explain how the parallelogram OAS1B1 (when B1 is on the y-axis) can be sheared in a vertical direction into a rectangle with

sides parallel to the axes. This means that any affine transformation is a product of two shears and a scaling parallel to the x and

y axes (a strain).

- NEAP Maths Methods Units 3and4 Exam 1 Questions BookletUploaded byRayan
- LE2_Viado.docUploaded byRussell Viado
- Monthly Test Aug 09 Add Maths Form 4Uploaded byBid Hassan
- brochure abigail parlinUploaded byapi-311938948
- 3.docUploaded bydeeepakkhadse
- Special Functions 840D 840Di 810DUploaded bystanalina00
- Weekly Lesson Plans for Week 8Uploaded bykellieouzts
- 901350_S06Uploaded byAnurag Dutt
- Cartesian Coordinate SystemUploaded bystevenspillkumar
- Autocad - Tutorial Auto Cad 2002 2D 3DUploaded bypaulordsantos
- 04 Curves SurfacesUploaded bySuryakumar Bendalam
- Copy of Solidworks Manual[1] 1Uploaded byDaniel Herrera
- 052_MEDICION_HERRAMIENTAUploaded byDavid Martinez
- maths cartesian plane 3 lesson fpdUploaded byapi-390074616
- Block Modelling.pdfUploaded byMuhammad R Wambes
- tfdsfdssdffretsd23Uploaded byKelli Flores
- math algebra study guideUploaded byapi-327971645
- Problems 2Uploaded byKarthik Reddy
- PDA Indicators Studies EnUploaded byUna Hajderpasic
- Solucionario Precalculo, 7ma Edicion – Michael Sullivan.pdfUploaded byVictor Loarca
- How to Write a Lab ReportUploaded bySalman Tahir
- chap3-forward-kinematics.pdfUploaded bybathinsreenivas
- 17 - AOM for MLn Ligand FieldsUploaded byIgor Nedeljkovic
- QuestionsUploaded byrohitsharma4377
- MANUAL - 113251 - Computer Aided Drafting and Modeling LabUploaded byKarthi Keyan
- Chapter 12.1 Cartesian Space CoordinatesUploaded byFrank Tai
- graphingsUploaded byWendy Cohen
- Shell Element Internal Forces Stresses Output Convention.pdfUploaded bydlanorciv
- D7136D7136M.30684Uploaded byThiago Tan
- Lecture 17Uploaded byYadhuvanth kumar

- 02b Blank TimetableUploaded by16rock9999
- HCL Technologies Fresher Walk inUploaded by16rock9999
- Proverbs 261Uploaded by16rock9999
- 0006Uploaded by16rock9999
- 2ndsemcoeUploaded by16rock9999
- 0000018Uploaded by16rock9999
- 02b Blank TimetableUploaded by16rock9999
- 0005Uploaded by16rock9999
- HCL Technologies Fresher Walk inUploaded by16rock9999
- 01Uploaded by16rock9999
- IMG_20151028_123622577Uploaded by16rock9999
- 322 UV Vis InstrumentationUploaded by16rock9999
- 0000013Uploaded by16rock9999
- Fluoroscopy AngiographyUploaded by16rock9999
- IMG_20151028_123600732Uploaded by16rock9999
- Mutation Form (1)Uploaded by16rock9999
- Reliance RIL Placement Paper Aptitude General 29176Uploaded by16rock9999
- AFCAT 2015 NotificationUploaded byMota Chashma
- Master Opp GaveUploaded byFrancis Odhiambo
- 6thsemcoeUploaded by16rock9999
- 0002Uploaded by16rock9999
- Reliance RIL Placement Paper Whole Testpaper 29179Uploaded by16rock9999
- Reliance RIL Placement Paper Whole Testpaper 29179Uploaded by16rock9999
- 6th sem iceUploaded by16rock9999
- College Khabar - Engineering Placement News, Student College Reviews, Company Reviews, College Events,Placement Papers, Student InterviewsUploaded by16rock9999
- College Khabar - Engineering Placement News, Student College Reviews, Company Reviews, College Events,Placement Papers, Student Interviews 2Uploaded by16rock9999
- 0003Uploaded by16rock9999
- Reliance RIL Placement Paper Whole Testpaper 30621Uploaded by16rock9999
- Our Reference _ Made EasyUploaded by16rock9999
- 0004Uploaded by16rock9999

- Reaction WheelUploaded byMartin7_1
- Advanced Curve Machining MethodUploaded byavailme
- Lecture 2Uploaded byMahesh Gahlot
- 3 Shear and StretchUploaded bySaniya Jumani
- Chapter 3Uploaded byZurina MA
- 2D Geometric TransformationsUploaded bykaliyaram
- DefinitionUploaded byMohd Imm
- math ii final exam reviewUploaded byapi-339140050
- Rolling MotionUploaded byKd Sharma
- Computer Graphics Hand Book of IV CSE JNTUH 2013Uploaded bygouse1210
- Balancing of Rotating MassesUploaded byshweta_of_s
- Kinematics InTwo DimensionsUploaded byBernadus Pranata
- 12 All TransformationsUploaded byAnwar Hossain
- real 56 curriculum newsletter term 4 2016 1Uploaded byapi-308842361
- Chapter 4Uploaded bysajjaddr
- IGCSEFM MatrixTransformations Exercises 2Uploaded bynancyjayapala
- sme2 wks 15 and 16 geometry and matricesUploaded byapi-138117317
- Computer GraphicsUploaded byHema Sudarshan V
- Equations of Motion Rigid Spherical BodyUploaded byRaimundo Costa
- Lecture 2Uploaded bylucas
- Class 31- 32 Modeling of a GyroscopeUploaded byapi-26676616
- Chapter 8Uploaded byMohan Manickam
- Transformation 2D to 3DUploaded byKamalkumar1405
- ch9Uploaded byFerdinand Yohannes Van Lankhorst
- Kinematics IIUploaded byfitri puji rahayu
- angular velocity& acceleration.pdfUploaded byRupsagar Chatterjee
- Part 4 - 2D TransformationsUploaded bynasipwoni
- Dynamics - Chapter 18 [Beer7]Uploaded byapi-3709496
- Rigid BodiesUploaded byRajalakshmi
- BAGONG MODULOUploaded byMario M. Ramon