NUBS by Brian Wyvill What’s that?. University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 2 Uniform B-Splines Basis functions for B-Splines.

Slides:



Advertisements
Similar presentations
Splines IV – B-spline Curves
Advertisements

Lecture 10 Curves and Surfaces I
T h e G a s L a w s. T H E G A S L A W S z B o y l e ‘ s L a w z D a l t o n ‘ s L a w z C h a r l e s ‘ L a w z T h e C o m b i n e d G a s L a w z B.
Anupam Saxena Associate Professor Indian Institute of Technology KANPUR
Cubic Curves CSE167: Computer Graphics Instructor: Steve Rotenberg UCSD, Fall 2006.
Overview June 9- B-Spline Curves June 16- NURBS Curves June 30- B-Spline Surfaces.
CS 445/645 Fall 2001 Hermite and Bézier Splines. Specifying Curves Control Points –A set of points that influence the curve’s shape Knots –Control points.
© University of Wisconsin, CS559 Spring 2004
B-Spline Blending Functions
Basis Expansion and Regularization Presenter: Hongliang Fei Brian Quanz Brian Quanz Date: July 03, 2008.
1 Introduction Curve Modelling Jack van Wijk TU Eindhoven.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Lecture 29 of 42 Bezier Curves and Splines Wednesday, 02 April 2008
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 11: Curves Problems
CS CS 175 – Week 9 B-Splines Definition, Algorithms.
CHAPTER 10 Curves and Surfaces Vivian by Richard S. Wright Jr.
Rational Bezier Curves
1 Outline What is polar form? B-Spline –Labeling, why (0,1,2), (1,2,3)… ? –Knot Vector, why (-2,-1,0,1,2,…) ? Derivation of B-Spline points –Maybe(!?)
Offset of curves. Alina Shaikhet (CS, Technion)
1cs426-winter-2008 Notes  Ian Mitchell is running a MATLAB tutorial, Tuesday January 15, 5pm-7pm, DMP 110 We won’t be directly using MATLAB in this course,
Modeling of curves Needs a ways of representing curves: Reproducible - the representation should give the same curve every time; Computationally Quick;
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.
1 Dr. Scott Schaefer Catmull-Rom Splines: Combining B-splines and Interpolation.
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
Bspline Notes Jordan Smith UC Berkeley CS184. Outline Bézier Basis Polynomials –Linear –Quadratic –Cubic Uniform Bspline Basis Polynomials –Linear –Quadratic.
RASTER CONVERSION ALGORITHMS FOR CURVES: 2D SPLINES 2D Splines - Bézier curves - Spline curves.
1 Dr. Scott Schaefer Subdivision Curves. 2/96 What is subdivision? Set of rules S that take a curve as input and produce a more highly refined curve as.
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
1 Wavelets Examples 王隆仁. 2 Contents o Introduction o Haar Wavelets o General Order B-Spline Wavelets o Linear B-Spline Wavelets o Quadratic B-Spline Wavelets.
Curve Modeling B-Spline Curves
(Spline, Bezier, B-Spline)
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to Computer Graphics with WebGL
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 Vida Movahedi January 2007.
INTERPOLATION & APPROXIMATION. Curve algorithm General curve shape may be generated using method of –Interpolation (also known as curve fitting) Curve.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric Curves.
Spline curves with a shape parameter Reporter: Hongguang Zhou April. 2rd, 2008.
Splines IV – B-spline Curves based on: Michael Gleicher: Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Subdivision Curve (and its relations to wavelets) Jyun-Ming Chen Spring 2001.
Computer Graphics Representing Curves and Surfaces.
B-spline Wavelets Jyun-Ming Chen Spring Basic Ideas Here refers to cubic B-spline –most commonly used in CG Assume cardinal cubic B-spline for now.
Geometric Modelling 2 INFO410 & INFO350 S Jack Pinches
Keyframing and Splines Jehee Lee Seoul National University.
Notes Over 2.3 The Graph of a Function Finding the Domain and Range of a Function. 1.Use the graph of the function f to find the domain of f. 2.Find the.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
Continuous Representations of Time Gene Expression Data Ziv Bar-Joseph, Georg Gerber, David K. Gifford MIT Laboratory for Computer Science J. Comput. Biol.,10, ,
Parametric Curves CS 318 Interactive Computer Graphics John C. Hart.
(c) 2002 University of Wisconsin
Slide 129 October 1999CS Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes.
CSCI480/582 Lecture 10 Chap.2.3 Cubic Splines – B-Splines and NURBS Feb, 13, 2009.
1 CS 430/536 Computer Graphics I B-Splines and NURBS Week 5, Lecture 9 David Breen, William Regli and Maxim Peysakhov Geometric and Intelligent Computing.
Blossoms CS 419 Advanced Topics in Computer Graphics John C. Hart
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.
B(asis)-Splines Ashish Myles CISE, UF. Splines ● Piecewise polynomial ● More flexible than single polynomials – can have finite support – can be periodic.
COMPUTER GRAPHICS CHAPTERS CS 482 – Fall 2017 SPLINES
© University of Wisconsin, CS559 Spring 2004
Representation of Curves & Surfaces
(Spline, Bezier, B-Spline)
Chapter 10-2: Curves.
Spline Interpolation Class XVII.
Theorems about LINEAR MAPPINGS.
Lecture 21: B Spline Curve
Presentation transcript:

NUBS by Brian Wyvill What’s that?

University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 2 Uniform B-Splines Basis functions for B-Splines. B-splines approximate a series of m+1 Control points. (P 0, P 1.. P m ) M  3 M – 2 cubic curve segments (Q 3, Q 4.. Q m ) Parameter range for Q i is t i  t  t i+1 There is a knot between Q i and Q i+1 at t i t i =knot value. (m-1 knots) t 3 =0 to t 4 =1 to t 5 =2 etc. Q m defined by points. (P m-3, P m- 2, P m-1, P m ) over parameter range t m =m-3 to t m+1 =m-2 t3t3 t4t4 t5t5 t6t6 t7t7 t8t8 t9t9 t 10 Q3Q3 Q4Q4 Q5Q5 Q6Q6 Q7Q7 Q8Q8 Q9Q9 P3P3 P2P2 P1P1 P0P0 P9P9 P8P8 P7P7 P6P6 P5P5 P4P4 Y X

University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 3 Uniform B-Splines Geometry Vector for B-Splines. P i-3 P i-2 P i-1 P i G Bs =, 3  i  m T= [ (t - t i ) 3 (t - t i ) 2 (t - t i ) 1 1] Q i (t) = T i * M B * G Bs, t i  t  t i+1

University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 4 Non-Uniform B-Splines Effect of Multiple Knots

University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 5 NUBS Piecewise continuous curve approximating control points P 0 to P m Knot Value sequence is non-decreasing sequence of knot values t 0 through t m+4 ie there are 4 more knots than control points. t0t0 t1t1 t2t2 t3t3 t4t4 t5t5 t6t6 t7t7

University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 6 NUBS Q i (t) = P i-3 * B i-3,4 (t) + P i-2 * B i-2,4 (t) + P i-1 * B i-1,4 (t) + P i * B i-4 (t) 3  i  m t i  t < t i+1 B i,1 (t) = 1, t i  t < t i+1 otherwise zero. B i,2 (t) = (t – t i ) /(t i+1 – t i )B i,1 (t) + (t i+2 – t) /(t i+2 – t i+1 )B i+1,1 (t) B i,3 (t) = B i,4 (t) = B 0,1 (t) = B 1,1 (t) =B 2,1 (t) = 0 B 3,1 (t)=1 then 0 for i>3 B 0,2 (t) = something* B 0,1 (t) + something* B 1,1 (t) = 0 B 1,2 (t) = something* B 1,1 (t) + something* B 2,1 (t) = 0 B 2,2 (t) = something* B 2,1 (t) + (t 4 – t) /(t 4 – t 3 ) * B 3,1 (t) = (1-t)*1 This is 1 when t=0 and linearly decreasing until 0 at t=1

University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 7

University of Calgary GraphicsJungle Project ENEL 555 B-Splines page 8 The Haar Wavelet As