Anim Intro

download Anim Intro

of 10

Transcript of Anim Intro

  • 8/4/2019 Anim Intro

    1/10

  • 8/4/2019 Anim Intro

    2/10

  • 8/4/2019 Anim Intro

    3/10

  • 8/4/2019 Anim Intro

    4/10

  • 8/4/2019 Anim Intro

    5/10

  • 8/4/2019 Anim Intro

    6/10

    The simplest form of interpolation is linear interpolation.

    The linearly interpolated value of a parameter specified by two points (t1, v1) and

    (t2, v2) at arbitrary time t in the range [t1, t2]

    is

    v = (t - t1)/(t2 - t1)*(v2 - v1) + v1

    The robot-anim.c example uses linear interpolation, and has the above calculation

    in it

    Linear interpolation has problems when used for animation in that motion described

    by segments of linear interpolation is "jerky" and unrealistic. The jerkiness occurs

    because the rate of change of the parameter being interpolated is discontinous.

    To overcome this, and to achieve greater control and more entertaining effects,

    other types of interpolation may be used.

    Typically this is by using quadratic or cubic curve segments, that is, splines

    ntroduction to Animation file:///mnt/home/gl/gl-gentoo/subjects/cosc%7B118...

    6 of 10 03/10/08 22:03

  • 8/4/2019 Anim Intro

    7/10

  • 8/4/2019 Anim Intro

    8/10

  • 8/4/2019 Anim Intro

    9/10

  • 8/4/2019 Anim Intro

    10/10