1 / 43

Blending Surfaces

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 mingle together while wet, and shade into each other insensibly. --Weale. 1913 Webster. Introduction.

luke
Download Presentation

Blending Surfaces

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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. A General Blending model • We have seen a Belnding method before ! (where ?) Lets presents a simple scheme for point blending:

  5. 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

  6. 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

  7. 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:

  8. 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

  9. 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 :

  10. Blending functions

  11. General Equation • Let S1 and S2 be two smooth surfaces then we can define:

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

  13. 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.

  14. 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.

  15. 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:

  16. Blending function

  17. Curve / Surface Blending Model • The new parametric surface we get is:

  18. 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.

  19. 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:

  20. 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:

  21. Curve / Surface Blending • Thus the blending surface is:

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

  23. Surface/Surface – Corner Blending

  24. Surface/Surface – Corner Blending • Blending is done in the parameter space. • Intersection curve can be approximated !

  25. Blending functions

  26. Constructing b1 definitions • Bernstein of degree 5 • f- mapping (rotation / translation)

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

  28. Blending function

  29. 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.

  30. pointwise interpolation • A general form of the vectors:

  31. pointwise interpolation • Using global functions M0 and M1 :

  32. Blend by pointwise interpolation • And the new surface is:

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

  34. Geometric correspondence • Hard problem • There is No good solution.

  35. Fanout surface technique • Using intrinsic properties of the curves !

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

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

  38. 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…

  39. Correspondence solution

  40. Correspondence solution • a=a(w) , p=p(w) , b=b(w) , q=q(w) • We have a parametric solution from degree 1 = curve !

  41. THE END

More Related