Results 1 to 2 of 2

Thread: Cardinal Splines

  1. #1
    Junior Member
    Join Date
    Sep 2010

    Cardinal Splines

    I want to know how to implement Cardinal Splines animation sampler.
    How to calculate the tangent Ti from OUT_TANGENT and IN_TANGENT?
    Are there sample dae files available?
    Cardinal Splines
    The cardinal spline is a cubic Hermite spline whose tangents are defined by the endpoints and a tension parameter. The tangents are calculated with the previous and the next point following the segment:
    Ti = 1?2 (1-c) (Pi+1 Pi-1)
    where c is the tension parameter, which is a constant that modifies the length of the tangent. This parameter is not specified separately in COLLADA 1.4 and is instead baked into the tangents that are provided by the OUT_TANGENT and IN_TANGENT inputs to the sampler.

  2. #2
    Senior Member
    Join Date
    Aug 2004

    Re: Cardinal Splines

    Read chapter 4 of the COLLADA 1.5 specification. I.e. page 4-6.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts