In the name of God Computer Graphics Bastanfard. Curve Function(2) Other method is approximate it using a poly-line. Just locate a set of points along.

Slides:



Advertisements
Similar presentations
Computer Graphics- SCC 342
Advertisements

COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
CMPE 466 COMPUTER GRAPHICS
In the name of God Computer Graphics Bastanfard.
Extended Gaussian Images
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
2-D and 3D shapes Riddle Game.
1 Computer Graphics Chapter 7 3D Object Modeling.
Informationsteknologi Monday, December 10, 2007Computer Graphics - Class 161 Today’s class Curve fitting Evaluators Surfaces.
Computer Graphics - Class 14
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
2003 by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University.
Chapter 4 Digital Multimedia, 2nd edition Vector Graphics.
ENDS 375 Foundations of Visualization Geometric Representation 9/30/04.
3D Model Objects. Wireframes A wireframe model is a skeletal description of a 3D object. There are no surfaces in a wireframe model; it consists only.
Geometry is everywhere by : Laura González  Solid figures are 3D figures that have length, width and heigth.  For example :  Sphere Faces:0 Vertices:0.
9-4 Geometry in Three Dimensions  Simple Closed Surfaces  Regular Polyhedra  Cylinders and Cones.
Splines III – Bézier Curves
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Modeling. Topology Topology describes an object’s shape, number of spans, and degree. For polygon objects this includes vertex positions.
CS-321 Dr. Mark L. Hornick 1 3-D Object Modeling.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
C O M P U T E R G R A P H I C S Stuff Jian Chen January 15, 2010 Transformations 1/10 Describing Shape By Andries van Dam.
Three-Dimensional Figures and Spatial Reasoning
Review of Geometric Shapes
4/15/04© University of Wisconsin, CS559 Spring 2004 Last Time More modeling: –Hierarchical modeling –Instancing and Parametric Instancing –Constructive.
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
Geometry 10-1 Solids Face: the flat side of a figure
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Copyright © Curt Hill Visualization of 3D Worlds How are these images described?
Subdivision Schemes Basic idea: Start with something coarse, and refine it into smaller pieces for rendering –We have seen how subdivision may be used.
Vector Graphics Digital Multimedia Chap 이병희
GPH 338 Computer Animation Survey
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
Nets Nets A net is a pattern that you cut out and fold to form a 3 - dimensional figure.
Polygons and Solids. Helix - Volume or solid of spiral shape that turns at a constant angle. cylinder -Volume or solid generated by the rotation.
3D Object Representations graphics scenes contain solid geometric objects trees, flowers, clouds, rocks, water representations surface ↔interior models.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Introduction to Curves
Introduction to Meshes Lecture 22 Mon, Oct 20, 2003.
Section 12-1 Exploring Solids. Polyhedron Three dimensional closed figure formed by joining three or more polygons at their side. Plural: polyhedra.
12.1 Exploring Solids.
2-D and 3-D Figures Riddle Game.
OUTPUT PRIMITIVES A.Aruna/Faculty of Information technology/SNSCE13/19/2016.
Introduction to 3D Solids and Solids of Revolution Some 3D shapes can be formed by revolving a 2D shape around a line (called the axis of revolution).
Slide 1Lecture Fall ‘00 Surface Modeling Types: Polygon surfaces Curved surfaces Volumes Generating models: Interactive Procedural.
Sphere – any round object whose curved surface is the same distance to the center as all of its points.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Lecture 5 Basic geometric objects
Constructing Objects in Computer Graphics
Geometry Review By Mr. Hemmert.
Unit 11: 3-Dimensional Geometry
Constructing Objects in Computer Graphics By Andries van Dam©
3D Object Representations
Unit 11: 3-Dimensional Geometry
Three-Dimensional Figures and Spatial Reasoning
10.1 Solid Geometry Geometry.
Warm Up Classify each polygon. 1. a polygon with three congruent sides
Solid Geometry.
Create 3D Solid Objects. Create 3D Solid Objects.
Introduction to Meshes
Three-Dimensional Object Representation
Solid Geometry.
Solid Geometry.
Spline representation. ❖ A spline is a flexible strip used to produce a smooth curve through a designated set of points. ❖ Mathematically describe such.
Introduction to Meshes
Last Time B-splines Project 3 was made available
Presentation transcript:

In the name of God Computer Graphics Bastanfard

Curve Function(2) Other method is approximate it using a poly-line. Just locate a set of points along the curve path and connect the points with straight-line segments. More line sections =>the smoother the appearance of the curve. A third alternative is to write our own curve-generation functions Illustration of various poly-line displays that could be used for a circle segment. A circular arc approximated with (a) three straight-line segments, (b) six line segments, and (c) twelve line segments.

Polynomials and Splin curves(1) A polynomial function of n th degree in x is defined as where n is a nonnegative integer and the a k are constants, with a n ~= 0. We obtain a quadratic curve when n = 2, a cubic polynomial when n = 3, a quartic curve when n = 4, and so forth. And we have a straight line when n = 1. Applications, design of object shapes, the specification of animation paths, the graphing of data trends in a discrete set of data points. Designing object shapes or motion paths is typically accomplished by first specifying a few points to define the general curve contour, then the selected points are fitted with a polynomial. One way to accomplish the curve fitting is to construct a cubic polynomial curve section between each pair of specified points.

Polynomials and Splin curves(2) Each curve section is then described in parametric form as where parameter u varies over the interval from 0 to 1.0. Values for the coefficients of u in the preceding equations are determined from boundary conditions on the curve sections. Continuous curves that are formed with polynomial pieces are called spline curves, or simply splines. curve formed with individual cubic polynomial sections between specified coordinate positions.

Fill area primitives(1) useful picture components, points, straight-line segments, and curves,… an area that is filled with some solid color or pattern. A picture component that is an area that is filled with some solid color or pattern is referred to as a fill area or a filled area. Application 1.describe surfaces of solid objects, 2.fill regions are usually planar surfaces, mainly polygons.

Fill area primitives(2) For the present,we assume that all fill areas are to be displayed with a specified solid color. Solid-color fill areas specified with various boundaries. (a)A circular fill region. (b)A fill area bounded by a closed poly line. (c)A filled area specified with an irregular curved boundary.

Fill area attribute(3) Although any fill-area shape is possible, graphics libraries generally do not support specifications for arbitrary fill shapes. Most library routines require that a fill area be specified as a polygon. Graphics routines can efficiently process polygons because polygon boundaries are described with linear equations. Most curved surfaces can be approximated with a set of polygon patches, just as a curved line can be approximated with a set of straight-line segments.

Fill area primitives(4) when lighting effects and surface-shading procedures are applied, an approximated curved surface can be displayed quite realistically. Approximating a curved surface with polygon facets is sometimes referred to as surface tessellation, or fitting the surface with a polygon mesh. wire-frame views, shows only the polygon edges to give a general indication of the surface structure. Then the wire-frame model could be shaded to generate a display of a natural-looking material surface.

Fill area primitives(5) Objects described with a set of polygon surface patches are usually referred to as standard graphics objects, or just graphics objects. Wire-frame representation for a cylinder, showing only the front (visible) faces of the polygon mesh used to approximate the surfaces. In general, we can create fill areas with any boundary specification, such as a circle or connected set of spline-curve sections.

Polygon a polygon is a plane figure specified by a set of three or more coordinate positions, called vertices, that are connected in sequence by straight-line segments, called the edges or sides of the polygon. the polygon edges have no common point other than their endpoints.

Polygon (1) a polygon must have all its vertices within a single plane and there can be no edge crossings. triangles, rectangles, octagons, and decagons. Sometimes, any plane figure with a closed-polyline boundary is alluded to as a polygon, and one with no crossing edges is referred to as a standard polygon or a simple polygon. “polygon” is referred only to those planar shapes that have a closed poly line boundary and no edge crossings.

Polygon (2) For a computer-graphics application, it is possible that a designated set of polygon vertices do not all lie exactly in one plane.

Polygon (3) approximating a curved surface with a set of polygonal patches. divide the specified surface mesh into triangles.

Subdivision Method Begin with a course approximation to the sphere, that uses only triangles –Two good candidates are platonic solids with triangular faces: Octahedron, Isosahedron –They have uniformly sized faces and uniform vertex degree Repeat the following process: –Insert a new vertex in the middle of each edge –Push the vertices out to the surface of the sphere –Break each triangular face into 4 triangles using the new vertices Octahedron Isosahedron