Objects in 3D – Parametric Surfaces Computer Graphics Seminar MUM, summer 2005.

Slides:



Advertisements
Similar presentations
COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
Advertisements

Concept of Modeling Model -- The representation of an object or a system Modeling -- The creation and manipulation of an object or a system representation.
Tangent Vectors and Normal Vectors. Definitions of Unit Tangent Vector.
Shared Graphics Skills Cameras and Clipping Planes
Overview June 9- B-Spline Curves June 16- NURBS Curves June 30- B-Spline Surfaces.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Chapter 12 – Vectors and the Geometry of Space
1 of 25 Assignment Orthographic Wireframe Elevation Orthographic Wireframe Plan Orthographic Wireframe End-Elevation Perspective View.
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 고려대학교 컴퓨터 그래픽스 연구실.
HCI 530 : Seminar (HCI) Damian Schofield.
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
Representing Geometry in Computer Graphics Rick Skarbez, Instructor COMP 575 September 18, 2007.
Implicit Surfaces Tom Ouyang January 29, Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.
ENDS 375 Foundations of Visualization Geometric Representation 10/5/04.
Vectors and the Geometry of Space 9. 2 Announcement Wednesday September 24, Test Chapter 9 (mostly )
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Polar Coordinates. Common Coordinate Systems There are two common coordinate systems: Cartesian Rectangular Coordinate SystemPolar Coordinate System.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
CS-321 Dr. Mark L. Hornick 1 3-D Object Modeling.
Virtual reality. Tasks 3D digital model from planes 3D digital model of existing objects Office work Field observations Solid modeling Photogrammetry.
1 Geometry. 2 Objectives Introduce the elements of geometry ­Scalars ­Vectors ­Points Develop mathematical operations among them in a coordinate-free.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
This Week Week Topic Week 1 Week 2 Week 3 Week 4 Week 5
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
Chapter 2 Section 2.4 Lines and Planes in Space. x y z.
Parametric Surfaces and their Area Part II. Parametric Surfaces – Tangent Plane The line u = u 0 is mapped to the gridline C 2 =r(u 0,v) Consider the.
Geometric Objects and Transformation
Game Programming 06 The Rendering Engine
3D Object Representations
Background Mathematics Aaron Bloomfield CS 445: Introduction to Graphics Fall 2006.
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
Geometric Modelling 2 INFO410 & INFO350 S Jack Pinches
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
3D Object Representations graphics scenes contain solid geometric objects trees, flowers, clouds, rocks, water representations surface ↔interior models.
Computing & Information Sciences Kansas State University Lecture 31 of 42CIS 636/736: (Introduction to) Computer Graphics Lecture 32 of 42 Wednesday, 11.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Parametric Surfaces and their Area Part I
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
Computer Graphics I, Fall 2010 Geometry.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
3D Object Representations. Introduction Line and circle and polygon algorithms- represented simple and smooth object. Some Natural object are neither.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Rendering Pipeline Fall, 2015.
Surfaces and Curves.
Planes in Space.
Engineering Geometry Engineering geometry is the basic geometric elements and forms used in engineering design. Engineering and technical graphics are.
3D Object Representations
3D Object Representation
CSC461: Lecture 12 Geometry Objectives
3D Rendering Pipeline Hidden Surface Removal 3D Primitives
Procedural Animation Lecture 3: Types of 3D models
Modeling.
By the end of Week 3: You would learn how to solve many problems involving lines/planes and manipulate with different coordinate systems. These are.
ATCM 6317 Procedural Animation
Introduction to Computer Graphics with WebGL
Introduction to Meshes
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Three-Dimensional Object Representation
Work Features Work features are tools that help create and position features by providing points, lines, and planes when current geometry is not sufficient.
Computer Aided Design; CAD
3D Object Representation
Work Features Work features are tools that help create and position features by providing points, lines, and planes when current geometry is not sufficient.
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Basic Assembly Constraints
Introduction to Meshes
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

Objects in 3D – Parametric Surfaces Computer Graphics Seminar MUM, summer 2005

Agenda How to represent a 3D object as a polygon mesh. Parametric surfaces in space

Motivation The world we see is 3D 3D graphics are more powerful than 2D graphics 3D graphics are necessaries for –Games –Movies –Virtual Reality –…

Representation In 2D, we needed two degrees of freedom (two numbers): –In polar coordinates: radius and angle –In the Cartesian plane: X and Y In 3D, we need three degrees of freedom (3 numbers): –In cylindrical coordinates: radius, angle, height. –In the Cartesian plane: X, Y and Z

Parametric equation of the line segment 2D: –x = x1 + t*(x2-x1) –y = y1 + t*(y2-y1) –t = [0..1]

Parametric equation of the line segment 3D: –x = x1 + t*(x2-x1) –y = y1 + t*(y2-y1) –z = z1 + t*(z2-z1) –t = [0..1]

In Summary: Vector equation: In 2D In 3D

Planes in 3D Plane equation: Ax + By + Cz = D(1) If we have 3 vertices V1, V2, V3: (V2 – V1) x (V3 – V2) yields normal vector N N has the following components: A, B, C In order to solve for D, you take A, B, C, and the coordinates of one point in the plane into equation (1)

Relationship between a point and a plane V1, V2, V3 have to be numbered counterclockwise (looking at the polygon from the outside). If Ax + By + Cz - D < 0 the point is inside If Ax + By + Cz - D > 0 the point is outside N V1 V2 V3

How to represent an object in 3D? As a polygon mesh Using parametric surfaces (Bézier Curves, NURBS,…) CSG (Constructive Solid Geometry)

Polygon Mesh The most widely used The object is wrapped in polygons In some cases textures are added

Objects as polygon meshes Most operations for this representation are currently done in the Graphics Card Once the mesh is created, the object can be rendered as: –“Wire-frame” –Solid –Texture mapped

Components of the mesh Points Segments of lines –Two different points form a line Polygons –Three non co-linear points determine a plane

Data Structure Initially, define a set of points (vertices) P1 P2 P3 P4 P5

Data Structure Define the edges that link the vertices –L1 = (P1, P2) –L2 = (P2, P3) –L3 = (P3, P1) –L4 = (P2, P4) –L5 = (P4, P5) –L6 = (P5, P3) –L7 = (P3, P2) P1 P2 P3 P4 P5

Data Structure Then define the polygons –Edges P1 = (L1, L2, L3) P2 = (L4, L5, L6, L7) –Vertices P1 = (P1, P2, P3) P2 = (P2, P4, P5, P3) P1 P3 P4 P5 P2

Parametric Surfaces Generalization of the Bezier curve In the curve (even in space), only one parameter (u) is required. For the surface, two parameters are needed: u and v (why?)

Parametric Surfaces How many control points are now necessary?