Академический Документы
Профессиональный Документы
Культура Документы
M4-1-Fundamentals of
Surface Modeling
BITS Pilani Dr. Srinivasa Prakash Regalla
Hyderabad Campus Department of Mechanical Engineering
Outline
General characteristics of
parametric surface patches
Non-parametric surfaces
P [ x y z ]T [ x y f ( x)]T
P Position vector of a point on the surface
The most natural form of f(x, y) for a surface
to pass through all the given data point is a polynomial
as shown below.
P(x,y,z)
p q
z f ( x, y ) amn x m y n
m 0 n 0
8
I/C, Regalla Srinivasa Prakash
Parametric representation of surface
P(u , v) [ x y z ]T v
vmax
[ x(u , v) y (u , v) z (u , v)]T ,
vmin
umin u umax , vmin v vmax umin umax
u
C1 = tangent continuity
10
I/C, Regalla Srinivasa Prakash
11
I/C, Regalla Srinivasa Prakash
Topologically rectangular surfaces patches: Tangent
vectors of surface patch
12
I/C, Regalla Srinivasa Prakash
Tangent Vectors
The tangent vector at any point P(u, v) on the surface is obtained
by holding one parameter constant and differentiating with respect
to the other.Therefore there are two tangent vectors for each point.
Along the v constant curve,
P x ˆ y ˆ z ˆ
Pu (u, v) i j k , umin u umax , vmin v vmax
u u u u
and along the u constant curve it will be,
P x ˆ y ˆ z ˆ
Pv (u , v) i j k , umin u umax , vmin v vmax
v v v v
P01
In matrix form,
v
x y z
Pu u u u
P
P x y z P00 P11
v
v v v P10
u
13
I/C, Regalla Srinivasa Prakash
• Based on the nature of the surface at any point (ui, vj),
the tangent vectors in “u” and “v” directions,
P P
, and
u Pij v Pij
at that point can be at any acute angle to
each other.
• When they are perpendicular to each
other, then their dot product is zero.
• The tangent vectors at the four corners P01
of the rectangular surface patch are
v
P P P P
P
u P00 u P01 u P10 u P11 P00 P11
P P P P
v
P10
P00 v P01 v P10 v P11
u
14
I/C, Regalla Srinivasa Prakash
MAGNITUDES OF TANGENT VECTORS AND UNIT TANGENT VECTORS
The magnitudes tangent vectors:
2
P x y z
2 2
Pu
u u u u
2
P x y z
2 2
Pv
v v v v
and the unit vectors,
Pu
nˆu
Pu
Pv
nˆv
Pv
15
I/C, Regalla Srinivasa Prakash
TWIST VECTORS
• The twist vector at a point is the measure of twist
in the surface at that point.
• The twist vector is rate of change of Pu with
respect “v” or Pv with respect to “u”, or in other
words, it is the cross or mixed derivative vector
at the point.
• Considering the increments in “u” and “v” by
“Δu” and “Δv”, the incremental changes in Pu
and Pv at the point P(u,v) are obtained by
translating Pu(u, v+ Δv) and Pv(u+ Δu, v) to P.
• The incremental rates of change are (ΔPu/Δv)
and (ΔPv/Δu) and infinitesimal rates of change,
or namely the twist vectors are obtained by
taking the limits to these quantities as the
increments in the parameters approach zero.
16
I/C, Regalla Srinivasa Prakash
Twist vectors
17
I/C, Regalla Srinivasa Prakash
Lim Pu Pu 2P
Puv
v 0 v v u v
Lim Pv Pv P
2
Puv
u 0 u u u v
T
x 2
y 2
z 2
Puv
u v
u v
u v
x ˆ
2
y ˆ
2
z ˆ
2
i j k
u v u v u v
umin u umax , vmin v vmax
Twist vector being zero at a given point does not necessarily imply that
the surface is not having twist at that point. This is because the twist
vector magnitude depends on the parametrization – for example, the flat
plane. Then what is the condition for zero twist? We will shortly see.
18
I/C, Regalla Srinivasa Prakash
NORMAL VECTORS
• The normal vector or P P
surface normal at a N (u, v) Pu Pv
u v
given point on a and the unit normal
surface is a vector
N Pu Pv
that is perpendicular nˆ
to both the tangent N Pu Pv
vectors at that point,
Pu and Pv.
19
I/C, Regalla Srinivasa Prakash
THE OUTWARD AND INWARD NORMALS
P P
N outward (u, v) Pu Pv Pv Pu N inward (u, v)
u v
20
I/C, Regalla Srinivasa Prakash
The normal vector is perhaps the
most important of all notions in the
analysis of surfaces, because of its
requirement in applications.
In machining applications
the sense of unit normal
is chosen to be positive
when pointing out of the
surface being machined
21
I/C, Regalla Srinivasa Prakash
In volume calculations and shading, the sense of unit normal is
considered positive when pointing toward the existing material and
negative when pointing to holes and open space.
Towards open
space
Towards
Material; use for
calculation of
volume
Shade on
this side
22
I/C, Regalla Srinivasa Prakash
The cusp of a cardioid
(surface formed by
spherical surface
patches)
self-intersecting disks
Ridges
23
I/C, Regalla Srinivasa Prakash
Different types of parametric
surface patches
Semi-analytic surface patches
Plane surface
Ruled surface
Surface of revolution
Tabulated cylinder (or surface)
25
I/C, Regalla Srinivasa Prakash