Creating Meshes Through Functions

Slides:



Advertisements
Similar presentations
The Geometry of a Tetrahedron
Advertisements

1 Planes, Polygons and Objects ©Anthony Steed
Chapter 9: Vector Differential Calculus Vector Functions of One Variable -- a vector, each component of which is a function of the same variable.
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.
Find the slope of the tangent line to the graph of f at the point ( - 1, 10 ). f ( x ) = 6 - 4x
Chapter 16 – Vector Calculus
Hw: All Chapter 4 problems and exercises Chapter 5: Pr. 1-4; Ex. 1,2 Reading: Chapter 4.
A PREVIEW OF CALCULUS SECTION 2.1. WHAT IS CALCULUS? The mathematics of change.  Velocities  Accelerations  Tangent lines  Slopes  Areas  Volumes.
Chapter 8 Multivariable Calculus
Review of Vector Analysis
Chapter 13 Section 13.1 Rectangular Space Coordinates.
LHE 11.2 Three-Dimensional Coordinate in Space Calculus III Berkley High School September 14, 2009.
Section 17.5 Parameterized Surfaces
Assigned work: pg. 468 #3-8,9c,10,11,13-15 Any vector perpendicular to a plane is a “normal ” to the plane. It can be found by the Cross product of any.
Mathematics. Session Three Dimensional Geometry–1(Straight Line)
Teorema Stokes. STOKES’ VS. GREEN’S THEOREM Stokes’ Theorem can be regarded as a higher-dimensional version of Green’s Theorem. – Green’s Theorem relates.
Chapter 2 Section 2.4 Lines and Planes in Space. x y z.
Algebraic Plane Solution Let’s solve the system of equations: 2x – 5y + 2z = 15 x + 3y - z = -4 2x - y - z = 2 First we make our assumption that they all.
Vector Space o Vector has a direction and a magnitude, not location o Vectors can be defined by their I, j, k components o Point (position vector) is a.
Sec 15.6 Directional Derivatives and the Gradient Vector
Section 15.6 Directional Derivatives and the Gradient Vector.
Further Applications of Green’s Theorem Ex. 2 Ex. 2) Area of a plane region -for ellipse: -in polar coordinates: Ex. 4 Ex. 4) Double integral of the Laplacian.
CSE 681 Brief Review: Vectors. CSE 681 Vectors Basics Normalizing a vector => unit vector Dot product Cross product Reflection vector Parametric form.
12.1 Three-Dimensional Coordinate System. A three-dimensional coordinate system consists of:  3 axes: x-axis, y-axis and z-axis  3 coordinate planes:
Calculus 3 The 3-D Coordinate System. The 3D coordinate plane.
MTH 251 – Differential Calculus Chapter 3 – Differentiation Section 3.7 Implicit Differentiation Copyright © 2010 by Ron Wallace, all rights reserved.
Graphing in 3-D Graphing in 3-D means that we need 3 coordinates to define a point (x,y,z) These are the coordinate planes, and they divide space into.
Chapter 2 Vector Calculus
University of North Carolina at Greensboro
Chapter 16A.
14.6 Directional Derivatives and the Gradient Vector
Chapter 2 Planes and Lines
Copyright © Cengage Learning. All rights reserved.
Vectors and the Geometry
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Section 3.7 Implicit Functions
LESSON 90 – DISTANCES IN 3 SPACE
Copyright © Cengage Learning. All rights reserved.
Mathematics.
VECTORS APPLICATIONS NHAA/IMK/UNIMAP.
Electricity and Magnetism
11 Vectors and the Geometry of Space
Copyright © Cengage Learning. All rights reserved.
Surface Integral.
Lines and Planes in Space
(MTH 250) Calculus Lecture 22.
Copyright © Cengage Learning. All rights reserved.
Math 200 Week 3 - Monday Planes.
Lecture 03: Linear Algebra
13 VECTOR CALCULUS.
Vector Functions and Space Curves
Math 200 Week 6 - Monday Tangent Planes.
Electricity and Magnetism
Vectors and the Geometry of Space
Vectors and the Geometry
Section 17.1 Parameterized Curves
Copyright © Cengage Learning. All rights reserved.
Lesson 83 Equations of Planes.
13 Functions of Several Variables
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.
Creating Meshes Through Parameterized Functions
Copyright © Cengage Learning. All rights reserved.
Mechanics of Materials Engr Lecture 15 Stress Transformation 2
Copyright © Cengage Learning. All rights reserved.
Creating Meshes Through Parameterized Functions
11 Vectors and the Geometry of Space
Vector Equations in Space
Meshes Generated by Functions
Directional Derivatives
Presentation transcript:

Creating Meshes Through Functions Lecture 22 Fri, Oct 28, 2005

Surfaces Defined Explicitly Let z = f(x, y) be a function of two variables. This function defines a surface over the xy-plane. For every point (x, y) in the plane, the function produces a z-coordinate, giving a point (x, y, z) in space.

Coordinate Systems For now we will use the traditional mathematical system. Later we can permute the variables. z y x y x z

Example: A plane Let z = 4 – x – y. z (0, 0, 4) (0, 4, 0) y (4, 0, 0) (4, 4, -4)

Example: A hemisphere z = (1 – x2 – y2). This equation produces the upper hemisphere of a sphere of radius 1.

Creating a Rectangular Mesh It is clear that we can create a rectangular mesh for a surface represented explicitly as z = f(x, y) over a rectangular region [a, b]  [c, d]. Simply subdivide the range [a, b] of values of x into a = x0, x1, …, xm = b. Similarly, subdivide the range [c, d] of values of y into c = y0, y1, …, yn = d.

Example: A Mesh z = 4 – x – y. m = n = 4. 4 x y z

Normals In order for the lighting effects to be computed properly, we must also create a unit normal vector at each grid point. This normal should be perpendicular to the tangent plane. To compute it, we take the cross product of two vectors lying in the tangent plane.

Tangent Planes Let u be the tangent vector parallel to the xz-plane. It is constant in the y-direction. Its “slope,” or rate of change, is f/x in the x-direction. Therefore, its components are (1, 0, f/x). Similarly, if v is the tangent vector parallel to the yz-plane. Then v = (0, 1, f/y).

The Normal Vector Thus, a normal vector N is given by N = u  v. Specifically, the normal N is N = (-f/x, -f/y, 1). Normalize this to the unit vector n = N/|N|.

Example: The Plane Let z = 4 – x – y. Then f/x = -1 and f/y = -1. Therefore, n = (1/3, 1/3, 1/3).

Example: A Hemisphere Let z = (1 – x2 – y2). Then Therefore, normalized.

Example: A Hemisphere However, the length of this vector is |N| = 1/(1 – x2 – y2). Therefore, the normalized vector is N = (x, y, (1 – x2 – y2)) = (x, y, z).