Presentation is loading. Please wait.

Presentation is loading. Please wait.

Blending Surfaces. Introduction Blending n. 1. The act of mingling. 1913 Webster 2. (Paint.) The method of laying on different tints so that they may.

Similar presentations


Presentation on theme: "Blending Surfaces. Introduction Blending n. 1. The act of mingling. 1913 Webster 2. (Paint.) The method of laying on different tints so that they may."— Presentation transcript:

1 Blending Surfaces

2 Introduction Blending n. 1. The act of mingling. 1913 Webster 2. (Paint.) The method of laying on different tints so that they may mingle together while wet, and shade into each other insensibly. --Weale. 1913 Webster

3 Introduction The process of mixing several base objects to form a new object. The process of providing smooth transition between intersecting surfaces or smooth connection between disjoint surfaces.

4

5 A General Blending model We have seen a Belnding method before ! (where ?) Lets presents a simple scheme for point blending:

6 A General Blending Model Bezier and Bspline representation is exactly of this form. Q. Why use Points as the Base objects? A. There is no reason

7 A General Blending Model Let Q be an arbitrary parametrically defined objects. The general parametric equation is we receive is: Q – base objects b – blending functions

8 Blending example Blending a set of curves for example: We use a continues function b which satisfy the following conditions: Then blending and, two parametric curves on the same domain is:

9 Blending example We can immediately see that: S is a surface. S(0,t) is a curve. (which one ?) S(1,t) is a curve. (which one ?) Q. Can we blend in this way surfaces ? A. Yes

10 Blending Function We will use the Bernstein functions to create a smooth blending function. Let be the i-th Bernstein basis function of degree n. lets define :

11 Blending functions

12 General Equation Let S1 and S2 be two smooth surfaces then we can define:

13 Rail curves S is a blending surface smoothly connecting S1 and S2 along the rail curves S1(0,t), S2(1,t)

14 The intersection problem Finding the intersection curve between two surfaces is a Hard problem. Algebraic solutions – complex, good for low dimensionality. Numerically solutions – not accurate, loose parameterization.

15 The intersection problem Solution: Numerically find points on the intersection curve. Construct a curve C that interpolate the points. Locally change the surfaces so they pass through C.

16 Curve/Surface Blending Model Let c(t) be a smooth curve on [c,d] S1(s,t) a smooth surface on [a,b]X[c,d] We define:

17 Blending function

18 Curve / Surface Blending Model The new parametric surface we get is:

19 Curve / Surface Blending We can easily see that the interpolated curve pass through the new Surface. To finish the algorithm we will use the model presented earlier on our problem.

20 Curve / Surface Blending C(t) is a curve defined on [a,b] S1(s,t) is a surface defined on [a,b]x[c,d] C1=S1(h(v)) a curve on S1 h(v) is a function from [0,1] to [a,b]X[c,d] For simplicity:

21 Curve / Surface Blending We need to create a blending erea. This is done by sweeping h(v) to the right. And the blending area is:

22 Curve / Surface Blending Thus the blending surface is:

23

24 3 surfaces – 2 curves Can we use a similar approach for more variables ? Yes we can …

25 Surface/Surface – Corner Blending

26 Blending is done in the parameter space. Intersection curve can be approximated !

27 Blending functions

28 Constructing b 1 definitions Bernstein of degree 5 f- mapping (rotation / translation)

29 Bernstein triangular C(s,t) = Bernstein triangular Edges are bizier curves. Fits our parameters (c1)

30 Blending function

31 Blend by pointwise interpolation Given two surfaces P(u,v), Q(s,t) Let A(w), B(w) two respective contact curves: A(w)=P(u(w),v(w)) B(w)=Q(s(w),t(w)) We pick two vectors in the tangent plane.

32 pointwise interpolation A general form of the vectors:

33 pointwise interpolation Using global functions M0 and M1 :

34 Blend by pointwise interpolation And the new surface is:

35 Choices of functions There are many choices for M and N. Tangent vectors T are more application driven. Example:

36 Geometric correspondence Hard problem There is No good solution.

37 Fanout surface technique Using intrinsic properties of the curves !

38 Fanout surface technique If P is a point on A. (the contact curve) And the curve becomes:

39 The fanout surface Using a and p as parameters gives us the fanout surface: And in a similar way:

40 Funout surfaces intersection The intersection of the fanout surfaces gives us the needed correspondence. 3 equations, 4 unknowns, one parameter Q. Where are the 3 equations? A. Next page …

41 Correspondence solution

42 a=a(w), p=p(w), b=b(w), q=q(w) We have a parametric solution from degree 1 = curve !

43 THE END


Download ppt "Blending Surfaces. Introduction Blending n. 1. The act of mingling. 1913 Webster 2. (Paint.) The method of laying on different tints so that they may."

Similar presentations


Ads by Google