[SOLVED] CS680 Problem Set 3-Curves & Surfaces

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon PS3-5qjrut.zip (7778.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

 

1. (20 points; 5 points extra credit)
We are given the implicit function for a two-sheeted hyperboloid,

𝑓(𝑥,𝑦,𝑧)=(𝑥−𝑐􏰄)􏰃 +􏰅𝑦−𝑐􏰆􏰇􏰃−𝑧􏰃+𝑟􏰃.

  1. a)  Give the 4 × 4 matrix 𝑸 for this cylindrical surface, such that 𝒑 𝑻𝑸𝒑 = 0 for any

    homogeneous point 𝑝 = (𝑥, 𝑦, 𝑧, 1) that is on the cylindrical surface.

  2. b)  Using the implicit function, derive a function that gives a unit normal vector at any point

    on the surface (𝑥, 𝑦, 𝑧).

  3. c)  Give an equivalent parametric equation for the sheet of the surface that is above the xy- plane(𝑧≥0),intermsofθandz.Assumethat−𝜋 ≤ 𝜃 ≤ 𝜋and𝑧􏰈􏰉􏰊 ≤𝑧≤𝑧􏰈􏰋􏰄. Give the parameters for 𝑧􏰈􏰉􏰊, 𝑧􏰈􏰋􏰄.
  4. d)  Using the parametric equation, derive the function that gives the unit normal vector at any point on the sheet with parameter (𝜃, 𝑧).
  5. e)  Extra Credit (5 points): Give a parametrization that utilizes hyperbolic trigonometric functions, and find the unit normal with this parametrization.
  1. (30 points)
    We are given a 3D swept surface. A line segment with end points 𝒑𝟎 = (2,0,0) and
    𝒑𝟏 = (0,0,6) is used as the sweep curve. The cross-section is an ellipse in the z = 0 plane, where𝑥 = 2+ 𝑟􏰄 𝑐𝑜𝑠(2𝜋𝑣),𝑦 = 𝑟􏰆 𝑠𝑖𝑛(2𝜋𝑣),0 ≤ 𝑣 ≤ 1.Thecenteroftheellipseis swept along the vector from 𝒑𝟎 to 𝒑𝟏 , such that it remains parallel to the x-y plane.

    1. a)  Derive the parametric equation in 𝑢 for the directed line segment 𝒑𝟎 𝒑𝟏.
    2. b)  Derive an equation for location of the point 𝑷(𝑢, 𝑣) on the swept surface.
    3. c)  Derive the equation for the swept surface normal 𝑵(𝑢, 𝑣).
  2. (20 points)
    We are given a 2D cubic Bezier curve segment, which has the following control points:

    𝒑𝟎 = (2, 3) 𝒑𝟏 = (3, 0)

Submission guidelines:
Please prepare your answers neatly written or typed, on separate 8.5”x11” sheets. Submit on Blackboard. If your answers are hand-written please either upload a scan or photos of your answer sheets.

𝒑𝟐 = (4, 4) 𝒑𝟑 = (5, 1)

  1. a)  Draw the convex hull for this 2D Bezier curve segment.
  2. b)  Compute the value of 𝑃’(0) for this 2D Bezier curve segment.
  3. c)  We are now given a second 2D Bezier curve segment, which has the control points:

    𝒑𝟎 = (0, -1) 𝒑𝟏 = (-2, 4) 𝒑𝟐 = (0, 9) 𝒑𝟑 = (2, 3)

    Does this segment join the previous segment with C1 continuity? Give a mathematical justification for your answer.

  4. d)  Which control point above (for the second curve in (c)) may we change to achieve C1 continuity? Write down the new position of the point that will achieve this.

4. (30 points)
We are given the following boundary conditions for a cubic spline section:

𝑷(0) = 𝒑􏰌 𝑷(1) = 𝒑􏰌􏰍􏰂

𝑷′(0) = 􏰂􏰃[(1 + 𝑏)(𝒑􏰌 − 𝒑􏰌􏰎􏰂) + (1 − 𝑏)(𝒑􏰌􏰍􏰂 − 𝒑􏰌)] 𝑷′(1) = 􏰂􏰃[(1 + 𝑏)(𝒑􏰌􏰍􏰂 − 𝒑􏰌) + (1 − 𝑏)(𝒑􏰌􏰍􏰃 − 𝒑􏰌􏰍􏰂)]

In the textbook, we see this is a Cardinal Spline (Kochanek-Bartels spline with t=0 and c=0). In this case 𝑀􏰏􏰐􏰑􏰈 = [𝑝􏰌􏰎􏰂 𝑝􏰌 𝑝􏰌􏰍􏰂 𝑝􏰌􏰍􏰃]􏰒 and the boundary conditions can be written:

⎡𝑷(0)⎤ ⎡ 0 1 0 0 ⎤ 𝒑􏰌􏰎􏰂 𝑷(1) 0 0 1 0 𝒑􏰌

⎢𝑷′(0)⎥ = ⎢􏰓􏰔􏰕(􏰂􏰍􏰖) 𝑏 􏰔􏰕(􏰂􏰎􏰖) 0 ⎥ 􏰗𝒑􏰌􏰍􏰂􏰘 ⎣𝑷′(1)⎦ ⎣ 0 􏰓􏰔􏰕(􏰂􏰍􏰖) 𝑏 􏰔􏰕(􏰂􏰎􏰖)⎦ 𝒑􏰌􏰍􏰃

  1. a)  Show how to compute the 4×4 coefficient matrix MC given the boundary conditions written above. You do not need to compute a matrix inverse to find MC (the relevant one is given in the textbook anyway). Just give the specific equations for MC.
  2. b)  Given MC write out the blending functions for this curve.
  3. c)  Do adjacent segments satisfy C1 continuity? Give a mathematical justification.
  4. d)  Does adjusting b change the tangent direction at the endpoints or only magnitude?
  • PS3-5qjrut.zip