Creating Meshes Through Parameterized Functions

Slides:



Advertisements
Similar presentations
Surface Area and Surface Integrals
Advertisements

The gradient as a normal vector. Consider z=f(x,y) and let F(x,y,z) = f(x,y)-z Let P=(x 0,y 0,z 0 ) be a point on the surface of F(x,y,z) Let C be any.
What you see when you slice.
Review: Volumes of Revolution. x y A 45 o wedge is cut from a cylinder of radius 3 as shown. Find the volume of the wedge. You could slice this wedge.
Do Now: p.528, #27 Find the measures of the angles of the triangle whose vertices are A = (–1, 0), B = (2, 1), and C = (1, –2). Component forms: Magnitudes:
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
Intro to Conic Sections. It all depends on how you slice it! Start with a cone:
Lecture 19: Triple Integrals with Cyclindrical Coordinates and Spherical Coordinates, Double Integrals for Surface Area, Vector Fields, and Line Integrals.
Definitions html://egsc.usgs.gov/isb/pubs/MapProjections/projections.html Azimuth —The angle measured in degrees between a base line radiating from a center.
An Introduction to Conics
Section 17.5 Parameterized Surfaces
Cubes, Prisms, Pyramids, Cylinders, Cones and Spheres
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.
Review Day! Hyperbolas, Parabolas, and Conics. What conic is represented by this definition: The set of all points in a plane such that the difference.
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Section 15.6 Directional Derivatives and the Gradient Vector.
Parametric Surfaces and their Area Part I
Cone Def 1. Cone : A cone is a surface generated by a straight line which passing through a fixed point and satisfies one more condition. (for instance.
Spherical Geometry. Through a given point not on a line, there are no lines parallel to the given line. Lines are represented by curves on the great circles.
MA Day 58 – April 9, MA The material we will cover before test #4 is:
INTRO TO CONIC SECTIONS. IT ALL DEPENDS ON HOW YOU SLICE IT! Start with a cone:
Conic Sections Circles Objective: Find the standard form of a circle.
Conic Sections Practice. Find the equation of the conic section using the given information.
UNIT 8: VOLUME VOCABULARY 8 TH GRADE MATH MS. CARQUEVILLE.
11.0 Analytic Geometry & Circles
Chapter 4 Types of Surfaces
11 Vectors and the Geometry of Space
Solids of Revolution Shell Method
Solids of Revolution Shell Method
Copyright © Cengage Learning. All rights reserved.
Chapter 12 Math 181.
Gauss’s Law Gauss’s law uses symmetry to simplify electric field calculations. Gauss’s law also gives us insight into how electric charge distributes itself.
Calculus with Parametric Equations
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Mathematics.
6.2 Equations of Circles +9+4 Completing the square when a=1
Engineering Geometry Engineering geometry is the basic geometric elements and forms used in engineering design. Engineering and technical graphics are.
Conic Sections Anyway you slice it.
Surface Integral.
Co-ordinate Geometry for Edexcel C2
Physics Vectors Javid.
Weight Components on a Ramp
REVIEW PROBLEMS FOR TEST 1 PART 3
NORMAL AND TANGENTIAL COMPONENTS
6-2 Conic Sections: Circles
17.1 Equation of a Circle How can you write the equation of a circle if you know its radius and the coordinates of its center?
Formation of Images by Spherical Mirrors
Math 200 Week 6 - Monday Tangent Planes.
11 Vectors and the Geometry of Space
Digital Cross Sections Lab Create each figure sitting on its Base
Datums and Coordinate Systems
Section 17.1 Parameterized Curves
Copyright © Cengage Learning. All rights reserved.
Find the volume of the solid obtained by rotating about the x-axis the region under the curve {image} from x = 2 to x = 3. Select the correct answer. {image}
Tangents and normals Remember, the tangent to a curve at a point is a straight line that just touches the curve at that point. The normal to a curve at.
11 Vectors and the Geometry of Space
Creating Meshes Through Functions
Part- I {Conic Sections}
Creating Meshes Through Parameterized Functions
Conic Sections The Parabola.
MATH 1330 Final Exam Review 1.
Cross Sections.
What are Conic Sections?
Models of the Earth.
17.5 Surface Integrals of Vector Fields
Vector Components.
Meshes Generated by Functions
Computer Aided Geometric Design
Presentation transcript:

Creating Meshes Through Parameterized Functions Lecture 26 Mon, Oct 29, 2007

Surfaces Defined by Functions Let F(x, y, z) = 0 be an equation that implicitly defines a 2-dimensional surface in 3-dimensional space. For example, x2 + y2 + z2 – 1 = 0 defines a sphere. x2 + y2 – z2 = 0 defines a cone.

Parameterizing the Surface Often the surface can be parameterized in terms of two parameters s and t, based on some intrinsic properties of the surface. Let x, y, and z be given in terms of s and t, with a  s  b, c  t  d. x = x(s, t) y = y(s, t) z = z(s, t) Often [a, b] and [c, d] are [0, 1] or [0, 2].

Parameterizing the Surface Then P(s, t) = (x, y, z) is a point on the surface.

Example: A Sphere of Radius 1 Use spherical coordinates, where s is the angle around the vertical axis (longitude), t is the angle up from the equator (latitude). Then let x = cos t cos s, y = cos t sin s. z = sin t, with 0  s  2 and -/2  t  /2.

Example: A Sphere of Radius 1 Then P(s, t) = (cos t cos s, cos t sin s, sin t) is a point on the surface. Check: x2 + y2 + z2 – 1 = cos2 t cos2 s + cos2 t sin2 s + sin2 t – 1, = cos2 t + sin2 t – 1, = 0.

A Spherical Mesh Read Run

Example: A Cone of Radius 1 and Height 1 To define the surface of a cone, let x = t cos s y = t sin s z = t with 0  s  2 and 0  t  1. s represents an angle around the central axis. t represents the height and the radius of a horizontal cross-section

Example: A Cone of Radius 1 and Height 1 Then s represents an angle around the central axis. t represents the height and the radius of a horizontal cross-section Then P(s, t) = (t cos s, t sin s, t) is a point on the surface of the cone. Check: x2 + y2 – z2 = t2 cos2 s + t2 sin2 s – t2 = 0.

Contours An s-contour is the 1-dimensional curve we get if we hold t fixed and let s vary. A t-contour is the 1-dimensional curve we get if we hold s fixed and let t vary. Typically, we get a different s-contour for each value of t and a different t-contour for each value of s.

Example: Contours on a Cone Let t = ½. Then x = ½ cos s, y = ½ sin s, z = ½. The s-contour is the curve x2 + y2 = ¼ which is a circle of radius ½. This is a slice of the cone parallel to the base.

Example: Contours of a Cone

Example: Contours of a Cone Let s = /2. Then x = 0, y = t, z = t. The t-contour is the curve y = z which is a straight line. This is a slice of the cone perpendicular to the base.

Example: Contours of a Cone

A Conical Mesh Read Run

Finding Normal Vectors At a point P(s, t), The tangent to the s-contour is given by P/s. The tangent to the t-contour is given by P/t. Thus, the unit normal to the surface is n = (P/s)  (P/t), normalized.

Example: Finding Normals Find the normals to the surface of the cone defined by x2 + y2 = z2. Let P(s, t) = (t cos s, t sin s, t). P/s = (-t sin s, t cos s, 0). P/t = (cos s, sin s, 1). N = (t cos s, t sin s, -t). Normalize to n = (cos s, sin s, -1)/2.

The Direction of the Normals Caution: This proceed is as likely to produce vectors that point “inward” as it is to produce vectors that point “outward.” If the vectors point inward, then attach a negative sign to each component to reverse the direction.

The Toroidal Mesh Read Run

The Cylindrical Mesh Read Run

Several Meshes in a Scene Read Run

A Snowman Read Run

A Lamp and Lampshade

The Mesh Class mesh.h mesh.cpp