• Tidak ada hasil yang ditemukan

Surfaces

N/A
N/A
Protected

Academic year: 2024

Membagikan "Surfaces"

Copied!
16
0
0

Teks penuh

(1)

Surfaces

CAD Lab.

(2)

Surfaces

Parametric eq.

Implicit eq

Explicit eq

0 R

z y

x2 2 2 2

2 2

2 x y

R

z

) 2 / 2

/

, 2 (0

sin cos

sin cos

cos )

, (

v u

v R

v u

R v

u R

v

u i j k

P

(3)

Bezier surface

  

n

0 i

m 0 j

m j, n

i, j

i, B (u)B (v) 0 u 1, 0 1

v)

(u, P v

P

n

0 i

n i, m

m, m i, m

1, i,1 m

0,

i,0B (v) B (v) B (v))B (u)

(P P P

Bezier curve

(4)

Bezier surface – cont’

Surface obtained by blending (n+1) Bezier curves

(or by blending (m+1) Bezier curves)

Four corner points on control polyhedron lie on surface

(5)

Bezier surface equation

P(0,0) Pi , jB (0)Bi , n j, m(0)

j 0 m

i 0

n

 

n

0 i

n i,

P m

0 j

m j, j

i, B (0) B (0)

i,0

 

 

P

Pi,0 i,n P0,0 i 0

n

B (0)

(6)

Bezier surface – cont’

Boundary curves are Bezier curves defined by associated control points

Bezier curve defined by P0,0, P0,1, …, P0,m

 

 

 

 

 



m

0 j

m j, j 0,

m j, m

0 j

P n

0 i

n i, j i, n

0 i

m

0 j

m j, n

i, j i,

(v) B

(v) B

B

(v) (0)B

B v)

(0,

j 0 ,

0 u

P P P P

(7)

Bezier surface – cont’

When two Bezier surfaces are connected, control points before and after connection should form straight lines to guarantee G1 continuity

(8)

B-spline surface

Ni,k(u) is defined by s0, s1, …,sn+k

Nj,l(v) is defined by t0,t1,…,tl+m

If k=(n+1), l=m+1 and non-periodic knots are used, the resulting surface will become Bezier surface

  

n

0 i

m 0

j l 1 m 1

1 n 1

k l

j, k

i, j

i, t v t

s u s

(v) (v)N

N v)

(u, P

P

(9)

B-spline surface – cont’

Bezier surface is a special case of B-spline surface.

Boundary curves are B-spline curves defined by associated control points.

Four corner points of control polyhedron lie one the surface (when non-periodic knots are used)

(10)

NURBS surface

If hi,j = 1, B-spline surface is obtained

Represent quadric surface(cylindrical, conical, spherical, paraboloidal, hyperboloidal) exactly

1 m 1

1 n 1

k

0 0 0 0

t v

t

s u

s (v)

(u)

(v) (u)

v) (u,

 

 

 

 

 

j,l i,k

n i

m j

i,j n

i

m j

j,l i,k

i,j i,j

N N

h

N N

h P

P

(11)

NURBS surface – cont’

Represent a surface obtained by sweeping a curve

(12)

NURBS surface – cont’

Assume that v-direction of surface is a given Pj

v-direction knot & order is the same as the NURBS Curve’s (order: l, knot: tp)

u-direction order is 2

control point: 2

u direction knot: 0 0 1 1

P0,j = Pj

P1,j = Pj + d a

h0,j = h1,j = hj from the given curve

(13)

Ex) Translate half circle to make cylinder

(14)

Ex) Translate half circle to make cylinder

P0=(1, 0, 0) h0=1 P1=(1, 1, 0) h1=1/√2

P2=(0, 1, 0) h2=1 P3=(-1, 1, 0) h3= 1/√2

P4=(-1, 0, 0) h4=1

P0,0 = P0, P1,0 = P0+Hk h0,0 = h1,0=1

P0,1 = P1, P1,1 = P1+Hk h0,1 = h1,1= 1/√2

P0,2 = P2, P1,2 = P2+Hk h0,2 = h1,2=1

P0,3 = P3, P1,3 = P3+Hk h0,3 = h1,3= 1/√2

P0,4 = P4, P1,4 = P4+Hk h0,4 = h1,4=1

Knots for v: 0 0 0 1 1 2 2 2

(15)

Ex) Surface obtained by revolution

Curve

order l, knot tp (p=0,1,…,m+l)

control points Pj, hj (j=0,1,…,m)

Original control points needs to be split into 9.

(16)

Ex) Surface obtained by revolution – cont’

P0,j = Pj h0,j = hj

P1,j = P0,j +xj j = Pj + xj j h1,j = hj·1/√2

P2,j = P1,j - xj i = Pj - xj (i-j) h2,j = hj

P3,j = P2,j - xj i = Pj - xj (2 i-j) h3,j = hj·1/√2

P4,j = P3,j - xj j = Pj - 2xj i h4,j = hj

P5,j = P4,j - xj j = Pj - xj (2 i+j) h5,j = hj·1/√2

P6,j = P5,j + xj i = Pj - xj (i+j) h6,j = hj

P7,j = P6,j + xj i = Pj - xj j h7,j = hj·1/√2

P8,j = P0,j = Pj h8,j = hj

u-direction order: 3

Referensi

Dokumen terkait

LetΩbe a bounded simply connected region whose boundary consists of simple points, and suppose fi: Ω → ∆, i = 1,2, are two Riemann maps such that f1|∂Ω=f2|∂Ω.. From the hypothesis,

While the Fermat quartic surface contains only 48 lines, our new quartic surfaceX56contains 56 lines, and hence these two surfaces are not projectively isomorphic.. We present an

Main result I determined the connected components of the moduli of elliptic K3 surfaces of a fixed type for each of the realizable 3693 combinatorial types.. Recall thatRf is the set

CONNECTED COMPONENTS OF THE MODULI OF ELLIPTIC K3 SURFACES: COMPUTATIONAL DATA ICHIRO SHIMADA This note is an explanation of the computational data calculated in the paper [2] and