Geometric Modelling 2 INFO410 & INFO350 S Jack Pinches

Slides:



Advertisements
Similar presentations
Anupam Saxena Associate Professor Indian Institute of Technology KANPUR
Advertisements

Lecture Notes #11 Curves and Surfaces II
Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
© University of Wisconsin, CS559 Spring 2004
Lecture 10 Curves and Surfaces I
Anupam Saxena Associate Professor Indian Institute of Technology KANPUR
Cubic Curves CSE167: Computer Graphics Instructor: Steve Rotenberg UCSD, Fall 2006.
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
Overview June 9- B-Spline Curves June 16- NURBS Curves June 30- B-Spline Surfaces.
© University of Wisconsin, CS559 Spring 2004
Jehee Lee Seoul National University
B-Spline Blending Functions
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Slide 127 October 1999CS Computer Graphics (Top Changwatchai) Review of Spline Concepts Sections 10-6 to in Hearn & Baker Splines can be 2D.
Lecture 29 of 42 Bezier Curves and Splines Wednesday, 02 April 2008
Informationsteknologi Monday, December 10, 2007Computer Graphics - Class 161 Today’s class Curve fitting Evaluators Surfaces.
Rational Bezier Curves
Spline Interpretation ABC Introduction and outline Based mostly on Wikipedia.
09/04/02 Dinesh Manocha, COMP258 Bezier Curves Interpolating curve Polynomial or rational parametrization using Bernstein basis functions Use of control.
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
Modeling of curves Needs a ways of representing curves: Reproducible - the representation should give the same curve every time; Computationally Quick;
1 Lecture 13 Modeling Curved Lines and Surfaces. 2 Types of Surfaces Ruled Surfaces B-Splines and Bezier Curves Surfaces of Revolution.
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Cubic Bezier and B-Spline Curves
A story about Non Uniform Rational B-Splines E. Shcherbakov.
Curves Mortenson Chapter 2-5 and Angel Chapter 9
Bezier and Spline Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
ENDS 375 Foundations of Visualization Geometric Representation 9/30/04.
Modelling: Curves Week 11, Wed Mar 23
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
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.
B.Sc. Multimedia Computing3D Modelling and Animation Nurbs Modelling.
Modeling. Topology Topology describes an object’s shape, number of spans, and degree. For polygon objects this includes vertex positions.
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.
(Spline, Bezier, B-Spline)
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture 3. Description.
Introduction to Computer Graphics with WebGL
Geometric Modeling using Polygonal Meshes Lecture 1: Introduction Hamid Laga Office: South.
Review of Interpolation. A method of constructing a function that crosses through a discrete set of known data points.
Vector Computer Graphic. Vector entities Line Circle, Ellipse, arc,… Curves: Spline, Bezier’s curve, … … Areas Solids Models.
Splines IV – B-spline Curves based on: Michael Gleicher: Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
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.
Keyframing and Splines Jehee Lee Seoul National University.
Ship Computer Aided Design MR 422. Geometry of Curves 1.Introduction 2.Mathematical Curve Definitions 3.Analytic Properties of Curves 4.Fairness of Curves.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
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.
Computer Graphics (Fall 2003) COMS 4160, Lecture 10: Curves 1 Ravi Ramamoorthi
11/26/02(C) University of Wisconsin Last Time BSplines.
(c) 2002 University of Wisconsin
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 12: Curves 1
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.
Introduction to Parametric Curve and Surface Modeling.
© University of Wisconsin, CS559 Spring 2004
CS5500 Computer Graphics May 11, 2006
Representation of Curves & Surfaces
(Spline, Bezier, B-Spline)
Chapter 10-2: Curves.
CSE 167 [Win 17], Lecture 9: Curves 1 Ravi Ramamoorthi
© University of Wisconsin, CS559 Spring 2004
Three-Dimensional Object Representation
PPT3: B-spline Curves and Surfaces
Introduction to Parametric Curve and Surface Modeling
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

Geometric Modelling 2 INFO410 & INFO350 S2 2015 Jack Pinches INFORMATION SCIENCE

Previously in Geometric Modelling… Geometry Information Topological Information Geometric Model Techniques: Wireframe Modelling Surface Modelling Solid Modelling (CSG Example)

How to model curves and free-form surfaces? Primitives: Lines Triangles Primitives are mathematically exact, resolution independent, unaffected by changes in position/scale/orientation. Could use primitives for arbitrarily shaped objects, but at the cost of the above properties. http://hessan.annahid.com/game-development-days/day-6/

Outline Previous material Parametric Curves Bézier curves B – Splines NURBS Free-Form Surface Modelling

Computational fluid dynamics Physical simulation in applied mechanics Modelling Curves Manufacturing Car Aircraft Boats Medical Imaging Molecular Modelling Computational fluid dynamics Physical simulation in applied mechanics Oceanography Shape reconstruction Weather analysis Computer animation Architecture Art http://www.cis.upenn.edu/~jean/tabcont.pdf

Modelling Curves: Parametric Curves Bezier B – Spline NURBS Beta – Spline Cubic Splines Parametric Curves: parametric equations of a curve express the coordinates as functions of a variable – called a parameter. t often denotes the parameter.

Modelling Curves: Bézier Curves 1960s research: Paul de Casteljau and Pierre Bézier Curve defined by: P(𝑡)= 𝑖=0 𝑛 𝑃 𝑖 𝐵 𝑖, 𝑛 (𝑡) for 0 ≤ t ≤ 1 Where 𝐵 𝑛, 𝑖 are the Bernstein base functions, of degree n For each t in put into the equation, every Pi will contribute. e.g. have 25 points, move P1, the entire curve will be modified. Bernestein polynomial known since 1912 Renault and Citeron.

Modelling Curves: Bézier Curves Bézier curve is tangent to the first and last sections of the control polygon Curve order is equal to number of vertices of control polygon Curve is contained in the convex hull of control points https://en.wikipedia.org/wiki/B%C3%A9zier_curve#/media/File:Bezier_curve.svg

Modelling Curves: Bézier Curves Problem: Lack of local control P(𝑡)= 𝑖=0 𝑛 𝑃 𝑖 𝐵 𝑖, 𝑛 (𝑡) For each 𝑡, 𝑃 𝑖 will contribute. Example: 25 control points, move P2, entire curve is modified. For each t in put into the equation, every Pi will contribute. e.g. have 25 points, move P1, the entire curve will be modified. Poses a problem in CAD/animation Bernstein problem: high number of points can be computationally intensive.

Modelling Curves: Bézier Curves Piecewise Bézier Curve: Join small curves More local control Called “B-Splines” http://graphics.cs.ucdavis.edu/~joy/GeometricModelingLectures/Unit-2/Why/Why.mp4

Modelling Curves: B – Spline Basis Spline 1946: Curve fitting for experimental data 1963: Used in CAD systems by J. Ferguson (Boeing) 𝑃 𝑖 are points of the control polygon 𝑁 𝑖,𝑘 are the B-Spline base functions an order k, and a set of knots { 𝑡 0 , 𝑡 1 ,…, 𝑡 𝑛+𝑘 } 𝑃(𝑡)= 𝑖=0 𝑛 𝑃 𝑖 𝑁 𝑖,𝑘 (𝑡) Knots tell us the parameter values where the curves pieced together are joined.

Modelling Curves: B – Spline Multiple Bézier curves Low degree to reduce complexity Similar properties Increased local control Curve doesn’t have to go to end points https://en.wikipedia.org/wiki/B-spline#/media/File:B-spline_curve.svg

Modelling Curves: NURBS Non - Uniform Rational B-spline Commonly used in CAD, CAM, CAE 3D modelling and animation software Control points: directly connected, connected by a link https://en.wikipedia.org/wiki/File:Spline01.gif

Modelling Curves: NURBS Curve Definition NURBS Curve defined by four things: Degree Control points Knot vector Evaluation rule NURBS curves are generalization on Bsplines/Bezier curves.

Modelling Curves: NURBS Curve Definition Degree: Positive whole number, often 1-5 Linear, quadratic, cubic, quantic Order of curve: degree + 1 1 = linear 2 = circles (quadratic) 3-5 are most free form curves Order = degree+1

Modelling Curves: NURBS Curve Definition Control Points: At least degree + 1 number of points Change curve shape Points are weighted Shape formed: Control Polygon Connecting lines to make the points easier to see/their relationship to curve. Desirable property: control points make very localised changes, little/no effect on parts of the curve further away. https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline#/media/File:NURBstatic.svg

Modelling Curves: NURBS Curve Definition Knot Vector: The knot vector is a sequence of parameter values that determines where and how the control points affect the NURBS curve. This slide displays the answer I gave in the Q&A for the presentation.

Modelling Curves: NURBS Curve Definition Knots (Knot Vector): List of (degree+N-1) numbers, N is number of control points Several conditions Example: 3 degree NURBS curve with 11 control points 0,0,0,1,2,2,2,3,7,7,9,9,9 0,0,0,1,2,2,2,2,7,7,9,9,9 Vector has nothing to do with direction as usually meant by vector. Conditions: can’t repeat a number more times than the degree - Can keep the numbers the same, or get larger as go down list

Modelling Curves: NURBS Curve Definition Evaluation Rule: Mathematical formula, takes a number and assigns a point “You can think of the evaluation rule as a black box that eats a parameter and produces a point location. The degree, knots, and control points determine how the black box works.” https://www.rhino3d.com/nurbs

Modelling Curves: The development of curve modelling is progressive. The new methods were often designed to over come weaknesses present in other methods. B-Splines created to achieve more control of curve shape than Bézier is an example. (Slide 12)

Freeform Surface Modelling Modelling in CAD: Create curves, mesh surface Create surface, manipulate control points Model car bodies, boat hulls, aircraft Most CAD software uses NURBS https://en.wikipedia.org/wiki/Freeform_surface_modelling#/media/File:Freeform1.gif

Freeform Surface Modelling Continuity between surfaces Require continuous rate of change High quality, higher degree Context dependent Continuity: how smoothly they connect to one another. http://www.doschdesign.com/images2/Red-D3D-Cars2011-AutoCAD.jpg

Potential Exam Questions

Exam Questions How do Bézier curves and B-Splines differ? Including reasons why B-Splines was developed.

Resources General: http://www.mar.ist.utl.pt/mventura/Projecto-Navios-I/EN/SD-1.5.2-Geometric%20Modeling.pdf http://fagweb.hin.no/ala/geomod/ERBSbok_main.pdf NURBS: http://www.mactech.com/articles/develop/issue_25/schneider.html https://www.rhino3d.com/nurbs Bezier and B-Splines: http://graphics.cs.ucdavis.edu/~joy/GeometricModelingLectures/ Free-Form Surface Modelling: http://www.mif.vu.lt/cs2/courses/surfaces.pdf Title page image: https://commons.wikimedia.org/wiki/File:Bicubic_Patches.png