1 대상물체의 형상화를 위해 사용되는 기술  인공물체 : 기하학적 Primitive ( 선, 면, 구, 육면체 ) 등을 이 용하여 형상화. 입력물 : 형상화 물체의 3 차원 좌표값 출력물 : 선구조형상 (Wire framed objects) Technique:Geometric.

Slides:



Advertisements
Similar presentations
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
Advertisements

Geometric Modeling Notes on Curve and Surface Continuity Parts of Mortenson, Farin, Angel, Hill and others.
© University of Wisconsin, CS559 Spring 2004
Jehee Lee Seoul National University
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
1 Computer Graphics Chapter 7 3D Object Modeling.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
DEFINING OBJECTS - 3D REPRESENTATIONS Surface representations Polygon tables 3D curves and curved surfaces Sweep representations Constructive solid geometry.
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Object Representation 고려대학교 컴퓨터 그래픽스 연구실.
Cornell CS465 Fall 2004 Lecture 16© 2004 Steve Marschner 1 Curved surfaces CS 465 Lecture 16.
Computer Graphics - Class 14
Disediakan oleh Suriati bte Sadimon GMM, FSKSM, UTM 2004 SURFACE.
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.
1. 2 The use of curved surfaces allows for a higher level of modeling, especially for the construction of highly realistic models. There are several approaches.
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Curves Mortenson Chapter 2-5 and Angel Chapter 9
ENDS 375 Foundations of Visualization Geometric Representation 10/5/04.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Industrial Engineering Program King Saud University.
1 Representing Curves and Surfaces. 2 Introduction We need smooth curves and surfaces in many applications: –model real world objects –computer-aided.
Curve Surfaces June 4, Examples of Curve Surfaces Spheres The body of a car Almost everything in nature.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Curves and Surfaces (cont’) Amy Zhang. Conversion between Representations  Example: Convert a curve from a cubic B-spline curve to the Bézier form:
Curve Modeling Bézier Curves
Bresenham’s Algorithm. Line Drawing Reference: Edward Angel’s book: –6 th Ed. Sections 6.8 and 6.9 Assuming: –Clipped (to fall within the window) –2D.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
3D Object Representations 2005, Fall. Course Syllabus Image Processing Modeling Rendering Animation.
A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Spline curves 1/23 Curves and Surfaces.
Graphics Graphics Korea University cgvr.korea.ac.kr Creating Virtual World I 김 창 헌 Department of Computer Science Korea University
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
V. Space Curves Types of curves Explicit Implicit Parametric.
Vector Computer Graphic. Vector entities Line Circle, Ellipse, arc,… Curves: Spline, Bezier’s curve, … … Areas Solids Models.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Geometric Modeling. Volumetric o Collection device obtains regular grid of measurement values Examples: CT, MRI, PET, Ultrasound o Values are interpreted/visualized.
Copyright © Curt Hill Visualization of 3D Worlds How are these images described?
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric Curves.
Curves and Surfaces Chapter 10. CS 480/680 2Chapter 9 -- Hierarchical Models Introduction: Introduction: Until now we have worked with flat entities such.
Parametric Surfaces Define points on the surface in terms of two parameters Simplest case: bilinear interpolation s t s x(s,t)x(s,t) P 0,0 P 1,0 P 1,1.
Solid Modeling. Solid Modeling - Polyhedron A polyhedron is a connected mesh of simple planar polygons that encloses a finite amount of space. A polyhedron.
3D Object Representations
Basic Theory (for curve 02). 1.3 Parametric Curves  The main aim of computer graphics is to display an arbitrary surface so that it looks real.  The.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
04/18/02(c) 2002 University of Wisconsin Last Time Hermite Curves Bezier Curves.
Curves: ch 4 of McConnell General problem with constructing curves: how to create curves that are “smooth” CAD problem Curves could be composed of segments.
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.
Computing & Information Sciences Kansas State University Lecture 31 of 42CIS 636/736: (Introduction to) Computer Graphics Lecture 32 of 42 Wednesday, 11.
Geometrically Bounded Wireframe AIC (Part 510) Grouping of curves relevant for 3-dimensional wireframe modeling without topological constructs Elementary.
11/26/02(C) University of Wisconsin Last Time BSplines.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
1 Graphics CSCI 343, Fall 2015 Lecture 34 Curves and Surfaces III.
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
Chapter 8 Engineering Geometry
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
CS 325 Computer Graphics 04 / 30 / 2010 Instructor: Michael Eckmann.
Introduction to Curves
Rendering Bezier Curves (1) Evaluate the curve at a fixed set of parameter values and join the points with straight lines Advantage: Very simple Disadvantages:
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
Object Modeling: Curves and Surfaces CEng 477 Introduction to Computer Graphics.
3D Object Representations. Introduction Line and circle and polygon algorithms- represented simple and smooth object. Some Natural object are neither.
Slide 1Lecture Fall ‘00 Surface Modeling Types: Polygon surfaces Curved surfaces Volumes Generating models: Interactive Procedural.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Introduction to Parametric Curve and Surface Modeling.
Curve & Surface.
Representation of Curves & Surfaces
3D Object Representations
3D Object Representation
© University of Wisconsin, CS559 Spring 2004
Three-Dimensional Object Representation
Introduction to Parametric Curve and Surface Modeling
Overview of Modeling 김성남.
Presentation transcript:

1 대상물체의 형상화를 위해 사용되는 기술  인공물체 : 기하학적 Primitive ( 선, 면, 구, 육면체 ) 등을 이 용하여 형상화. 입력물 : 형상화 물체의 3 차원 좌표값 출력물 : 선구조형상 (Wire framed objects) Technique:Geometric Modeling –Solid Modeling –CSG (Constructive Solid Geometry) 모델링 (1/4)

2  자연물체 : Procedualism 에 의한 형상화 입력물 : 자연물의 구조를 정의하는 규칙 출력물 : 선구조 형상 Technique –Grammar based Modeling –Fractal Modeling –Particle System 모델링 (2/4)

3 모델링 (3/4) Representation of Objects  Polygonal Objects are approximated by a net of planar polygonal facets.  parametric patches Objects are represented exactly by nets of elements called patches  Constructive solid geometry(CSG) Used in solid modeling Object is represented exactly by a collection of ‘elementary’ objects such as spheres, cylinders and boxes.  Space subdivision techniques Embedding an object in a space where points in the space are labelled according to object occupancy

4 모델링 (4/4) Representation  implicit function limited usefulness in CG –a limited number of object that can be represented  the form of the object approximation –polygonal, space subdivision exact representation –patch, CSG  Boundary/Volume representation boundary representation –polygonal, patch volume representation –space subdivision, CSG

5 Polygon Mesh  What is a polygon mesh? boundary representation (B rep) a set of connected polygonally bounded planar surface a collection of edges, vertices, and polygons connected such that each edge is shared by at most two polygons  Usage can be used not only planar objects but the objects with curved surfaces For curved surfaces, these exists obvious errors Maybe reduced by many subdivision Polygonal representation (1/3)

6 Polygonal representation (2/3)

7 Polygon Mesh  Operation on Polygon mesh finding all the edges incident on a vertex finding the polygons sharing an edge or vertex finding the vertices connected by an edge finding the edges of a polygon Polygonal representation (3/3)

8 Real world objects are inherently smooth  ex) character font, artist’s sketch, hand written form. Man-made objects are need to be smooth also  ex) automobiles, ship hulls, aircraft fuselages, etc G.M. deals with the construction of smooth curves and surfaces Techniques  Interpolation 기법 : Lagrange, Hermite  Approximation 기법 : Bezier, B-spline Geometric Modeling

9 Parametric Curves  Three basic forms of curves Explicit form y = f(x) –difficulties »impossible to get multiple values of y for single x ex) circle or ellipse »not rotationally invariant »describing curves with vertical tangents is difficult, slope of infinity is difficult to represent Implicit form f(x, y, z) = 0 –difficulties »given eg. may have more solutions than we want ex) »if two implicitly defined curve segments are join together  difficult to determine the tangent direction agreement at joint point  So, we use parametric form for curves and surfaces Parametric Curve (1/10)

10 Parametric form : based on the curve length  each points (x, y, z) on a curve is represented as a function of a single parameter  suitable for representing closed, multi-valued curves.  The position vector of a point on a curve is fixed by the value of the parameter Parametric Curve (2/10)

11 Parametric form : based on the curve length  For parameter t, we obtain equation  we denote x=x(t), y=y(t)  position vector p(t)=[x(t), y(t)]  derivative  slope of curve =  axis independent because point on a curve is specified by a single value of parameter t.  end point and length are fixed by parameter range usually normalized to Parametric Curve (3/10)

12 Ex) parametric rep. Of straight line from position vector to - each components of P(t) has a parametric representation when slope Parametric Curve (4/10)

13 Three Major types of Curves  Hermite Two end points & two end point tangent vectors  Bezier Defined by two end points and two other points that control the end point tangent vectors  Spline Defined by four control points –uniform B-spline –non-uniform B-spline – - spline Parametric Curve (5/10)

14 Parametric Curve (6/10) Hermite Curve  Two end points & two end point tangent vectors Bezier Curve  two end points and two other points that control the end point tangent vectors

15 Parametric Curve (7/10) Bezier curve properties  The first and last control points are the end points of the curve segment  Convexhull property The curve is contained in shaded area formed from the control points  The control points do not exert ‘local’ control Moving any control point affect all of the curve to a greater or lesser extent

16 Parametric Curve (8/10) B-spline curve property  four control points  convex hull property  The curve is transformed by applying affine transformation  A B-spline curve exhibit local control

17 Parametric Curve (9/10) Geometric continuity  G 0 geometric continuity two curve segment join together  G 1 geometric continuity the directions of the two segment’s tangent vectors are equal at a join point –not necessarily the magnitudes Parametric continuity  C 1 parametric continuity tangent vectors of two curve segments are equal at the join point –direction and magnitude  C n parametric continuity the direction and magnitude of d n /dt n [Q(t)] through the nth derivative are equal at the join point

18 Subdivision  Purpose : To render a curve, rather than evaluate points along a curve, it is more cheaper to subdivide recursively until the convex hulls are sufficiently good approximation to the curve. The termination criterion. –linearity test applied to the convex hull. i.e., how far the interior control points deviate from the line connecting the two outer control points. Parametric Curve (10/10)

19 Biparametric patch (1/3)

20 Biparametric patch (2/3)

21 Biparametric patch (3/3) Joining Two patch

22 Constructive Solid Geometry(CSG) (1/3) CSG  Used in solid modeling  Object is represented exactly by a collection of Geometric primitives ‘elementary’ objects such as spheres, cylinders and boxes.  combined using boolean set operators

23 Constructive Solid Geometry(CSG) (2/3) An object is stored as a tree  The leaves contain simple primitives  the nodes store operators or linear transformations

24 Constructive Solid Geometry(CSG) (3/3)

25 Space subdivision Technique (1/4) Space Subdivision  Embedding an object in a space where points in the space are labelled according to object occupancy  Techniques Octrees Binary Space Partitioning Tree

26 Space subdivision Technique (2/4) Octree  an established hierarchical data structure that specifies the occupancy of cubic regions of object space The cubic regions are often called voxels

27 Space subdivision Technique (3/4)

28 Space subdivision Technique (4/4) Binary Space-Partitioning Trees  recursively divide space into pairs of subspaces each separated by a plane of arbitrary orientation and position

29 To generate a 3-D surface, revolve a two dimensional entity, e.g., a line or plane about the axis in space. called surfaces of revolution Surface of Revolution (1/6)

30 When line segment and rotation axis are coplane and the line segment is not parallel to the rotation axis yields truncated right circular cone Surface of Revolution (2/6)

31 Line segment and axis of rotation are coplanar and the line segment  rotation axis  yields a planar disc. Surface of Revolution (3/6)

32 Closed polygon case Surface of Revolution (4/6)

33 Specification of surface of Revolution  Entity to be rotated can be represent parametric eq.  i.e., entity is a function of single parameter t  Rotation can be done by angle parameter   So, point on a S.O.R is specified by two parameters t and  Surface of Revolution (5/6)

34 Any parametric curve  i.e., cubic spline,  can by used to generate S.O.R Parametrically blended Bezier B-spline Surface of Revolution (6/6)

35

36 Sweep surfaces (1/3) A 3-D surface is obtained by traversing an entity such as a line, polygon or curve, along a path in space  the resulting surfaces are called sweep surfaces Frequently used in Geometric modeling  ex) entity : point path : curve Generates curve

37

38 Closed polygons and curves generates finite volume by sweeping transformation ex) square or rectangle swept along a - straight path yields a parallel piped - circle on straight path  cylinder - Rotation is also possible Sweep surfaces (2/3)

39 Two important consideration with polygon sweeping.  First, what point in the polygon continuously lies on the path? any point in a polygon can continuously lie on the path  Second, what is the direction of the normal to the polygon as the path is swept out? Two solution –1) normal is in the direction of instantaneous tangent to the path –2) normal direction is specified independent of path Sweep surfaces (3/3)