SlideShare a Scribd company logo
QUADRIC SURFACES
1
QUADRIC SURFACES
 A frequently used class of objects are the quadric surfaces,
which are described with second-degree equations
(quadratics). They include spheres, ellipsoids, tori,
paraboloids, and hyperboloids.
 Quadric surfaces, particularly spheres and ellipsoids, are
common elements of graphics scenes
2
Sphere
3
In Cartesian coordinates, a spherical surface with radius
r centered on the coordinate origin is defined as the set
of points (x, y, z) that satisfy the equation
4
We can also describe the spherical surface in
parametric form, using latitude and longitude
angles
5
• we could write the parametric equations using
standard spherical coordinates, where angle Ø
is specified as the
6
7
Ellipsoid
 An ellipsoidal surface can be described as an extension of a
spherical surface, where the radii in three mutually
perpendicular directions can have different values(Fig. 10-
10).
 The Cartesian representation for points over the surface of an
ellipsoid centered on the origin is
8
9
10
Torus
 A torus is a doughnut-shaped object, as shown in Fig.
10-11.
 It can be generated by rotating a circle or other conic
about a specified axis.
11
12
The Cartesian representation for points over the
surface of a torus can be written in the form
13
BLOBBY OBJECTS
• Some objects do not maintain a fixed shape, but change
their surface characteristics in certain motions or when in
proximity to other objects.
• Examples in this class of objects include molecular
structures, water droplets and other liquid effects, melting
objects, and muscle shapes in the human body.
• These objects can be described as exhibiting "blobbiness"
and are often simply referred to as blobby objects, since
their shapes show a certain degree of fluidity.
14
15
 Several models have been developed for representing
blobby objects as distribution
functions over a region of space. One way to do this is to
model objects as combinations of Gaussian density
functions, or "bumps".
A surface function is then defined as
16
17
18
19
SPLINE REPRESENTATIONS
 a spline is a flexible strip used to produce a smooth
curve through a designated set of points.
 Several small weights are distributed along the length
of the strip to hold it in position on the drafting table as the
curve is drawn.
 The term spline curve originally referred to a curve
drawn in this manner.
20
 In computer graphics, the term spline curve now refers to
any composite curve formed with polynomial sections
satisfying specified
continuity conditions at the boundary of the pieces.
 A spline surface can be described with two sets of
orthogonal spline curves.
 Splines are used in graphics applications to design curve
and surface shapes, to digitize drawings for computer
storage, and to specify animation paths for the objects or
the camera in a scene
21
Interpolation and Approximation Splines
 We specify a spline cuve by giving a set of coordinate
positions, called control points, which indicates the general
shape of the curve
 These control points are then fitted with piecewise
continuous parametric polynomial functions in one of two
ways.
22
 When polynomial sections are fitted so that the curve
passes through each control point, as in Figure the
resulting curve is said to interpolate the set of control
points.
23
 On the other hand, when the polynomials are fitted to the
general control-point path without necessarily passing
through any control point, the resulting curve is said to
approximate the set of control points
24
 A spline curve is defined, modified, and manipulated with
operations on the control points.
 In addition, the curve can be translated, rotated, or scaled
with transformations applied to the control points.
 The convex polygon boundary that encloses a set of control
points is called the convex hull.
25
Parametric Continuity Conditions
 To ensure a smooth transition from one section of a piecewise
parametric curve to the next, we can impose various continuity
conditions at the connection points.
 If each section of a spline is described with a set of parametric
coordinate functions of the form
26
 Zero-order parametric continuity, described as C1 continuity,
means simply that the curves meet.
 That is, the values of x, y, and z evaluated at u, for the first
curve section are equal, respectively, to the values of x, y, and
z evaluated at u, for the next curve section.
 First-order parametric continuity, C1 continuity, means that
the first parametric derivatives (tangent lines) of the
coordinate functions for two successive curve sections are
equal at their joining point.
27
 Second-order parametric continuity, or C2 continuity,
means that both the first and second parametric
derivatives of the two curve sections are the same at the
intersection.
 The rates of change of the tangent vectors for
connecting sections are equal at their intersection. Thus, the
tangent line transitions
smoothly from one section of the curve to the next
28
 But with first-order continuity, the rates of change of the
tangent vectors for the two sections can be quite different ,
so that the general shapes of the two adjacent sections can
change abruptly.
29
Geometric Continuity Conditions
 An alternate method for joining two successive curve sections
is to specify conditions for geometric continuity.
 In this case, we only require parametric derivatives of the two
sections to be proportional to each other at their common
boundary instead of equal to each other.
30
 Zero-order geometric continuity, described as G0 continuity
is the same as zero-order parametric continuity. That is, the
two curves sections must have the same coordinate
position at the boundary point.
 First-order geometric continuity or G1 continuity, means
that the parametric first derivatives are proportional at the
intersection of two successive sections.
31
 Second-order geometric continuity, or G2 continuity means
that both the first and second parametric derivatives of the
two curve sections are proportional at their boundary.
 Under G2 continuity, curvatures of two curve sections will
match at the joining position.
 A curve generated with geometric continuity conditions
is similar to one generated with parametric continuity, but
with slight differences in curve shape.
32
Spline Specifications
 There are three equivalent methods for specifying a
particular spline representation:
(1)We can state the set of boundary conditions that are
imposed on the spline; or
(2) we can state the matrix that characterizes the spline; or
(3)we can state the set of blending functions (or basis
functions) that determine how specified geometric
constraints on the curve are combined to calculate
positions along
the curve path.
33
 suppose we have the following parametric cubic
polynomial representation for the x coordinate along the
path of a spline section:
34
From the boundary conditions, we can obtain the
matrix that characterizes this spline curve by first
rewriting Eq. 10-21 as the matrix product.
35
36
CUBlC SPLINE INTERPOLATION
METHODS
 This class of splines is most often used to set up paths for
object motions or to provide a representation for an existing
object or drawing.
 cubic splines require less calculations and
memory and they are more stable. Compared to lower-
order polynomials, cubic splines are more flexible for
modeling arbitrary curve shapes.
37
38
 A cubic interpolation fit of these points can be illustrated
 We can describe the parametric cubic polynomial that is to
be fitted between each pair of control points with the
following set of equations:
39
Hermite Interpolation
 Hermite spline is an interpolating piecewise cubic
polynomial with a specified tangent at each control point.
 Unlike the natural cubic splines, Hermite splines can be
adjusted locally because each curve section is only
dependent on its endpoint constraints.
40
 If P(u) represents a parametric cubic point function for
the curve section between
control points pk and then the boundary conditions that
define this Hermite curve section are
41
42
43
44
45
Bezier Curves
 Bezier curve section can be fitted to any number of control
points.
 The number of control points to be approximated and their
relative position determine the degree of the Bezier
polynomial.
 Bezier curve can be specified with boundary conditions
46
 Suppose we are given n + 1 control-point positions: pk =
( xk, yk,zk), with k varying from 0 to n.
 These coordinate points can be blended to produce the
following position vector P(u), which describes the path of
an approximating Bezier polynomial function between p0
and pn.
47
48
49
 Bezier curve is a polynomial of degree one less than the
number of control points used: Three points generate a
parabola, four points a cubic
curve, and so forth.
50
Properties of Bezier Curves
 A very useful property of a Bezier curve is that it
always passes through the first and last control points.
That is, the boundary conditions at the two ends of the
curve are
51
52
 Another important property of any Bezier curve is that it lies
within the convex hull (convex polygon boundary) of the
control points.
 This follows from the properties of Bezier blending
functions: They are all positive and their sum is always 1 so
that any curve position is simply the weighted sum of the
control-point positions
53
 The convex-hull property for a Bezier curve ensures that
the polynomial / smoothly follows the control points without
erratic oscillations.
54
Cubic Bezier Curves
 Cubic Bezier curves are generated with four control
points. The four blending functions for cubic Bezier curves,
obtained by substituting
n = 3 into Eq. 10-41 are
55
 The form of the blending functions determine how the
control points influence the shape of the curve for values of
parameter u over the range from 0 to 1
 At the end positions of the cubic Bezier curve, the
parametric first derivatives (slopes) are
56
 We can use these expressions for the parametric
derivatives to construct piecewise
curves with C1 or C2 continuity between sections.
57
By expanding the polynomial expressions for the
blending functions, we can write the cubic Bezier point
function in the matrix form
58
Bezier Surfaces
 Two sets of orthogonal Bezier curves can be used to design
an object surface by specifying by an input mesh of control
points.
 The parametric vector function for the Bezier surface is
formed as the Cartesian product of Bezier blending
functions:
59
60
 Bezier surfaces have the same properties as Bezier curves,
and they provide a convenient method for interactive design
applications.
 For each surface patch, we can select a mesh of control
points in the xy "ground" plane, then we choose
elevations above the ground plane for the z-coordinate
values of the control points.
61
B-SPLINE CURVES
 B-splines have two advantages over Bezier splines:
(1) the degree of a B-spline polynomial can
be set independently of the number of control points (with
certain limitations)
(2) B-splines allow local control over the shape of a spline
curve or surface
62
 We can write a general expression for the calculation of
coordinate positions along a
B-spline curve in a blending-function formulation as
 where the pk are an input set of n + 1 control points.
There are several differences between this B-spline
formulation and that for Bezier splines. The range of
parameter u now depends on how we choose the
Bspline parameters.
63
 Bspline blending functions B k,d are polynomials of degree d -
1, where parameter d can be chosen to be any integer value
in the range from 2 up to the number of control points, n + 1.
 Local control for Bsplines is achieved by defining the blending
functions over subintervals of the total range of u.
 Blending functions for B-spline curves are defined by the Cox-
deBoor recursion formulas:
64
 where each blending function is defined over d subintervals
of the total range of u.
 The selected set of subinterval endpoints u, is referred
to as a knot vector.
 Values for umin and umax then depend on the number of
control points we select, the value we choose for
parameter d, and how we set up the subintervals (knot
vector)
65
B-spline curves have the following properties
 The polynomial curve has degree d - 1 and C d-2
continuity
over the range of u.
 For n + 1 control points, the curve is described with n + 1
blending functions.
 Each blending function B k,d is defined over d subintervals
of the total range of u, starting at knot value uk
 The range of parameter u is divided into n + d subintervals
by the n + d + 1 values specified in the knot vector.
66
 With knot values labelled as [u0 , u1 ,......, un+d ], the resulting
B-spline curve is defined only in the interval from knot value
ud-1 , up to knot value un+1.
 Each section of the spline curve (between two successive
knot values) is influenced by d control points.
 Any one control point can affect the shape of at most d curve
sections.
67
Thank you
68

More Related Content

What's hot

Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
Ankit Garg
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
Mohammed Mahmoud
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
smruti sarangi
 
Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
Kongunadu College of engineering and Technology, Namakkal
 
Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
RohitK71
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfacesMohd Arif
 
Bezier curve computer graphics
Bezier curve computer graphics Bezier curve computer graphics
Bezier curve computer graphics
University of Potsdam
 
Scan line method
Scan line methodScan line method
Scan line method
Pooja Dixit
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
Mani Kanth
 
Parallel projection
Parallel projectionParallel projection
Parallel projection
Prince Shahu
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphicanku2266
 
Unit 3
Unit 3Unit 3
Unit 3
ypnrao
 
COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"
Ankit Surti
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithm
Pooja Dixit
 
fractals
fractalsfractals
Illumination Models & Shading
Illumination Models & ShadingIllumination Models & Shading
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
shalinikarunakaran1
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
Punyajoy Saha
 
HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
Vishnu RC Vijayan
 

What's hot (20)

Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
 
Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
 
Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
 
Bezier curve computer graphics
Bezier curve computer graphics Bezier curve computer graphics
Bezier curve computer graphics
 
Scan line method
Scan line methodScan line method
Scan line method
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
 
Parallel projection
Parallel projectionParallel projection
Parallel projection
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
Unit 3
Unit 3Unit 3
Unit 3
 
COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithm
 
fractals
fractalsfractals
fractals
 
Illumination Models & Shading
Illumination Models & ShadingIllumination Models & Shading
Illumination Models & Shading
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
Curve clipping
Curve clippingCurve clipping
Curve clipping
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
 

Viewers also liked

Computer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methodsComputer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methods
Joseph Charles
 
Composite transformations
Composite transformationsComposite transformations
Composite transformationsMohd Arif
 
Polygons presentation
Polygons presentationPolygons presentation
Polygons presentationJessica
 
Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics
University of Potsdam
 
Animation techniques for CG students
Animation techniques for CG studentsAnimation techniques for CG students
Animation techniques for CG students
Mahith
 
Curves
CurvesCurves
Curves
Yatin Singh
 
Polygon Notes
Polygon NotesPolygon Notes
Polygon Notesacavis
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentationRamyaRavi26
 
Presentation on bezier curve
Presentation on bezier curvePresentation on bezier curve
Presentation on bezier curve
Satyendra Rajput
 
Lecture filling algorithms
Lecture  filling algorithmsLecture  filling algorithms
Lecture filling algorithmsavelraj
 
Anti aliasing Computer Graphics
Anti aliasing Computer GraphicsAnti aliasing Computer Graphics
Anti aliasing Computer Graphics
University of Potsdam
 
CS 354 Bezier Curves
CS 354 Bezier Curves CS 354 Bezier Curves
CS 354 Bezier Curves
Mark Kilgard
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
HiteshJain007
 
Computer animation
Computer animationComputer animation
Computer animation
shusrusha
 
Curiosities about sound and movie!
Curiosities about sound and movie!Curiosities about sound and movie!
Curiosities about sound and movie!
FRANCA SORMANI
 
Three Dimensional Space
Three Dimensional SpaceThree Dimensional Space
Three Dimensional Spacecjoyce104
 

Viewers also liked (20)

Computer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methodsComputer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methods
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
 
Polygons presentation
Polygons presentationPolygons presentation
Polygons presentation
 
Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics
 
Animation techniques for CG students
Animation techniques for CG studentsAnimation techniques for CG students
Animation techniques for CG students
 
Curves
CurvesCurves
Curves
 
Polygon Notes
Polygon NotesPolygon Notes
Polygon Notes
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
 
Object representations
Object representationsObject representations
Object representations
 
3 d viewing
3 d viewing3 d viewing
3 d viewing
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
Presentation on bezier curve
Presentation on bezier curvePresentation on bezier curve
Presentation on bezier curve
 
Lecture filling algorithms
Lecture  filling algorithmsLecture  filling algorithms
Lecture filling algorithms
 
Anti aliasing Computer Graphics
Anti aliasing Computer GraphicsAnti aliasing Computer Graphics
Anti aliasing Computer Graphics
 
CS 354 Bezier Curves
CS 354 Bezier Curves CS 354 Bezier Curves
CS 354 Bezier Curves
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
 
Computer animation
Computer animationComputer animation
Computer animation
 
Surfaces
SurfacesSurfaces
Surfaces
 
Curiosities about sound and movie!
Curiosities about sound and movie!Curiosities about sound and movie!
Curiosities about sound and movie!
 
Three Dimensional Space
Three Dimensional SpaceThree Dimensional Space
Three Dimensional Space
 

Similar to Quadric surfaces

UNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxUNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptx
dinesh babu
 
Hermit curves & beizer curves
Hermit curves & beizer curvesHermit curves & beizer curves
Hermit curves & beizer curves
KKARUNKARTHIK
 
Unit 2 curves & surfaces
Unit 2  curves & surfacesUnit 2  curves & surfaces
Unit 2 curves & surfaces
S.DHARANI KUMAR
 
Computer graphics unit 4th
Computer graphics unit 4thComputer graphics unit 4th
Computer graphics unit 4th
TEJVEER SINGH
 
Geometric Curves
Geometric Curves Geometric Curves
Geometric Curves
jntuhcej
 
Curve modeling-bezier-curves
Curve modeling-bezier-curvesCurve modeling-bezier-curves
Curve modeling-bezier-curves
Mahmudul Hasan
 
Module 3.pdf
Module 3.pdfModule 3.pdf
Module 3.pdf
Khalil Alhatab
 
Position analysis and dimensional synthesis
Position analysis and dimensional synthesisPosition analysis and dimensional synthesis
Position analysis and dimensional synthesis
Preetshah1212
 
Curves wire frame modelling
Curves wire frame modellingCurves wire frame modelling
Curves wire frame modelling
jntuhcej
 
Synthetic curve
Synthetic curveSynthetic curve
Synthetic curve
Dhruv Shah
 
Introduction to the curves
Introduction to the curvesIntroduction to the curves
Introduction to the curves
Arti Parab Academics
 
3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics
SanthiNivas
 
UNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGUNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLING
TAMILMECHKIT
 
CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)
Priscilla CPG
 
ME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modelingME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modeling
Javith Saleem
 
Manipulator kinematics
Manipulator kinematicsManipulator kinematics
Manipulator kinematicsSudhir Reddy
 
Surface representation
Surface representationSurface representation
Surface representation
Sunith Guraddi
 
Part 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptxPart 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptx
Khalil Alhatab
 
CAD
CADCAD

Similar to Quadric surfaces (20)

UNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxUNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptx
 
Hermit curves & beizer curves
Hermit curves & beizer curvesHermit curves & beizer curves
Hermit curves & beizer curves
 
curve one
curve onecurve one
curve one
 
Unit 2 curves & surfaces
Unit 2  curves & surfacesUnit 2  curves & surfaces
Unit 2 curves & surfaces
 
Computer graphics unit 4th
Computer graphics unit 4thComputer graphics unit 4th
Computer graphics unit 4th
 
Geometric Curves
Geometric Curves Geometric Curves
Geometric Curves
 
Curve modeling-bezier-curves
Curve modeling-bezier-curvesCurve modeling-bezier-curves
Curve modeling-bezier-curves
 
Module 3.pdf
Module 3.pdfModule 3.pdf
Module 3.pdf
 
Position analysis and dimensional synthesis
Position analysis and dimensional synthesisPosition analysis and dimensional synthesis
Position analysis and dimensional synthesis
 
Curves wire frame modelling
Curves wire frame modellingCurves wire frame modelling
Curves wire frame modelling
 
Synthetic curve
Synthetic curveSynthetic curve
Synthetic curve
 
Introduction to the curves
Introduction to the curvesIntroduction to the curves
Introduction to the curves
 
3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics3-D Transformation in Computer Graphics
3-D Transformation in Computer Graphics
 
UNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLINGUNIT 2- GEOMETRIC MODELLING
UNIT 2- GEOMETRIC MODELLING
 
CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)CAD - UNIT 2 (Geometric Modelling)
CAD - UNIT 2 (Geometric Modelling)
 
ME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modelingME6501 Unit 2 geometric modeling
ME6501 Unit 2 geometric modeling
 
Manipulator kinematics
Manipulator kinematicsManipulator kinematics
Manipulator kinematics
 
Surface representation
Surface representationSurface representation
Surface representation
 
Part 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptxPart 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptx
 
CAD
CADCAD
CAD
 

More from Ankur Kumar

Mobile Computing (Part-2)
Mobile Computing (Part-2)Mobile Computing (Part-2)
Mobile Computing (Part-2)
Ankur Kumar
 
Mobile Computing (Part-1)
Mobile Computing (Part-1)Mobile Computing (Part-1)
Mobile Computing (Part-1)
Ankur Kumar
 
Be Creative
Be CreativeBe Creative
Be Creative
Ankur Kumar
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
Ankur Kumar
 
Trade Mark
Trade MarkTrade Mark
Trade Mark
Ankur Kumar
 
E commerce
E commerceE commerce
E commerce
Ankur Kumar
 
Gsm network
Gsm networkGsm network
Gsm network
Ankur Kumar
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
Ankur Kumar
 
Fundamentals of Computers
Fundamentals of ComputersFundamentals of Computers
Fundamentals of Computers
Ankur Kumar
 
Computer , Internet and physical security.
Computer , Internet and physical security.Computer , Internet and physical security.
Computer , Internet and physical security.
Ankur Kumar
 
Mobile Phone and SIM card cloning
Mobile Phone and SIM card cloningMobile Phone and SIM card cloning
Mobile Phone and SIM card cloning
Ankur Kumar
 
Termes - Termite inspired robots that can build for us.
Termes - Termite inspired robots that can build for us.Termes - Termite inspired robots that can build for us.
Termes - Termite inspired robots that can build for us.
Ankur Kumar
 
Illumination model
Illumination modelIllumination model
Illumination model
Ankur Kumar
 
Hidden lines & surfaces
Hidden lines & surfacesHidden lines & surfaces
Hidden lines & surfaces
Ankur Kumar
 
Tracking positioning-of-mobiles
Tracking positioning-of-mobilesTracking positioning-of-mobiles
Tracking positioning-of-mobiles
Ankur Kumar
 
Tracking and positioning_of_mobile_systems_in_telecom_network
Tracking and positioning_of_mobile_systems_in_telecom_networkTracking and positioning_of_mobile_systems_in_telecom_network
Tracking and positioning_of_mobile_systems_in_telecom_network
Ankur Kumar
 

More from Ankur Kumar (16)

Mobile Computing (Part-2)
Mobile Computing (Part-2)Mobile Computing (Part-2)
Mobile Computing (Part-2)
 
Mobile Computing (Part-1)
Mobile Computing (Part-1)Mobile Computing (Part-1)
Mobile Computing (Part-1)
 
Be Creative
Be CreativeBe Creative
Be Creative
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
 
Trade Mark
Trade MarkTrade Mark
Trade Mark
 
E commerce
E commerceE commerce
E commerce
 
Gsm network
Gsm networkGsm network
Gsm network
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
Fundamentals of Computers
Fundamentals of ComputersFundamentals of Computers
Fundamentals of Computers
 
Computer , Internet and physical security.
Computer , Internet and physical security.Computer , Internet and physical security.
Computer , Internet and physical security.
 
Mobile Phone and SIM card cloning
Mobile Phone and SIM card cloningMobile Phone and SIM card cloning
Mobile Phone and SIM card cloning
 
Termes - Termite inspired robots that can build for us.
Termes - Termite inspired robots that can build for us.Termes - Termite inspired robots that can build for us.
Termes - Termite inspired robots that can build for us.
 
Illumination model
Illumination modelIllumination model
Illumination model
 
Hidden lines & surfaces
Hidden lines & surfacesHidden lines & surfaces
Hidden lines & surfaces
 
Tracking positioning-of-mobiles
Tracking positioning-of-mobilesTracking positioning-of-mobiles
Tracking positioning-of-mobiles
 
Tracking and positioning_of_mobile_systems_in_telecom_network
Tracking and positioning_of_mobile_systems_in_telecom_networkTracking and positioning_of_mobile_systems_in_telecom_network
Tracking and positioning_of_mobile_systems_in_telecom_network
 

Recently uploaded

WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 

Recently uploaded (20)

WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 

Quadric surfaces

  • 2. QUADRIC SURFACES  A frequently used class of objects are the quadric surfaces, which are described with second-degree equations (quadratics). They include spheres, ellipsoids, tori, paraboloids, and hyperboloids.  Quadric surfaces, particularly spheres and ellipsoids, are common elements of graphics scenes 2
  • 3. Sphere 3 In Cartesian coordinates, a spherical surface with radius r centered on the coordinate origin is defined as the set of points (x, y, z) that satisfy the equation
  • 4. 4
  • 5. We can also describe the spherical surface in parametric form, using latitude and longitude angles 5
  • 6. • we could write the parametric equations using standard spherical coordinates, where angle Ø is specified as the 6
  • 7. 7
  • 8. Ellipsoid  An ellipsoidal surface can be described as an extension of a spherical surface, where the radii in three mutually perpendicular directions can have different values(Fig. 10- 10).  The Cartesian representation for points over the surface of an ellipsoid centered on the origin is 8
  • 9. 9
  • 10. 10
  • 11. Torus  A torus is a doughnut-shaped object, as shown in Fig. 10-11.  It can be generated by rotating a circle or other conic about a specified axis. 11
  • 12. 12
  • 13. The Cartesian representation for points over the surface of a torus can be written in the form 13
  • 14. BLOBBY OBJECTS • Some objects do not maintain a fixed shape, but change their surface characteristics in certain motions or when in proximity to other objects. • Examples in this class of objects include molecular structures, water droplets and other liquid effects, melting objects, and muscle shapes in the human body. • These objects can be described as exhibiting "blobbiness" and are often simply referred to as blobby objects, since their shapes show a certain degree of fluidity. 14
  • 15. 15
  • 16.  Several models have been developed for representing blobby objects as distribution functions over a region of space. One way to do this is to model objects as combinations of Gaussian density functions, or "bumps". A surface function is then defined as 16
  • 17. 17
  • 18. 18
  • 19. 19
  • 20. SPLINE REPRESENTATIONS  a spline is a flexible strip used to produce a smooth curve through a designated set of points.  Several small weights are distributed along the length of the strip to hold it in position on the drafting table as the curve is drawn.  The term spline curve originally referred to a curve drawn in this manner. 20
  • 21.  In computer graphics, the term spline curve now refers to any composite curve formed with polynomial sections satisfying specified continuity conditions at the boundary of the pieces.  A spline surface can be described with two sets of orthogonal spline curves.  Splines are used in graphics applications to design curve and surface shapes, to digitize drawings for computer storage, and to specify animation paths for the objects or the camera in a scene 21
  • 22. Interpolation and Approximation Splines  We specify a spline cuve by giving a set of coordinate positions, called control points, which indicates the general shape of the curve  These control points are then fitted with piecewise continuous parametric polynomial functions in one of two ways. 22
  • 23.  When polynomial sections are fitted so that the curve passes through each control point, as in Figure the resulting curve is said to interpolate the set of control points. 23
  • 24.  On the other hand, when the polynomials are fitted to the general control-point path without necessarily passing through any control point, the resulting curve is said to approximate the set of control points 24
  • 25.  A spline curve is defined, modified, and manipulated with operations on the control points.  In addition, the curve can be translated, rotated, or scaled with transformations applied to the control points.  The convex polygon boundary that encloses a set of control points is called the convex hull. 25
  • 26. Parametric Continuity Conditions  To ensure a smooth transition from one section of a piecewise parametric curve to the next, we can impose various continuity conditions at the connection points.  If each section of a spline is described with a set of parametric coordinate functions of the form 26
  • 27.  Zero-order parametric continuity, described as C1 continuity, means simply that the curves meet.  That is, the values of x, y, and z evaluated at u, for the first curve section are equal, respectively, to the values of x, y, and z evaluated at u, for the next curve section.  First-order parametric continuity, C1 continuity, means that the first parametric derivatives (tangent lines) of the coordinate functions for two successive curve sections are equal at their joining point. 27
  • 28.  Second-order parametric continuity, or C2 continuity, means that both the first and second parametric derivatives of the two curve sections are the same at the intersection.  The rates of change of the tangent vectors for connecting sections are equal at their intersection. Thus, the tangent line transitions smoothly from one section of the curve to the next 28
  • 29.  But with first-order continuity, the rates of change of the tangent vectors for the two sections can be quite different , so that the general shapes of the two adjacent sections can change abruptly. 29
  • 30. Geometric Continuity Conditions  An alternate method for joining two successive curve sections is to specify conditions for geometric continuity.  In this case, we only require parametric derivatives of the two sections to be proportional to each other at their common boundary instead of equal to each other. 30
  • 31.  Zero-order geometric continuity, described as G0 continuity is the same as zero-order parametric continuity. That is, the two curves sections must have the same coordinate position at the boundary point.  First-order geometric continuity or G1 continuity, means that the parametric first derivatives are proportional at the intersection of two successive sections. 31
  • 32.  Second-order geometric continuity, or G2 continuity means that both the first and second parametric derivatives of the two curve sections are proportional at their boundary.  Under G2 continuity, curvatures of two curve sections will match at the joining position.  A curve generated with geometric continuity conditions is similar to one generated with parametric continuity, but with slight differences in curve shape. 32
  • 33. Spline Specifications  There are three equivalent methods for specifying a particular spline representation: (1)We can state the set of boundary conditions that are imposed on the spline; or (2) we can state the matrix that characterizes the spline; or (3)we can state the set of blending functions (or basis functions) that determine how specified geometric constraints on the curve are combined to calculate positions along the curve path. 33
  • 34.  suppose we have the following parametric cubic polynomial representation for the x coordinate along the path of a spline section: 34
  • 35. From the boundary conditions, we can obtain the matrix that characterizes this spline curve by first rewriting Eq. 10-21 as the matrix product. 35
  • 36. 36
  • 37. CUBlC SPLINE INTERPOLATION METHODS  This class of splines is most often used to set up paths for object motions or to provide a representation for an existing object or drawing.  cubic splines require less calculations and memory and they are more stable. Compared to lower- order polynomials, cubic splines are more flexible for modeling arbitrary curve shapes. 37
  • 38. 38
  • 39.  A cubic interpolation fit of these points can be illustrated  We can describe the parametric cubic polynomial that is to be fitted between each pair of control points with the following set of equations: 39
  • 40. Hermite Interpolation  Hermite spline is an interpolating piecewise cubic polynomial with a specified tangent at each control point.  Unlike the natural cubic splines, Hermite splines can be adjusted locally because each curve section is only dependent on its endpoint constraints. 40
  • 41.  If P(u) represents a parametric cubic point function for the curve section between control points pk and then the boundary conditions that define this Hermite curve section are 41
  • 42. 42
  • 43. 43
  • 44. 44
  • 45. 45
  • 46. Bezier Curves  Bezier curve section can be fitted to any number of control points.  The number of control points to be approximated and their relative position determine the degree of the Bezier polynomial.  Bezier curve can be specified with boundary conditions 46
  • 47.  Suppose we are given n + 1 control-point positions: pk = ( xk, yk,zk), with k varying from 0 to n.  These coordinate points can be blended to produce the following position vector P(u), which describes the path of an approximating Bezier polynomial function between p0 and pn. 47
  • 48. 48
  • 49. 49
  • 50.  Bezier curve is a polynomial of degree one less than the number of control points used: Three points generate a parabola, four points a cubic curve, and so forth. 50
  • 51. Properties of Bezier Curves  A very useful property of a Bezier curve is that it always passes through the first and last control points. That is, the boundary conditions at the two ends of the curve are 51
  • 52. 52
  • 53.  Another important property of any Bezier curve is that it lies within the convex hull (convex polygon boundary) of the control points.  This follows from the properties of Bezier blending functions: They are all positive and their sum is always 1 so that any curve position is simply the weighted sum of the control-point positions 53
  • 54.  The convex-hull property for a Bezier curve ensures that the polynomial / smoothly follows the control points without erratic oscillations. 54
  • 55. Cubic Bezier Curves  Cubic Bezier curves are generated with four control points. The four blending functions for cubic Bezier curves, obtained by substituting n = 3 into Eq. 10-41 are 55
  • 56.  The form of the blending functions determine how the control points influence the shape of the curve for values of parameter u over the range from 0 to 1  At the end positions of the cubic Bezier curve, the parametric first derivatives (slopes) are 56
  • 57.  We can use these expressions for the parametric derivatives to construct piecewise curves with C1 or C2 continuity between sections. 57
  • 58. By expanding the polynomial expressions for the blending functions, we can write the cubic Bezier point function in the matrix form 58
  • 59. Bezier Surfaces  Two sets of orthogonal Bezier curves can be used to design an object surface by specifying by an input mesh of control points.  The parametric vector function for the Bezier surface is formed as the Cartesian product of Bezier blending functions: 59
  • 60. 60
  • 61.  Bezier surfaces have the same properties as Bezier curves, and they provide a convenient method for interactive design applications.  For each surface patch, we can select a mesh of control points in the xy "ground" plane, then we choose elevations above the ground plane for the z-coordinate values of the control points. 61
  • 62. B-SPLINE CURVES  B-splines have two advantages over Bezier splines: (1) the degree of a B-spline polynomial can be set independently of the number of control points (with certain limitations) (2) B-splines allow local control over the shape of a spline curve or surface 62
  • 63.  We can write a general expression for the calculation of coordinate positions along a B-spline curve in a blending-function formulation as  where the pk are an input set of n + 1 control points. There are several differences between this B-spline formulation and that for Bezier splines. The range of parameter u now depends on how we choose the Bspline parameters. 63
  • 64.  Bspline blending functions B k,d are polynomials of degree d - 1, where parameter d can be chosen to be any integer value in the range from 2 up to the number of control points, n + 1.  Local control for Bsplines is achieved by defining the blending functions over subintervals of the total range of u.  Blending functions for B-spline curves are defined by the Cox- deBoor recursion formulas: 64
  • 65.  where each blending function is defined over d subintervals of the total range of u.  The selected set of subinterval endpoints u, is referred to as a knot vector.  Values for umin and umax then depend on the number of control points we select, the value we choose for parameter d, and how we set up the subintervals (knot vector) 65
  • 66. B-spline curves have the following properties  The polynomial curve has degree d - 1 and C d-2 continuity over the range of u.  For n + 1 control points, the curve is described with n + 1 blending functions.  Each blending function B k,d is defined over d subintervals of the total range of u, starting at knot value uk  The range of parameter u is divided into n + d subintervals by the n + d + 1 values specified in the knot vector. 66
  • 67.  With knot values labelled as [u0 , u1 ,......, un+d ], the resulting B-spline curve is defined only in the interval from knot value ud-1 , up to knot value un+1.  Each section of the spline curve (between two successive knot values) is influenced by d control points.  Any one control point can affect the shape of at most d curve sections. 67