Chapter 5 Curves and Fractals.

Slides:



Advertisements
Similar presentations
SI23 Introduction to Computer Graphics
Advertisements

CCSSM Stage 3 Companion Text
Lecture 10 Curves and Surfaces I
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
1 Computer Graphics Chapter 7 3D Object Modeling.
HCI 530 : Seminar (HCI) Damian Schofield. HCI 530: Seminar (HCI) Transforms –Two Dimensional –Three Dimensional The Graphics Pipeline.
1 Lecture 13 Modeling Curved Lines and Surfaces. 2 Types of Surfaces Ruled Surfaces B-Splines and Bezier Curves Surfaces of Revolution.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Dr. Abdulrahman M. Al-Ahmari Industrial Engineering.
Holt Geometry 12-Ext Using Patterns to Generate Fractals 12-Ext Using Patterns to Generate Fractals Holt Geometry Lesson Presentation Lesson Presentation.
Lesson 10-5: Transformations
Approaches To Infinity. Fractals Self Similarity – They appear the same at every scale, no matter how much enlarged.
MS. WILLIAMS Anatomy of a 3D Model. 3D Model 3D Models are one of the essential building blocks of 3D computer graphics. Without them there would be no.
Splines III – Bézier Curves
Computer Graphics Lecture 13 Curves and Surfaces I.
Curve Modeling Bézier Curves
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
Dx = 2 dy = 3 Y X D Translation A translation is applied to an object by repositioning it along a straight-line path.
Chapter 7 Transformations.
L-Systems and Procedural Plants CSE 3541 Matt Boggus.
TransformationsTrianglesLinesAnglesGrab Bag $100 $200 $300 $400 $500 Final Jeopardy $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Computer Graphics 2D Transformations. 2 of 74 Contents In today’s lecture we’ll cover the following: –Why transformations –Transformations Translation.
Geometric Objects and Transformation
Copyright © 2005 Pearson Education, Inc. Slide 10-1.
Koch Curve How to draw a Koch curve.. Start with a line segment (STAGE 0) *Divide the line into thirds *In the middle third produce an equilateral triangle.
Lesson 10-5: Transformations 1 Lesson 9 Transformations G.CO2, Represent transformation in plane describe as a function that take points in the plane as.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Math Review.
Splines I – Curves and Properties based on: Michael Gleicher Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Honors Geometry.  We learned how to set up a polygon / vertex matrix  We learned how to add matrices  We learned how to multiply matrices.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Object Modeling: Curves and Surfaces CEng 477 Introduction to Computer Graphics.
5.7 Reflections and Symmetry. Objective Identify and use reflections and lines of symmetry.
The Further Mathematics Support Programme Our aim is to increase the uptake of AS and A level Mathematics and Further Mathematics to ensure that more.
Write Bresenham’s algorithm for generation of line also indicate which raster locations would be chosen by Bresenham’s algorithm when scan converting.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Introduction to Parametric Curve and Surface Modeling.
Lesson 10-5: Transformations 1 Lesson 10-5 Transformations.
Lesson 10-5: Transformations
Lecture 5 Basic geometric objects
Theory of nonlinear dynamic systems Practice 9
COMPUTER GRAPHICS CHAPTERS CS 482 – Fall 2017 SPLINES
Computer Graphics CC416 Week 15 3D Graphics.
Test Review for Transformations
Computer Graphics Lecture 40 Fractals Taqdees A. Siddiqi edu
Fractals Project Natalie Rowe.
4.3 Graphs of Polynomial Functions
POLYGONS Polygons are 2-dimensional shapes
Transformations.
© University of Wisconsin, CS559 Spring 2004
patching Bezier curves and surfaces fractals
Chapter 4 – Scale Factors and Similarity Key Terms
A movement of a figure in a plane.
MATH 8 – UNIT 1 REVIEW.
Chapter Vectors.
Lesson 10-5: Transformations
Properties of Triangles and Quadrilateral
Lesson 10-5: Transformations
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Rotation: all points in the original figure rotate, or turn, an identical number of degrees around a fixed point.
Three-Dimensional Object Representation
created by: Mrs. Cindy Henry
Translation (slide) TRANSLATION a slide without turning.
A9 Graphs of non-linear functions
Properties or Rules of Transformations
Lesson 10-5: Transformations
Introduction to Parametric Curve and Surface Modeling
Lesson 10-5: Transformations
Lesson 10-2 Transformations.
Type to enter a caption. Computer Graphics Week 10 Lecture 2.
UNIT 1B REVIEW Triangle Theorems, dilations, congruence, Parallel lines cut by a transversal.
Presentation transcript:

Chapter 5 Curves and Fractals

Curve Generation In computer graphics, we often need to draw different types of objects onto the screen. Objects are not flat all the time and we need to draw curves many times to draw an object.

Curve A curve is an infinitely large set of points. Each point has two neighbors except endpoints in specific direction.

Bezier curve Bezier curve is discovered by the French engineer Pierre Bézier. These curves can be generated under the control of other points.

Bezier curve The simplest Bézier curve is the straight line from the point P0 to P1. A quadratic Bezier curve is determined by three control points. A cubic Bezier curve is determined by four control points.

Properties of Bezier Curves They always pass through the first and last control points. The degree of the polynomial is one less that the number of defining polygon point. Therefore, for 4 control points, the degree of the polynomial is 3, i.e. cubic polynomial.

Properties of Bezier Curves A Bezier curve generally follows the shape of the defining polygon. The direction angle of the end points is same as that of the first and last segments A given Bezier curve can be subdivided into two Bezier segments which join together to form a new shapes.

Fractals

Fractals Fractals are very complex pictures generated by a computer from a single formula. They are created using iterations. This means one formula is repeated with slightly different values over and over again, taking into account the results from the previous iteration.

Fractals are used in many areas Astronomy: For analyzing galaxies , rings of Saturn Biology/Chemistry: For depicting bacteria cultures, Chemical reactions, Human anatomy, molecules, Plants etc

Koch Fractals (Snowflakes) 1/3 1/3 1 1/3 1/3 Generator Iteration 0 Iteration 1 Iteration 2 Iteration 3

Fractal Tree Generator Iteration 1 Iteration 2 Iteration 3 Iteration 4 Iteration 5

Fractal Fern Generator Iteration 0 Iteration 1 Iteration 2 Iteration 3

Fractals

Generation of Fractals Fractals can be generated by repeating the same shape over and over again as shown in the following figure. In figure (a) shows an equilateral triangle. Fig: (a)

Fractals In figure (b), we can see that the triangle is repeated to create a star-like shape. Fig: (b)

Fractals In figure (c), we can see that the star shape in figure (b) is repeated again and again to create a new shape. Fig: (c)

3D Transformation In the 2D system, we use only two coordinates X and Y but in 3D, an extra coordinate Z is added. 3D graphics techniques and their application are fundamental to the entertainment, games, and computer-aided design industries.

Translation In 3D translation, we transfer the Z coordinate along with the X and Y coordinates. The process for translation in 3D is similar to 2D translation. A translation moves an object into a different position on the screen. Figure: 3D Translation

Rotation 3D rotation is not same as 2D rotation. In 3D rotation, we have to specify the angle of rotation along with the axis of rotation. We can perform 3D rotation about X, Y, and Z axes. Figure: 3D Rotation

Rotation The following figure explains the rotation about various axis: Rotation about x-axis Rotation about y-axis Rotation about z-axis

Scaling You can change the size of an object using scaling transformation. In the scaling process, you either expand or compress the dimensions of the object. Scaling can be achieved by multiplying the original coordinates of the object with the scaling factor to get the desired result. Figure: 3D Scaling

Shear A transformation that slants the shape of an object is called the shear transformation. Like in 2D shear, we can shear an object along the X-axis, Y-axis, or Z- axis in 3D. Figure: 3D Shearing

Thank u..