Sunday, October 18, 2015

Interpolation of Agent's path by the Hermite curve and Catmull curve implementations in Steerlite

  • Group ID: CG-F15-23-Rutgers

  • Members (Net ID):
    • Zachary Daniels (zad7)
    • Nilay Chakraborty (nc541)
    • Tanvi Borkar (tab251)
    • Zooraze Tariq (zt32)

    • Description:
      We have used the current time stamps to calculate the time differences which are used in Hermite and Catmull equations. For Hermite curve:
      • We have taken the two point locations and tangent values as inputs from the test case, the path between which we want to interpolate.
      • We have put values of the point's x,y,z coordinates , tangent's x,y,z coordinates and current time value in the Hermite equation to find the next point in the curve.
      • We have made the Camera to move according to the same equation
      For Catmull curve:
      • We have taken the two point locations as inputs from the test case, the path between which we want to interpolate.
      • We have put values of the point's x,y,z coordinates and current time value in the Catmull equation to find the next tangent in the curve.
      • We have put values of the point's x,y,z coordinates , tangent's x,y,z coordinates and current time value in the Hermite equation to find the next point in the curve.
      • We have made the Camera to move according to the same equation
    • Github URL: GitHub
    • Youtube Videos :
      • Youtube Playlist
      • Curve 1 – Hermite
      • Curve 1 – Catmull-Rom
      • Curve 2 – Hermite
      • Curve 2 – Catmull-Rom
      • Curve 3 – Hermite
      • Curve 3 – Catmull-Rom
      • Curve 4 – Hermite
      • Curve 4 – Catmull-Rom
      • Custom Curve – Hermite
      • Custom Curve– Catmull-Rom

    No comments:

    Post a Comment